From eefc33dd34711ba26d3aa571ab7b7575d85b8614 Mon Sep 17 00:00:00 2001 From: Alexandr Anikin Date: Fri, 10 Aug 2012 16:40:48 +0000 Subject: [PATCH] remove ALREADYGONE flag on ooh323 call data by ooh323_indicate (CONGESTION/BUSY) due to call hasn't gone there really. This indication arrive from asterisk core not h.323 stack (closes issue ASTERISK-19308) Reported by: Dmitry Melekhov Patches: ASTERISK-19308.patch git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371089 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- addons/chan_ooh323.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index e76e952769..81839f397f 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -1245,13 +1245,11 @@ static int ooh323_indicate(struct ast_channel *ast, int condition, const void *d case AST_CONTROL_CONGESTION: if (!ast_test_flag(p, H323_ALREADYGONE)) { ooHangCall(callToken, OO_REASON_LOCAL_CONGESTED, AST_CAUSE_SWITCH_CONGESTION); - ast_set_flag(p, H323_ALREADYGONE); } break; case AST_CONTROL_BUSY: if (!ast_test_flag(p, H323_ALREADYGONE)) { ooHangCall(callToken, OO_REASON_LOCAL_BUSY, AST_CAUSE_USER_BUSY); - ast_set_flag(p, H323_ALREADYGONE); } break; case AST_CONTROL_HOLD: -- 2.47.3