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

FreeSWITCH SVN mikej at freeswitch.org
Mon Dec 1 15:10:15 PST 2008


Author: mikej
Date: Mon Dec  1 18:10:15 2008
New Revision: 10564

Log:
missing port

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

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	Mon Dec  1 18:10:15 2008
@@ -1165,8 +1165,8 @@
 																		   ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "", 
 																		   tech_pvt->profile->tls_sip_port);
 				} else {
-					tech_pvt->invite_contact = switch_core_session_sprintf(session, "sip:%s@%s%s%s", contact, 
-																		   ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "");
+					tech_pvt->invite_contact = switch_core_session_sprintf(session, "sip:%s@%s%s%s:%d", contact, 
+																		   ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "", tech_pvt->profile->sip_port);
 				}
 			} else {
 				if (sofia_glue_transport_has_tls(tech_pvt->transport)) {



More information about the Freeswitch-svn mailing list