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

Freeswitch SVN anthm at freeswitch.org
Tue Mar 20 12:26:12 EDT 2007


Author: anthm
Date: Tue Mar 20 12:26:12 2007
New Revision: 4680

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

Log:
update

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 Mar 20 12:26:12 2007
@@ -5607,7 +5607,7 @@
 							gateway->register_realm = switch_core_strdup(gateway->pool, realm);
 							gateway->register_username = switch_core_strdup(gateway->pool, username);
 							gateway->register_password = switch_core_strdup(gateway->pool, password);
-							gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", extension, realm);
+							gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", username, realm);
 							gateway->register_contact = switch_core_sprintf(gateway->pool,
 																			"sip:%s@%s:%d", extension, profile->sipip, profile->sip_port);
 								



More information about the Freeswitch-svn mailing list