1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <extension name="Logical AND 1 false" >
- <condition field="destination_number" expression="^6030$"/>
- <condition regex="all">
- <regex wday="1-7"/>
- <regex year="0"/>
- <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 AND 2 false" >
- <condition field="destination_number" expression="^6031$"/>
- <condition regex="all">
- <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 AND 1 true" >
- <condition field="destination_number" expression="^6032$"/>
- <condition regex="all">
- <regex wday="1-7"/>
- <regex wday="1-7"/>
- <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 AND 2 true" >
- <condition field="destination_number" expression="^6033$"/>
- <condition regex="all">
- <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>
|