mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
patch for SFSIP-104
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10544 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2071,11 +2071,15 @@ 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->tls_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->url);
|
||||
|
||||
|
||||
if (profile->bind_params) {
|
||||
char *bindurl = profile->bindurl;
|
||||
profile->bindurl = switch_core_sprintf(profile->pool, "%s;%s", bindurl, profile->bind_params);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* handle TLS params #2
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user