]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix MODENDP-108
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 16 May 2008 15:05:54 +0000 (15:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 16 May 2008 15:05:54 +0000 (15:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8435 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 7b2852d1278db9a4f28130b0cf397aa3bb7a1eb7..1eb87f1708e961edb9323aa6ac398d9c929fcc71 100644 (file)
@@ -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);
        }