mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-13 13:40:44 +00:00
Switch hangup cause to NORMAL_CIRCUIT_CONGESTION when no channels are available so it transates into 'no circuit/channel available [Q.850]'
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@669 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
5d51fdbf5a
commit
9fd7b44c8e
@ -999,7 +999,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
|
|
||||||
if (status != ZAP_SUCCESS) {
|
if (status != ZAP_SUCCESS) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No channels available\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No channels available\n");
|
||||||
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
|
return SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION;
|
||||||
}
|
}
|
||||||
|
|
||||||
zap_channel_clear_vars(zchan);
|
zap_channel_clear_vars(zchan);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user