From: Giovanni Maruzzelli Date: Thu, 4 Mar 2010 15:04:57 +0000 (+0000) Subject: skypiax: when trying to specify the use of an already busy interface for originating... X-Git-Tag: v1.0.6~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a479a75f954eebe2df9001b92de7ce181a3b7d6;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/endpoints/mod_skypiax/mod_skypiax.c b/src/mod/endpoints/mod_skypiax/mod_skypiax.c index 5e64701171..afa055435a 100644 --- a/src/mod/endpoints/mod_skypiax/mod_skypiax.c +++ b/src/mod/endpoints/mod_skypiax/mod_skypiax.c @@ -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);