summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-11 09:33:28 +0200
committerPeter Kozak <spag@golwen.net>2013-04-11 09:33:28 +0200
commit4fccfd605fc705f8785568fc393be1207b51ecc5 (patch)
tree855946b71a39025da912fedb86ad304465530738
parent1a56b27c66cb1580313045d87a59ceb4f849038b (diff)
defaults added
-rw-r--r--misc/freeswitch/scripts/configuration.lua3
1 files changed, 2 insertions, 1 deletions
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',