diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-18 15:10:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-18 15:10:16 +0100 |
commit | fa4ff4d2e603dae76ac033a16a524e5378d3d48f (patch) | |
tree | ca13e8c32ced662cec93c8ea6efa3d7197e3edc9 /misc/freeswitch/scripts/event_manager.lua | |
parent | e7f51187fe563c559c5580e5091f01356a36b6c3 (diff) | |
parent | c4c3ce49a9f1a229df30c88f0f8a24f06acc4d0f (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/event_manager.lua')
-rw-r--r-- | misc/freeswitch/scripts/event_manager.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/freeswitch/scripts/event_manager.lua b/misc/freeswitch/scripts/event_manager.lua index 0e3c0e0..4e78ccf 100644 --- a/misc/freeswitch/scripts/event_manager.lua +++ b/misc/freeswitch/scripts/event_manager.lua @@ -1,5 +1,5 @@ -- Gemeinschaft 5.0 event handler --- (c) AMOOMA GmbH 2012 +-- (c) AMOOMA GmbH 2012-2013 -- -- Set logger @@ -17,10 +17,9 @@ if not database:connected() then end require "configuration.sip" -local sip = configuration.sip.Sip:new{ log = log, database = database } +local domains = configuration.sip.Sip:new{ log = log, database = database }:domains(); local domain = '127.0.0.1'; -local domains = sip:domains(); if domains[1] then domain = domains[1]['host']; else |