From: Anthony Minessale Date: Sun, 10 Aug 2008 01:41:46 +0000 (+0000) Subject: fix MODENDP-124 X-Git-Tag: v1.0.2~1501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4796964c5b92553a671d86245334d3e82af44566;p=thirdparty%2Ffreeswitch.git fix MODENDP-124 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9234 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 11db95e45d..5cf980c050 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -162,6 +162,7 @@ static switch_status_t sofia_on_execute(switch_core_session_t *session) static int hangup_cause_to_sip(switch_call_cause_t cause) { switch (cause) { + case SWITCH_CAUSE_UNALLOCATED_NUMBER: case SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET: case SWITCH_CAUSE_NO_ROUTE_DESTINATION: return 404; @@ -170,7 +171,6 @@ static int hangup_cause_to_sip(switch_call_cause_t cause) case SWITCH_CAUSE_NO_USER_RESPONSE: return 408; case SWITCH_CAUSE_NO_ANSWER: - return 480; case SWITCH_CAUSE_SUBSCRIBER_ABSENT: return 480; case SWITCH_CAUSE_CALL_REJECTED: