add default values for woomera in case you don't specify in the config file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2685 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fa446b5aba
commit
5c74acbabd
|
@ -1318,6 +1318,9 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue