Add user_exists condition to local_extension to compensate for the fact we allow dialing an extension based on a non numeric username.
This commit is contained in:
parent
92083dea75
commit
c675f2b9b3
|
|
@ -1,5 +1,6 @@
|
|||
<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"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue