Custom variables belong under the global dialplan or global (meaning global per tenant) could be renamed to variables. Would be better to set under system -> variables -> transfer_ringback.

This commit is contained in:
Mark Crane
2013-08-26 22:40:25 +00:00
parent bc4ba373f9
commit 2d1c83eee5
2 changed files with 1 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
<context name="{v_context}">
<extension name="global" continue="true" app_uuid="34dd307b-fffe-4ead-990c-3d070e288126">
<condition>
<action application="export" data="origination_callee_id_name=${destination_number}"/>
<action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
</condition>
</extension>

View File

@@ -1,8 +0,0 @@
<context name="{v_context}">
<extension name="custom-variables" continue="true" app_uuid="7e0bbdd7-be74-4019-bc5d-2bb9fd0fdb89">
<condition field="context" expression="^.*$">
<action application="export" data="origination_callee_id_name=${destination_number}"/>
<action application="export" data="transfer_ringback=$${uk-ring}"/>
</condition>
</extension>
</context>