Add call block default dialplan

This commit is contained in:
Mark Crane
2014-07-12 02:31:48 +00:00
parent d5050a207f
commit 7e45639c25
2 changed files with 8 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ This method causes the script to get its manadatory arguments directly from the
-- We have a single command letter
-- Use session variables
logger("D", "NOTICE", "params default from session, count " .. string.format("%d", #argv[2]) .. " \n")
params["cmd"] = argv[2]
params["cmd"] = argv[3]
-- ensure that we have a fresh status on exit
session:setVariable("call_block", "")