summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 21:03:48 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 21:03:48 +0100
commitf04aa92778dca7f71ca656235885095b13dd3535 (patch)
treeb0ac9cf3dfecbbdb0209c1204054adcac861f001 /misc/freeswitch/scripts
parentf3c3e77eaa2b82567f02601b6f66177208674181 (diff)
parent508871c01cbf02bf6d8d7056c2d5a70e4d67eebf (diff)
Merge branch 'develop'5.0.2
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r--misc/freeswitch/scripts/common/str.lua1
-rw-r--r--misc/freeswitch/scripts/ini/dialplan.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/common/str.lua b/misc/freeswitch/scripts/common/str.lua
index b19f299..ca6dcd9 100644
--- a/misc/freeswitch/scripts/common/str.lua
+++ b/misc/freeswitch/scripts/common/str.lua
@@ -7,6 +7,7 @@ module(...,package.seeall)
function try(array, arguments)
local argument = arguments:match('^(.-)%.') or arguments;
local remaining_arguments = arguments:match('%.(.-)$');
+ argument = tonumber(argument) or argument;
if argument and type(array) == 'table' then
if remaining_arguments then
diff --git a/misc/freeswitch/scripts/ini/dialplan.ini b/misc/freeswitch/scripts/ini/dialplan.ini
index f4a6b66..aab8353 100644
--- a/misc/freeswitch/scripts/ini/dialplan.ini
+++ b/misc/freeswitch/scripts/ini/dialplan.ini
@@ -9,3 +9,6 @@ user_image_url = http://192.168.0.150/uploads/user/image
ringtone_url = http://192.168.0.150
ringback = %(2000,4000,440.0,480.0)
tone_busy = %(500,500,480,620);loops=4
+
+phonebook_number_lookup = true
+geo_number_lookup = true \ No newline at end of file