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;