[Freeswitch-svn] [commit] r2677 - in freeswitch/trunk: conf src/mod/endpoints/mod_woomera
Freeswitch SVN
anthm at freeswitch.org
Wed Sep 13 09:41:36 EDT 2006
Author: anthm
Date: Wed Sep 13 09:41:35 2006
New Revision: 2677
Modified:
freeswitch/trunk/conf/freeswitch.xml
freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
Log:
change woomera defaults
Modified: freeswitch/trunk/conf/freeswitch.xml
==============================================================================
--- freeswitch/trunk/conf/freeswitch.xml (original)
+++ freeswitch/trunk/conf/freeswitch.xml Wed Sep 13 09:41:35 2006
@@ -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"/>
Modified: freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c Wed Sep 13 09:41:35 2006
@@ -1337,7 +1337,7 @@
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);
More information about the Freeswitch-svn
mailing list