[Freeswitch-svn] [commit] r2685 - freeswitch/trunk/src/mod/endpoints/mod_woomera

Freeswitch SVN mikej at freeswitch.org
Wed Sep 13 12:33:09 EDT 2006


Author: mikej
Date: Wed Sep 13 12:33:09 2006
New Revision: 2685

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c

Log:
add default values for woomera in case you don't specify in the config file.

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 12:33:09 2006
@@ -1318,6 +1318,9 @@
 	switch_set_flag(profile, PFLAG_INBOUND | PFLAG_OUTBOUND);
 	profile->name = "main";
 	strncpy(profile->dialplan, "default", sizeof(profile->dialplan) - 1);
+	strncpy(profile->audio_ip, "127.0.0.1", sizeof(profile->audio_ip) - 1);
+	strncpy(profile->woomera_host, "127.0.0.1", sizeof(profile->woomera_host) - 1);
+	profile->woomera_port = (switch_port_t)42420;
 
 	if ((settings = switch_xml_child(cfg, "settings"))) {
 		for (param = switch_xml_child(settings, "param"); param; param = param->next) {



More information about the Freeswitch-svn mailing list