mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 14:17:02 +00:00
process stack command even if gatekeeper client isn't register
don't destroy gatekeeper client if it is not started don't destroy gatekeeper client in some sort of gatekeeper errors signal rtp create condition when call cleared before rtp structure created (closes issue ASTERISK-23460) Reported by: Dmitry Melekhov Patches: ASTERISK-23460-2.patch Tested by: Dmitry Melekhov ........ Merged revisions 411531 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 411532 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -172,11 +172,6 @@ int ooReadAndProcessStackCommand()
|
||||
if(cmd.type == OO_CMD_NOOP)
|
||||
continue;
|
||||
|
||||
if(gH323ep.gkClient && gH323ep.gkClient->state != GkClientRegistered && cmd.type != OO_CMD_STOPMONITOR)
|
||||
{
|
||||
OOTRACEINFO1("Ignoring stack command as Gk Client is not registered"
|
||||
" yet\n");
|
||||
}
|
||||
else {
|
||||
switch(cmd.type) {
|
||||
case OO_CMD_MAKECALL:
|
||||
@@ -336,11 +331,6 @@ int ooReadAndProcessCallStackCommand(OOH323CallData* call)
|
||||
if(cmd.type == OO_CMD_NOOP)
|
||||
continue;
|
||||
|
||||
if(gH323ep.gkClient && gH323ep.gkClient->state != GkClientRegistered)
|
||||
{
|
||||
OOTRACEINFO1("Ignoring stack command as Gk Client is not registered"
|
||||
" yet\n");
|
||||
}
|
||||
else {
|
||||
switch(cmd.type) {
|
||||
case OO_CMD_MAKECALL:
|
||||
|
Reference in New Issue
Block a user