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

View File

@ -181,7 +181,7 @@
<extension name="eavesdrop">
<condition field="destination_number" expression="^88(\d{4})$|^\*0(.*)$">
<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>
</extension>