mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix blind transfer *1
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<condition field="destination_number" expression="^dx$">
|
||||
<action application="answer"/>
|
||||
<action application="read" data="11 11 'tone_stream://%(10000,0,350,440)' digits 5000 #"/>
|
||||
<action application="execute_extension" data="is_transfer XML ${context}"/>
|
||||
<action application="transfer" data="-bleg ${digits}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
@@ -6,10 +6,10 @@
|
||||
<action application="export" data="dialed_extension=$1"/>
|
||||
<action application="limit_execute" data="hash ${domain_name} $1 ${limit_max} ${limit_destination}"/>
|
||||
<!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> -->
|
||||
<action application="bind_meta_app" data="1 b s execute_extension::dx XML ${context}"/>
|
||||
<action application="bind_meta_app" data="1 ab s execute_extension::dx XML ${context}"/>
|
||||
<action application="bind_meta_app" data="2 ab s record_session::$${recordings_dir}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.wav"/>
|
||||
<action application="bind_meta_app" data="3 b s execute_extension::cf XML ${context}"/>
|
||||
<action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML ${context}"/>
|
||||
<action application="bind_meta_app" data="3 ab s execute_extension::cf XML ${context}"/>
|
||||
<action application="bind_meta_app" data="4 ab s execute_extension::att_xfer XML ${context}"/>
|
||||
<!--<action application="set" data="ringback=${ringback}"/>-->
|
||||
<action application="set" data="hangup_after_bridge=true"/>
|
||||
<!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> -->
|
||||
|
||||
@@ -356,10 +356,10 @@
|
||||
session:execute("set", "continue_on_fail=true");
|
||||
|
||||
--set bind meta app
|
||||
session:execute("bind_meta_app", "1 ab s execute_extension::dx XML features");
|
||||
session:execute("bind_meta_app", "1 ab s execute_extension::dx XML "..context);
|
||||
session:execute("bind_meta_app", "2 ab s record_session::"..recordings_dir.."/archive/"..os.date("%Y").."/"..os.date("%m").."/"..os.date("%d").."}/"..uuid..".wav");
|
||||
session:execute("bind_meta_app", "3 ab s execute_extension::cf XML features");
|
||||
session:execute("bind_meta_app", "4 ab s execute_extension::att_xfer XML features");
|
||||
session:execute("bind_meta_app", "3 ab s execute_extension::cf XML "..context);
|
||||
session:execute("bind_meta_app", "4 ab s execute_extension::att_xfer XML "..context);
|
||||
|
||||
--prompt to accept call if true schedule the call timeout
|
||||
if (prompt == "true") then
|
||||
|
||||
Reference in New Issue
Block a user