FS-8378: add tests for esf over loopback

This commit is contained in:
Mike Jerris 2015-10-22 12:58:44 -05:00 committed by Brian West
parent 1968453e32
commit 9aad63bf97
3 changed files with 37 additions and 0 deletions

View File

@ -6,6 +6,7 @@
<load module="mod_logfile"/> <load module="mod_logfile"/>
<load module="mod_cdr_csv"/> <load module="mod_cdr_csv"/>
<load module="mod_event_socket"/> <load module="mod_event_socket"/>
<load module="mod_esf"/>
<load module="mod_sofia"/> <load module="mod_sofia"/>
<load module="mod_loopback"/> <load module="mod_loopback"/>
<load module="mod_rtc"/> <load module="mod_rtc"/>

View File

@ -11,4 +11,10 @@
</extension> </extension>
<extension name="rtp_multicast_page">
<condition field="destination_number" expression="^pagegroup$|^7243$">
<action application="answer"/>
<action application="esf_page_group"/>
</condition>
</extension>

View File

@ -4,3 +4,33 @@
<action application="playback" data="av:///var/www/html/vid/big_buck_bunny_240p_30mb.mp4"/> <action application="playback" data="av:///var/www/html/vid/big_buck_bunny_240p_30mb.mp4"/>
</condition> </condition>
</extension> </extension>
<extension name="videoplayback">
<condition field="destination_number" expression="^8001$">
<action application="answer"/>
<action application="playback" data="/root/wiz.wav"/>
</condition>
</extension>
<extension name="videoplayback">
<condition field="destination_number" expression="^8002$">
<action application="answer"/>
<action application="record" data="/tmp/${uuid}.wav"/>
</condition>
</extension>
<extension name="videoplayback">
<condition field="destination_number" expression="^8003$">
<action application="answer"/>
<action application="playback" data="/t.mp4"/>
</condition>
</extension>
<extension name="videoplayback">
<condition field="destination_number" expression="^8004$">
<action application="answer"/>
<action application="record" data="/tmp/${uuid}.mp4"/>
</condition>
</extension>