From 4f65f1300c5eff8dda8cb2b8626951bc19d1cd41 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 16 May 2008 15:05:54 +0000 Subject: [PATCH] fix MODENDP-108 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8435 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 7b2852d127..1eb87f1708 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2742,7 +2742,7 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_ 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); }