summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/freeswitch/scripts/configuration.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/freeswitch/scripts/configuration.lua b/misc/freeswitch/scripts/configuration.lua
index 2486565..5874752 100644
--- a/misc/freeswitch/scripts/configuration.lua
+++ b/misc/freeswitch/scripts/configuration.lua
@@ -189,10 +189,10 @@ function conf_conference(database)
local config = common.configuration_table.get(database, 'conferences');
local profiles = nil;
- local event_name = params:getHeader("Event-Name")
+ local event_name = params:getHeader("Event-Name") or '';
if event_name == 'COMMAND' then
- local conf_name = params:getHeader('conf_name');
- local profile_name = params:getHeader('profile_name');
+ local conf_name = params:getHeader('conf_name') or '';
+ local profile_name = params:getHeader('profile_name') or '';
if conf_name:find('^conference%d+') then
require 'common.conference';