Fix eavesdrop so that *0 works as well as 88 as the access code

This commit is contained in:
Michael S Collins 2011-09-28 16:51:11 -07:00
parent 7f04f7ace9
commit cbfe83cc8f
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@
<extension name="eavesdrop"> <extension name="eavesdrop">
<condition field="destination_number" expression="^88(\d{4})$|^\*0(.*)$"> <condition field="destination_number" expression="^88(\d{4})$|^\*0(.*)$">
<action application="answer"/> <action application="answer"/>
<action application="eavesdrop" data="${hash(select/${domain_name}-spymap/$1)}"/> <action application="eavesdrop" data="${hash(select/${domain_name}-spymap/$1$2)}"/>
</condition> </condition>
</extension> </extension>