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

FreeSWITCH SVN mrene at freeswitch.org
Sun May 10 21:07:01 PDT 2009


Author: mrene
Date: Sun May 10 23:07:01 2009
New Revision: 13273

Log:
Revert 13269

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

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	Sun May 10 23:07:01 2009
@@ -2043,14 +2043,6 @@
 			sofia_glue_del_gateway(gateway_ptr);
 			sofia_reg_release_gateway(gateway_ptr);
 			stream->write_function(stream, "+OK gateway marked for deletion.\n");
-			
-			if (argc > 3 && !strcasecmp(argv[3], "rescan")) {
-				if (reconfig_sofia(profile) == SWITCH_STATUS_SUCCESS) {
-					stream->write_function(stream, "+OK scan complete\n");
-				} else {
-					stream->write_function(stream, "-ERR cannot find config for profile %s\n", profile->name);
-				}
-			}
 		} else {
 			stream->write_function(stream, "-ERR no such gateway.\n");
 		}



More information about the Freeswitch-svn mailing list