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

Freeswitch SVN mikej at freeswitch.org
Mon Aug 11 14:28:01 EDT 2008


Author: mikej
Date: Mon Aug 11 14:28:01 2008
New Revision: 9243

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

Log:
mod_sofia Gateway Ping needs to look for return code 501 (SFSIP-78)

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Mon Aug 11 14:28:01 2008
@@ -1929,7 +1929,7 @@
 	}
 
 	if (gateway) {
-		if (status == 200 || status == 404) {
+		if (status == 200 || status == 404 || status == 501) {
 			if (gateway->state == REG_STATE_FAILED) {
 				gateway->state = REG_STATE_UNREGED;
 				gateway->retry = 0;



More information about the Freeswitch-svn mailing list