And get rid of another ast_bridged_channel()
authorMark Michelson <mmichelson@digium.com>
Fri, 2 Aug 2013 17:50:40 +0000 (17:50 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 2 Aug 2013 17:50:40 +0000 (17:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396145 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sig_pri.c

index f494c82..3b3902f 100644 (file)
@@ -7292,7 +7292,7 @@ static void *pri_dchannel(void *vpri)
 #if defined(HAVE_PRI_AOC_EVENTS)
                                                if (!pri->pvts[chanpos]->holding_aoce
                                                        && pri->aoce_delayhangup
 #if defined(HAVE_PRI_AOC_EVENTS)
                                                if (!pri->pvts[chanpos]->holding_aoce
                                                        && pri->aoce_delayhangup
-                                                       && ast_bridged_channel(pri->pvts[chanpos]->owner)) {
+                                                       && ast_channel_is_bridged(pri->pvts[chanpos]->owner)) {
                                                        sig_pri_send_aoce_termination_request(pri, chanpos,
                                                                pri_get_timer(pri->pri, PRI_TIMER_T305) / 2);
                                                } else if (detect_aoc_e_subcmd(e->hangup.subcmds)) {
                                                        sig_pri_send_aoce_termination_request(pri, chanpos,
                                                                pri_get_timer(pri->pri, PRI_TIMER_T305) / 2);
                                                } else if (detect_aoc_e_subcmd(e->hangup.subcmds)) {