mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
more pres transport handling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10546 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d9795960ac
commit
e6e32725f3
2 files changed
+4
-5
No files matched your search
@@ -1540,7 +1540,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
||||
|
||||
if (status < 200) {
|
||||
char *sticky = NULL;
|
||||
char *contact_str = profile->url;
|
||||
char *contactstr = profile->url;
|
||||
|
||||
if (is_nat) {
|
||||
char params[128] = "";
|
||||
@@ -1558,9 +1558,9 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
||||
}
|
||||
|
||||
if (switch_stristr("port=tcp", contact->m_url->url_params)) {
|
||||
contact_str = profile->tcp_contact;
|
||||
contactstr = profile->tcp_contact;
|
||||
} else if (switch_stristr("port=tls", contact->m_url->url_params)) {
|
||||
contact_str = profile->tls_contact;
|
||||
contactstr = profile->tls_contact;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user