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

Freeswitch SVN brian at freeswitch.org
Tue Feb 20 22:37:18 EST 2007


Author: brian
Date: Tue Feb 20 22:37:17 2007
New Revision: 4340

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

Log:
change the override to header symbol from : to ^ (beware)

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	Tue Feb 20 22:37:17 2007
@@ -2256,7 +2256,7 @@
         goto done;
 	}
 
-	if ((dest_to = strchr(dest, ':'))) {
+	if ((dest_to = strchr(dest, '^'))) {
 		*dest_to++ = '\0';
 		tech_pvt->dest_to = switch_core_session_alloc(nsession, strlen(dest_to) + 5);
 		snprintf(tech_pvt->dest_to, strlen(dest_to) + 5, "sip:%s", dest_to);



More information about the Freeswitch-svn mailing list