From 5bdfe348f2cf1dbd26384d3a661f7ca4ec3f2446 Mon Sep 17 00:00:00 2001 From: saraxxin Date: Fri, 24 Apr 2020 18:09:59 +0200 Subject: [PATCH] Set new channel variable (#5238) New channel variable added so that one may hook on to DISA calls which are not local. New variable: disa_outbound --- app/scripts/resources/scripts/disa.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/resources/scripts/disa.lua b/app/scripts/resources/scripts/disa.lua index e5c5d4e4da..02ff5a6bb9 100644 --- a/app/scripts/resources/scripts/disa.lua +++ b/app/scripts/resources/scripts/disa.lua @@ -206,6 +206,7 @@ session:execute("set", "outbound_caller_id_number="..caller_id_number); session:execute("set", "effective_caller_id_number="..caller_id_number); end + session:execute("set","disa_outbound=true"); session:execute("transfer", destination_number .. " XML " .. context); end end