diff options
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/sip_call.lua | 2 | ||||
-rw-r--r-- | misc/freeswitch/scripts/ini/routes.ini | 1 |
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 |