testpbx: Add another number that will just play a ringback

This will enable early media to play a ringback to the phone.

Change-Id: I4c778b1f0e7484a755716133f91767af8b1102c0
This commit is contained in:
Holger Hans Peter Freyther 2017-03-10 15:53:23 +01:00
parent 3d9ae085bf
commit 0cea3df01d
1 changed files with 10 additions and 0 deletions

View File

@ -59,6 +59,16 @@
<extension name="ring-play">
<condition field="destination_number" expression="^6666$">
<action application="set" data="domain_name=$${domain}"/>
<action application="set" data="ringback=%(2000, 4000, 440.0, 480.0)"/>
<action application="pre_answer" />
<action application="playback" data="tone_stream://%(2000,4000,440,480);loops=-1"/>
<action application="sleep" data="180000"/>
<action application="respond" data="reponse_info" data="407"/>
<extension name="transfer_to_default">
<action application="transfer" data="${destination_number} XML default"/>