mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
local_extension regexp change to allow alphanumeric usernames
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="local_extension" number="[ext]" app_uuid="71cf1310-b6e3-415b-8745-3cbdc8e15212">
|
||||
<condition field="destination_number" expression="(^\d{2,7}$)">
|
||||
<condition field="destination_number" expression="(^\d{2,7}|\D+$)">
|
||||
<!--<action application="pre_answer"/>-->
|
||||
<action application="set" data="dialed_extension=$1"/>
|
||||
<action application="export" data="dialed_extension=$1"/>
|
||||
@@ -34,4 +34,4 @@
|
||||
<action application="lua" data="app.lua voicemail"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
</context>
|
||||
|
||||
Reference in New Issue
Block a user