]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
change woomera defaults
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Sep 2006 13:41:35 +0000 (13:41 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Sep 2006 13:41:35 +0000 (13:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/freeswitch.xml
src/mod/endpoints/mod_woomera/mod_woomera.c

index 672a583d4f688f487352e7f216153131b915240d..e3b365da5e120b06fc02d4d0ff85ea184a937bbb 100644 (file)
       <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"/>
index cff90b4f20f8c1083ea135aeeda02ade081cc198..274c9cbeb2844e6c8a865716503f0b9ee21bf02d 100644 (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);