12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <extension name="Logical XOR 1 false" >
- <condition field="destination_number" expression="^6040$"/>
- <condition regex="xor">
- <regex wday="1-7"/>
- <regex wday="1-7"/>
- <anti-action application="log" data="INFO Test PASSED!"/>
- <anti-action application="playback" data="ivr/ivr-thank_you_for_calling.wav"/>
- <action application="log" data="ERROR Test FAILED!"/>
- <action application="playback" data="ivr/ivr-no_no_no.wav"/>
- </condition>
- </extension>
- <extension name="Logical XOR 2 false" >
- <condition field="destination_number" expression="^6041$"/>
- <condition regex="xor">
- <regex field="destination_number" expression="."/>
- <regex field="destination_number" expression="."/>
- <anti-action application="log" data="INFO Test PASSED!"/>
- <anti-action application="playback" data="ivr/ivr-thank_you_for_calling.wav"/>
- <action application="log" data="ERROR Test FAILED!"/>
- <action application="playback" data="ivr/ivr-no_no_no.wav"/>
- </condition>
- </extension>
- <extension name="Logical XOR 1 true" >
- <condition field="destination_number" expression="^6042$"/>
- <condition regex="xor">
- <regex wday="1-7"/>
- <regex year="0"/>
- <regex year="0"/>
- <action application="log" data="INFO Test PASSED!"/>
- <action application="playback" data="ivr/ivr-thank_you_for_calling.wav"/>
- <anti-action application="log" data="ERROR Test FAILED!"/>
- <anti-action application="playback" data="ivr/ivr-no_no_no.wav"/>
- </condition>
- </extension>
- <extension name="Logical XOR 2 true" >
- <condition field="destination_number" expression="^6043$"/>
- <condition regex="xor">
- <regex field="destination_number" expression="."/>
- <regex field="destination_number" expression="^$"/>
- <regex field="destination_number" expression="^$"/>
- <action application="log" data="INFO Test PASSED!"/>
- <action application="playback" data="ivr/ivr-thank_you_for_calling.wav"/>
- <anti-action application="log" data="ERROR Test FAILED!"/>
- <anti-action application="playback" data="ivr/ivr-no_no_no.wav"/>
- </condition>
- </extension>
|