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

Freeswitch SVN anthm at freeswitch.org
Fri May 16 11:05:55 EDT 2008


Author: anthm
Date: Fri May 16 11:05:54 2008
New Revision: 8435

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

Log:
fix MODENDP-108

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	Fri May 16 11:05:54 2008
@@ -2742,7 +2742,7 @@
 															 tech_pvt->remote_ip,
 															 tech_pvt->remote_port);
 		switch_channel_set_variable(channel, "sip_received_ip", tech_pvt->remote_ip);
-		snprintf(tmp, sizeof(tmp), "tech_pvt->remote_port");
+		snprintf(tmp, sizeof(tmp), "%d", tech_pvt->remote_port);
 		switch_channel_set_variable(channel, "sip_received_port", tmp);
 	}
 



More information about the Freeswitch-svn mailing list