mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Add call block default dialplan
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="call_block" number="" continue="true" app_uuid="b1b31930-d0ee-4395-a891-04df94599f1f" enabled="false">
|
||||
<condition>
|
||||
<action application="lua" data="app.lua call_block C"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
@@ -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", "")
|
||||
|
||||
Reference in New Issue
Block a user