This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Holger Freyther gerrit-no-reply at lists.osmocom.orgHolger Freyther has submitted this change and it was merged.
Change subject: testpbx: Add another number that will just play a ringback
......................................................................
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
---
M contrib/testpbx/configs/public.xml
1 file changed, 10 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
Holger Freyther: Looks good to me, approved
diff --git a/contrib/testpbx/configs/public.xml b/contrib/testpbx/configs/public.xml
index d9b1d17..e5d2bcc 100644
--- a/contrib/testpbx/configs/public.xml
+++ b/contrib/testpbx/configs/public.xml
@@ -59,6 +59,16 @@
</extension>
-->
+ <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"/>
+ </condition>
+ </extension>
<extension name="transfer_to_default">
<condition>
<action application="transfer" data="${destination_number} XML default"/>
--
To view, visit https://gerrit.osmocom.org/2028
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4c778b1f0e7484a755716133f91767af8b1102c0
Gerrit-PatchSet: 2
Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder