提交 f385b338 authored 作者: Anthony Minessale's avatar Anthony Minessale

change woomera defaults

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0a7618a5
...@@ -186,8 +186,14 @@ ...@@ -186,8 +186,14 @@
<settings> <settings>
<param name="debug" value="0"/> <param name="debug" value="0"/>
</settings> </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>
<configuration name="wanpipe.conf" description="Sangoma Wanpipe Endpoint"> <configuration name="wanpipe.conf" description="Sangoma Wanpipe Endpoint">
<settings> <settings>
<param name="debug" value="1"/> <param name="debug" value="1"/>
......
...@@ -1337,7 +1337,7 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod ...@@ -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) { for (param = switch_xml_child(xmlp, "param"); param; param = param->next) {
char *var = (char *) switch_xml_attr_soft(param, "name"); char *var = (char *) switch_xml_attr_soft(param, "name");
char *val = (char *) switch_xml_attr_soft(param, "value"); 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); strncpy(profile->audio_ip, val, sizeof(profile->audio_ip) - 1);
} else if (!strcmp(var, "host")) { } else if (!strcmp(var, "host")) {
strncpy(profile->woomera_host, val, sizeof(profile->woomera_host) - 1); strncpy(profile->woomera_host, val, sizeof(profile->woomera_host) - 1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论