mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
use brackets to put params in the right place in contact strs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16208 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e26f141bf8
commit
a67645a4bc
@ -3148,10 +3148,10 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
profile->bindurl = profile->url;
|
||||
}
|
||||
|
||||
profile->tcp_contact = switch_core_sprintf(profile->pool, "%s;transport=tcp", profile->url);
|
||||
profile->tcp_contact = switch_core_sprintf(profile->pool, "<%s;transport=tcp>", profile->url);
|
||||
|
||||
if (profile->public_url) {
|
||||
profile->tcp_public_contact = switch_core_sprintf(profile->pool, "%s;transport=tcp", profile->public_url);
|
||||
profile->tcp_public_contact = switch_core_sprintf(profile->pool, "<%s;transport=tcp>", profile->public_url);
|
||||
}
|
||||
|
||||
if (profile->bind_params) {
|
||||
@ -3224,9 +3224,9 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
if (!profile->tls_cert_dir) {
|
||||
profile->tls_cert_dir = switch_core_sprintf(profile->pool, "%s/ssl", SWITCH_GLOBAL_dirs.conf_dir);
|
||||
}
|
||||
profile->tls_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->tls_url);
|
||||
profile->tls_contact = switch_core_sprintf(profile->pool, "<%s;transport=tls>", profile->tls_url);
|
||||
if (profile->tls_public_url) {
|
||||
profile->tls_public_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->tls_public_url);
|
||||
profile->tls_public_contact = switch_core_sprintf(profile->pool, "<%s;transport=tls>", profile->tls_public_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user