summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 23:10:40 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 23:10:40 +0100
commitc500e125c2ee5297b51e463f93940d450dab0813 (patch)
tree5c5ea2d56357d2f3cbc37fdaa50f58145d62c6d8 /misc
parent3862734b5e0833ed108300102c68159e40ffd93a (diff)
parentcd41d91906334f0c87aeaf6698baefb3e8c64190 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc')
-rw-r--r--misc/freeswitch/scripts/dialplan/sip_call.lua2
-rw-r--r--misc/freeswitch/scripts/ini/routes.ini1
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/sip_call.lua b/misc/freeswitch/scripts/dialplan/sip_call.lua
index ad7188f..0071075 100644
--- a/misc/freeswitch/scripts/dialplan/sip_call.lua
+++ b/misc/freeswitch/scripts/dialplan/sip_call.lua
@@ -128,7 +128,7 @@ function SipCall.fork(self, destinations, arg )
if destination.caller_id_name then
table.insert(origination_variables, "origination_caller_id_name='" .. destination.caller_id_name .. "'");
end
- table.insert(dial_strings, '[' .. table.concat(origination_variables , ',') .. ']sofia/gateway/' .. destination.gateway .. '/' .. destination.number);
+ table.insert(dial_strings, '[' .. table.concat(origination_variables , ',') .. ']sofia/gateway/' .. tostring(destination.gateway) .. '/' .. tostring(destination.number));
elseif destination.type == 'dial' then
if destination.caller_id_number then
table.insert(origination_variables, "origination_caller_id_number='" .. destination.caller_id_number .. "'");
diff --git a/misc/freeswitch/scripts/ini/routes.ini b/misc/freeswitch/scripts/ini/routes.ini
index 46c7cd8..33d2f38 100644
--- a/misc/freeswitch/scripts/ini/routes.ini
+++ b/misc/freeswitch/scripts/ini/routes.ini
@@ -10,6 +10,7 @@
^%*0%*(%d+)#*$ , f-li-%1
^%*0%*(%d+)%*(%d+)#*$ , f-li-%1-%2
^#0#$ , f-lo
+^%*5%*(%d+)#$ , f-acdmtg-0-%1
^%*30#$ , f-clipon
^#30#$ , f-clipoff
^%*31#$ , f-cliroff