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

Freeswitch SVN mikej at freeswitch.org
Wed Oct 17 23:51:49 EDT 2007


Author: mikej
Date: Wed Oct 17 23:51:49 2007
New Revision: 5960

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

Log:
put gateway contact params inside the <>

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	Wed Oct 17 23:51:49 2007
@@ -656,7 +656,7 @@
 
 			gateway->register_url = switch_core_sprintf(gateway->pool, "sip:%s", register_proxy);
 			gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", username, from_domain);
-			gateway->register_contact = switch_core_sprintf(gateway->pool, "sip:%s@%s:%d%s", extension,
+			gateway->register_contact = switch_core_sprintf(gateway->pool, "<sip:%s@%s:%d%s>", extension,
 															profile->extsipip ? profile->extsipip : profile->sipip, profile->sip_port, params);
 
 



More information about the Freeswitch-svn mailing list