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

Freeswitch SVN brian at freeswitch.org
Sat Oct 11 15:09:27 EDT 2008


Author: brian
Date: Sat Oct 11 15:09:26 2008
New Revision: 9962

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

Log:
remove code that doesn't do anything

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	Sat Oct 11 15:09:26 2008
@@ -1876,10 +1876,7 @@
 			if (profile) {
 				switch_xml_t aliases_tag, alias_tag;
 
-				if ((gateways_tag = switch_xml_child(xprofile, "registrations"))) {
-					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT,
-									  "The <registrations> syntax has been discontinued, please see the new syntax in the default configuration examples\n");
-				} else if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
+				if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
 					parse_gateways(profile, gateways_tag);
 				}
 



More information about the Freeswitch-svn mailing list