mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Remove the destination number condition and exchange the $1 for the destination_number variable.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="local_extension" number="[ext]" continue="false" app_uuid="71cf1310-b6e3-415b-8745-3cbdc8e15212">
|
||||
<condition field="user_exists" expression="true"/>
|
||||
<condition field="destination_number" expression="(^.*$|^\d{2,7}$)">
|
||||
<!--<action application="pre_answer"/>-->
|
||||
<action application="export" data="dialed_extension=$1" inline="true"/>
|
||||
<action application="limit" data="hash ${domain_name} $1 ${limit_max} ${limit_destination}" inline="false" />
|
||||
<action application="export" data="dialed_extension=${destination_number}" inline="true"/>
|
||||
<action application="limit" data="hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination}" inline="false" />
|
||||
</condition>
|
||||
|
||||
<!--Allow transfer/record only for internal users-->
|
||||
|
||||
Reference in New Issue
Block a user