skypiax: when trying to specify the use of an already busy interface for originating an outbound call, return SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION instead of DESTINATION_OUT_OF_ORDER. Like in openzap. Would be better to return SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL ???

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16893 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2010-03-04 15:04:57 +00:00
parent 2d2b4fa619
commit 2a479a75f9
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
DEBUGA_SKYPE("1 SESSION_DESTROY %s\n", SKYPIAX_P_LOG, switch_core_session_get_uuid(*new_session));
switch_core_session_destroy(new_session);
switch_mutex_unlock(globals.mutex);
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
return SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION;
}
DEBUGA_SKYPE("globals.SKYPIAX_INTERFACES[%d].name=|||%s|||?\n", SKYPIAX_P_LOG, i, globals.SKYPIAX_INTERFACES[i].name);