]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
remove ALREADYGONE flag on ooh323 call data by ooh323_indicate
authorAlexandr Anikin <may@telecom-service.ru>
Fri, 10 Aug 2012 16:40:48 +0000 (16:40 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Fri, 10 Aug 2012 16:40:48 +0000 (16:40 +0000)
(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

index e76e95276979117e5d5631d8528dbc90d14574d3..81839f397f2a1af806074db276844c40ffd4069d 100644 (file)
@@ -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: