mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update 310_extension-to-voicemail.xml
Quote the interpolated part of the regexes between \Q and \E
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<extension name="extension-to-voicemail" number="[ext]" context="global" continue="false" app_uuid="8a2e7b81-996c-4d6b-87df-b879b972a572" global="true" order="310">
|
||||
<condition field="${user_exists}" expression="^true$" />
|
||||
<condition field="username" expression="^${caller_id_number}$" />
|
||||
<condition field="destination_number" expression="^${caller_id_number}$">
|
||||
<condition field="username" expression="^\Q${caller_id_number}\E$" />
|
||||
<condition field="destination_number" expression="^\Q${caller_id_number}\E$">
|
||||
<action application="answer"/>
|
||||
<action application="sleep" data="1000"/>
|
||||
<action application="set" data="record_append=false"/>
|
||||
|
||||
Reference in New Issue
Block a user