From cb17c452809ded5f73dc14bd478ae2c9d7658cde Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 9 Feb 2007 20:36:01 +0000 Subject: [PATCH] fix causes some more git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4182 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 82096cfe0a..e90000b5d7 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -3553,7 +3553,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses if (switch_channel_get_state(caller_channel) < CS_HANGUP && switch_true(switch_channel_get_variable(caller_channel, SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE))) { - switch_channel_hangup(caller_channel, SWITCH_CAUSE_NORMAL_CLEARING); + switch_channel_hangup(caller_channel, switch_channel_get_cause(peer_channel)); } return status;