From 4fccfd605fc705f8785568fc393be1207b51ecc5 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 11 Apr 2013 09:33:28 +0200 Subject: defaults added --- misc/freeswitch/scripts/configuration.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/freeswitch/scripts') diff --git a/misc/freeswitch/scripts/configuration.lua b/misc/freeswitch/scripts/configuration.lua index c17f8a4..b23f76a 100644 --- a/misc/freeswitch/scripts/configuration.lua +++ b/misc/freeswitch/scripts/configuration.lua @@ -289,8 +289,9 @@ function conf_event_socket(database) require 'configuration.simple_xml' local xml = configuration.simple_xml.SimpleXml:new(); + local settings = { password = 'ClueCon', ['listen-ip'] = '127.0.0.1', ['listen-port'] = '80212' }; require 'common.configuration_table'; - local settings = common.configuration_table.get(database, 'event_socket', 'settings'); + settings = common.configuration_table.get(database, 'event_socket', 'settings', settings) or settings; XML_STRING = xml:element{ 'document', -- cgit v1.2.3