diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-12 04:21:50 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-12 04:21:50 -0400 |
commit | f12f9e67b52f8d3f8a61ceed9d6718b029c8f74f (patch) | |
tree | 352bee255df66cc0a822ef8917b9e6b3a6f042e6 /misc/freeswitch | |
parent | 2eacac2c8db953054278fdc0ddc0f0de46435861 (diff) |
strip non decimal characters
Diffstat (limited to 'misc/freeswitch')
-rw-r--r-- | misc/freeswitch/scripts/configuration.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/configuration.lua b/misc/freeswitch/scripts/configuration.lua index be83ef5..8672f99 100644 --- a/misc/freeswitch/scripts/configuration.lua +++ b/misc/freeswitch/scripts/configuration.lua @@ -196,7 +196,7 @@ function conf_conference(database) if conf_name then require 'common.conference' - conference = common.conference.Conference:new{log=log, database=database}:find_by_id(conf_name); + conference = common.conference.Conference:new{log=log, database=database}:find_by_id(common.str.to_i(conf_name)); if conference then log:debug('CONFIG_CONFERENCE ', conf_name, ' name: ', conference.record.name, ', profile: ', profile_name); config.parameters['caller-id-name'] = conference.record.name or ''; |