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
This commit is contained in:
saraxxin 2020-04-24 18:09:59 +02:00 committed by GitHub
parent effb8c74ea
commit 5bdfe348f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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