mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +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:
@@ -2072,8 +2072,6 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
}
|
||||
|
||||
profile->tcp_contact = switch_core_sprintf(profile->pool, "%s;transport=tcp", profile->url);
|
||||
profile->tls_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->url);
|
||||
|
||||
|
||||
if (profile->bind_params) {
|
||||
char *bindurl = profile->bindurl;
|
||||
@@ -2130,6 +2128,7 @@ 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);
|
||||
}
|
||||
}
|
||||
if (profile) {
|
||||
|
||||
Reference in New Issue
Block a user