mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2554 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1661,6 +1661,8 @@ static switch_status_t config_sofia(int reload)
|
||||
profile->name = switch_core_strdup(profile->pool, xprofilename);
|
||||
|
||||
profile->dtmf_duration = 100;
|
||||
profile->codec_ms = 20;
|
||||
|
||||
for (param = switch_xml_child(xprofile, "param"); param; param = param->next) {
|
||||
char *var = (char *) switch_xml_attr_soft(param, "name");
|
||||
char *val = (char *) switch_xml_attr_soft(param, "value");
|
||||
@@ -1738,10 +1740,6 @@ static switch_status_t config_sofia(int reload)
|
||||
profile->rtpip = switch_core_strdup(profile->pool, "127.0.0.1");
|
||||
}
|
||||
|
||||
if (!profile->codec_ms) {
|
||||
profile->codec_ms = 20;
|
||||
}
|
||||
|
||||
if (!profile->sip_port) {
|
||||
profile->sip_port = 5060;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user