Revision
15317
Author
brian
Date
2009-11-02 09:41:01 -0600 (Mon, 02 Nov 2009)

Log Message

 profiles that start with the word gateway are not special just profile exactly called gateway is 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (15316 => 15317)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-11-02 11:54:12 UTC (rev 15316)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-11-02 15:41:01 UTC (rev 15317)
@@ -2877,7 +2877,7 @@
 		dest_to = switch_core_session_strdup(nsession, hval);
 	}
 
-	if (!strncasecmp(profile_name, "gateway", 7)) {
+	if (!strncasecmp(profile_name, "gateway/", 8)) {
 		char *gw, *params;
 		sofia_gateway_t *gateway_ptr = NULL;