mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5107 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -748,6 +748,8 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
}
|
||||
}
|
||||
|
||||
} else if (!strcasecmp(var, "bind-params")) {
|
||||
profile->bind_params = switch_core_strdup(profile->pool, val);
|
||||
} else if (!strcasecmp(var, "sip-domain")) {
|
||||
profile->sipdomain = switch_core_strdup(profile->pool, val);
|
||||
} else if (!strcasecmp(var, "rtp-timer-name")) {
|
||||
@@ -870,6 +872,12 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
profile->url = switch_core_sprintf(profile->pool, "sip:mod_sofia@%s:%d", profile->sipip, profile->sip_port);
|
||||
profile->bindurl = profile->url;
|
||||
}
|
||||
|
||||
if (profile->bind_params) {
|
||||
char *url = profile->bindurl;
|
||||
profile->bindurl = switch_core_sprintf(profile->pool, "%s;%s", url, profile->bind_params);
|
||||
}
|
||||
|
||||
}
|
||||
if (profile) {
|
||||
switch_xml_t aliases_tag, alias_tag;
|
||||
|
||||
Reference in New Issue
Block a user