change gk client behaivour on rrq/grq failures to setup timers

and next tries after timeout instead of complete failure in the ooh323
stack


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2011-08-04 19:37:16 +00:00
parent d0619b1217
commit 65a7f1b205
2 changed files with 69 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ int ooReadAndProcessStackCommand()
if(cmd.type == OO_CMD_NOOP)
continue;
if(gH323ep.gkClient && gH323ep.gkClient->state != GkClientRegistered)
if(gH323ep.gkClient && gH323ep.gkClient->state != GkClientRegistered && cmd.type != OO_CMD_STOPMONITOR)
{
OOTRACEINFO1("Ignoring stack command as Gk Client is not registered"
" yet\n");