FS-8378: add tests for esf over loopback
This commit is contained in:
parent
1968453e32
commit
9aad63bf97
|
@ -6,6 +6,7 @@
|
|||
<load module="mod_logfile"/>
|
||||
<load module="mod_cdr_csv"/>
|
||||
<load module="mod_event_socket"/>
|
||||
<load module="mod_esf"/>
|
||||
<load module="mod_sofia"/>
|
||||
<load module="mod_loopback"/>
|
||||
<load module="mod_rtc"/>
|
||||
|
|
|
@ -11,4 +11,10 @@
|
|||
</extension>
|
||||
|
||||
|
||||
<extension name="rtp_multicast_page">
|
||||
<condition field="destination_number" expression="^pagegroup$|^7243$">
|
||||
<action application="answer"/>
|
||||
<action application="esf_page_group"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
|
|
|
@ -4,3 +4,33 @@
|
|||
<action application="playback" data="av:///var/www/html/vid/big_buck_bunny_240p_30mb.mp4"/>
|
||||
</condition>
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue