Greeting sound while the destination is being called

Status
Not open for further replies.

comdif

New Member
Apr 18, 2019
18
2
3
64
France
Hello,
I try to have a welcome message on Inbound during the call progress
I create a Ring group as destination and set Greeting "my_message.wav"

But first the message is read and then the phone is called,
I would like both actions at the same time how to do it ?
Thank's in advance
Christian
 

Kenny Riley

Active Member
Nov 1, 2017
243
39
28
36
So you want the greeting to play while the phones in the ring group are ringing rather than have the greeting play first and then ring the ring group members?

You should be able to upload a recording to Apps > Recordings and then in your ring group settings you could change the ring back tone to play your uploaded recording.
 

Attachments

  • ring-back.png
    ring-back.png
    12.5 KB · Views: 27

comdif

New Member
Apr 18, 2019
18
2
3
64
France
This is exactly what I do first
and then I try custom inbound route without more luck.

<extension name="3317642xxxx" continue="false" uuid="88f7e774-716a-4087-809b-9356dc03f6da">
<condition field="destination_number" expression="^(3317642xxxx)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=b7732327-e3ba-4e3a-85eb-0378bfd31fba" inline="true"/>
<action application="set" data="domain_name=tc2.mysip.fr" inline="true"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="ignore_early_media=true"/>
<action application="set" data="instant_ringback=true"/>
<action application="set" data="ringback=/var/lib/freeswitch/recordings/tc2.mysip.fr/ACCUEILVIERGE.wav"/>
<action application="set" data="transfer_ringback=/var/lib/freeswitch/recordings/tc2.mysip.fr/ACCUEILVIERGE.wav "/>
<action application="transfer" data="600 XML tc2.mysip.fr"/>
</condition>
</extension>
 

comdif

New Member
Apr 18, 2019
18
2
3
64
France
Finaly I just add a
<action application="answer" data=""/>
and seem to work fine but not sure this is the good method.
 
Status
Not open for further replies.