]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODENDP-197
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Mar 2009 16:06:31 +0000 (16:06 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Mar 2009 16:06:31 +0000 (16:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12583 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 101a0dd4810ebca4162b176f0b9bd968e3d75575..3e4b380d9b5a6c4fdab94aaf77548cc252d9b7f9 100644 (file)
@@ -1477,7 +1477,6 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
        nua_invite(tech_pvt->nh,
                           NUTAG_AUTOANSWER(0),
                           NUTAG_SESSION_TIMER(session_timeout),
-                          TAG_IF(!switch_strlen_zero(sendto), NTATAG_DEFAULT_PROXY(sendto)),
                           TAG_IF(!switch_strlen_zero(tech_pvt->rpid), SIPTAG_REMOTE_PARTY_ID_STR(tech_pvt->rpid)),
                           TAG_IF(!switch_strlen_zero(tech_pvt->preferred_id), SIPTAG_P_PREFERRED_IDENTITY_STR(tech_pvt->preferred_id)),
                           TAG_IF(!switch_strlen_zero(tech_pvt->asserted_id), SIPTAG_P_ASSERTED_IDENTITY_STR(tech_pvt->asserted_id)),
@@ -1487,7 +1486,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
                           TAG_IF(!switch_strlen_zero(max_forwards), SIPTAG_MAX_FORWARDS_STR(max_forwards)),
                           TAG_IF(route_uri, NUTAG_PROXY(route_uri)),
                           TAG_IF(route, SIPTAG_ROUTE_STR(route)),
-                          TAG_IF(!switch_strlen_zero(sendto), NTATAG_DEFAULT_PROXY(sendto)),
+                          TAG_IF(!switch_strlen_zero(sendto), NUTAG_PROXY(sendto)),
                           SOATAG_ADDRESS(tech_pvt->adv_sdp_audio_ip),
                           SOATAG_USER_SDP_STR(tech_pvt->local_sdp_str),
                           SOATAG_REUSE_REJECTED(1),