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:
Anthony Minessale
2008-11-26 19:30:40 +00:00
parent 085771a4cc
commit 958671cfbe
3 changed files with 18 additions and 4 deletions
+5 -1
View File
@@ -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
*/