[Freeswitch-svn] [commit] r9234 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Sat Aug 9 21:41:47 EDT 2008


Author: anthm
Date: Sat Aug  9 21:41:46 2008
New Revision: 9234

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
fix MODENDP-124

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Sat Aug  9 21:41:46 2008
@@ -162,6 +162,7 @@
 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 @@
 	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:



More information about the Freeswitch-svn mailing list