]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5171 try this version
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 26 Mar 2013 18:23:33 +0000 (13:23 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 26 Mar 2013 18:23:38 +0000 (13:23 -0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 34cc7c1c24f4bb09b970a1924c04f5e7838859bc..d57b434c45ba8417d0a6d53ff970685bbaa5451f 100644 (file)
@@ -3902,7 +3902,8 @@ void sofia_presence_handle_sip_i_subscribe(int status,
                                }
 
                                nua_notify(nh,
-                                                  SIPTAG_TO(sip->sip_to),
+                                                  SIPTAG_FROM(sip->sip_to),
+                                                  SIPTAG_TO(sip->sip_from),
                                                   SIPTAG_EXPIRES_STR(exp_delta_str),
                                                   SIPTAG_SUBSCRIPTION_STATE_STR(sstr),
                                                   SIPTAG_EVENT_STR("line-seize"), TAG_IF(full_call_info, SIPTAG_CALL_INFO_STR(full_call_info)), TAG_END());