summaryrefslogtreecommitdiff
path: root/addons/chan_ooh323.c
diff options
context:
space:
mode:
authorAlexandr Anikin <may@telecom-service.ru>2014-03-28 18:00:18 +0000
committerAlexandr Anikin <may@telecom-service.ru>2014-03-28 18:00:18 +0000
commita35ce3924b2d0eea8aba2b9f9b1c3195f8ff604b (patch)
tree518ed153320f94d7072864361b203867d6d2c2cb /addons/chan_ooh323.c
parent597f25db69c71d342e8661983df47e457625b5e2 (diff)
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
Diffstat (limited to 'addons/chan_ooh323.c')
-rw-r--r--addons/chan_ooh323.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index bf465e20e..fd22cd497 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -2204,6 +2204,10 @@ int onCallCleared(ooCallData *call)
ast_module_unref(myself);
}
+ if (!p->rtp) {
+ ast_cond_signal(&p->rtpcond);
+ }
+
ast_set_flag(p, H323_NEEDDESTROY);
ooh323c_stop_call_thread(call);