forked from Mirrors/freeswitch
remove unused param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6168 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1316954a8c
commit
f496c18787
@ -51,7 +51,6 @@
|
||||
<param name="dialplan" value="XML,enum"/>
|
||||
<param name="dtmf-duration" value="100"/>
|
||||
<param name="codec-prefs" value="$${global_codec_prefs}"/>
|
||||
<param name="codec-ms" value="20"/>
|
||||
<param name="use-rtp-timer" value="true"/>
|
||||
<param name="rtp-timer-name" value="soft"/>
|
||||
<param name="rtp-ip" value="$${local_ip_v4}"/>
|
||||
|
@ -231,7 +231,6 @@ struct sofia_profile {
|
||||
int sip_port;
|
||||
char *codec_string;
|
||||
int running;
|
||||
int codec_ms;
|
||||
int dtmf_duration;
|
||||
unsigned int flags;
|
||||
unsigned int pflags;
|
||||
|
@ -808,7 +808,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
switch_thread_rwlock_create(&profile->rwlock, profile->pool);
|
||||
switch_mutex_init(&profile->flag_mutex, SWITCH_MUTEX_NESTED, profile->pool);
|
||||
profile->dtmf_duration = 100;
|
||||
profile->codec_ms = 20;
|
||||
|
||||
|
||||
for (param = switch_xml_child(settings, "param"); param; param = param->next) {
|
||||
char *var = (char *) switch_xml_attr_soft(param, "name");
|
||||
@ -970,8 +970,6 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
profile->max_calls = atoi(val);
|
||||
} else if (!strcasecmp(var, "codec-prefs")) {
|
||||
profile->codec_string = switch_core_strdup(profile->pool, val);
|
||||
} else if (!strcasecmp(var, "codec-ms")) {
|
||||
profile->codec_ms = atoi(val);
|
||||
} else if (!strcasecmp(var, "dtmf-duration")) {
|
||||
int dur = atoi(val);
|
||||
if (dur > 10 && dur < 8000) {
|
||||
|
Loading…
Reference in New Issue
Block a user