Allow using dsn_call_center
Allow using extra underscore so that it works with either values. - dsn_callcenter - dsn_call_center
This commit is contained in:
parent
30439ae14a
commit
1df3015e19
|
|
@ -67,6 +67,9 @@ require "resources.functions.format_ringback"
|
|||
--get the variables
|
||||
dsn = freeswitch.getGlobalVariable("dsn") or ''
|
||||
dsn_callcenter = freeswitch.getGlobalVariable("dsn_callcenter") or ''
|
||||
if #dsn_callcenter > 0 then
|
||||
dsn_callcenter = freeswitch.getGlobalVariable("dsn_call_center") or ''
|
||||
end
|
||||
|
||||
--start the xml array
|
||||
local xml = Xml:new();
|
||||
|
|
|
|||
Loading…
Reference in New Issue