change woomera defaults

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-09-13 13:41:35 +00:00
parent 0a7618a5cf
commit f385b33813
2 changed files with 8 additions and 2 deletions

View File

@ -186,8 +186,14 @@
<settings>
<param name="debug" value="0"/>
</settings>
<interface>
<param name="host" value="localhost"/>
<param name="port" value="42420"/>
<param name="audio-ip" value="127.0.0.1"/>
<param name="dialplan" value="XML"/>
</interface>
</configuration>
<configuration name="wanpipe.conf" description="Sangoma Wanpipe Endpoint">
<settings>
<param name="debug" value="1"/>

View File

@ -1337,7 +1337,7 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod
for (param = switch_xml_child(xmlp, "param"); param; param = param->next) {
char *var = (char *) switch_xml_attr_soft(param, "name");
char *val = (char *) switch_xml_attr_soft(param, "value");
if (!strcmp(var, "audio_ip")) {
if (!strcmp(var, "audio-ip")) {
strncpy(profile->audio_ip, val, sizeof(profile->audio_ip) - 1);
} else if (!strcmp(var, "host")) {
strncpy(profile->woomera_host, val, sizeof(profile->woomera_host) - 1);