]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3628 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 22 Oct 2011 02:38:11 +0000 (21:38 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 22 Oct 2011 02:38:11 +0000 (21:38 -0500)
src/mod/endpoints/mod_sofia/mod_sofia.c
src/mod/endpoints/mod_sofia/sofia_presence.c

index ab7b1267963ccc20cfdbcf2ffa8a80cf11f649ec..3d542bb0b8b5a409eee37f407a3faf623ea2b942 100644 (file)
@@ -2572,7 +2572,7 @@ static switch_status_t sofia_receive_event(switch_core_session_t *session, switc
                switch_mutex_lock(tech_pvt->sofia_mutex);
                msg_nh = nua_handle(tech_pvt->profile->nua, NULL,
                                                        SIPTAG_FROM_STR(tech_pvt->chat_from),
-                                                       NUTAG_URL(tech_pvt->chat_to), SIPTAG_TO_STR(tech_pvt->chat_to), SIPTAG_CONTACT_STR(tech_pvt->profile->url), TAG_END());
+                                                       NUTAG_URL(tech_pvt->chat_to), SIPTAG_TO_STR(tech_pvt->chat_to), TAG_END());
                nua_handle_bind(msg_nh, &mod_sofia_globals.destroy_private);
                nua_message(msg_nh, SIPTAG_CONTENT_TYPE_STR("text/html"), SIPTAG_PAYLOAD_STR(body), TAG_END());
                switch_mutex_unlock(tech_pvt->sofia_mutex);
index 55dced1b6acde3870e1ec6694f217598fcd4feed..4528d0036ae7f395f275e6a8ce2fb76863542c9f 100644 (file)
@@ -313,7 +313,6 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
                                        SIPTAG_FROM_STR(from),
                                        TAG_IF(contact, NUTAG_URL(contact)),
                                        SIPTAG_TO_STR(dup_dest),
-                                       SIPTAG_CONTACT_STR(contact_str),
 
                                        TAG_IF(user_via, SIPTAG_VIA_STR(user_via)),
                                        SIPTAG_CONTENT_TYPE_STR(ct),