Play ringtone before IVR prompt

Status
Not open for further replies.

extrascope

New Member
Jun 23, 2019
6
0
1
41
Hi

Currently incoming calls are directed to an IVR with a recorded greeting.
Can anyone recommend the correct method to play a ringtone or two to the caller before the greeting of the IVR starts?

Thanks
 

Kenny Riley

Active Member
Nov 1, 2017
243
39
28
36
Send your DID to a ring group and set the timeout to something like 10 seconds, then configure the timeout destination to your IVR.
 
  • Like
Reactions: JamesBorne

JamesBorne

Active Member
Jan 24, 2019
294
56
28
Australia
I think a ring group with no valid extensions will instantly hit the exit action @Kenny Riley, despite the delay.
My lazy solution was to upload a WAV of a ringtone and play that in an IVR before hitting the next destination.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
The real question I have is why do you want to do this? I just can't savvy why you want to delay your calls getting to their endpoint. I'm for getting to that answered stage in the shortage possible time. Introducing an unnecessary delay however short just doesn't seem to make sense.
 

extrascope

New Member
Jun 23, 2019
6
0
1
41
Thanks for the suggestions. I wanted a brief delay at the start of the call because to me, the connection is really fast and the IVR starts too quickly. I know it sounds a bit odd.
 

Len

Member
Mar 8, 2017
95
3
8
52
I have customer with similar requirement. Wants caller to reach a voicemail but only after ringing few times as to make it look that they did ring an actual phone before hitting voicemail. I ended creating dialplan playback" data="tone_stream://L=2;${us-ring}". issue is that if I direct call to this destination, it works fine for ringing. The same when I direct call to this dialplan via IVR. But when I add voicemail as the next step (higher order number in IVR) it skips the ringing part and goes straight to VM. CLI doesn't show error. I tried with and without inline
 

ewdpb

Member
Oct 3, 2019
151
19
18
You can playback a tone stream

For instance:

<action application="playback" data="tone_stream://%(1850,4150,475,425);loops=-1" />

Or in LUA

session:execute( "playback", "tone_stream://%(1850,4150,475,425)")


Some further info here.
 

Len

Member
Mar 8, 2017
95
3
8
52
correct, I did that and when I add voicemail as the next step (higher order number in IVR) it skips the ringing part and goes straight to VM. CLI doesn't show error. I tried with and without inline
 

ewdpb

Member
Oct 3, 2019
151
19
18
ahh I understand. How about if you playback an audio file with a tone recording instead of the tone? Something like:

<action application="playback" data="fake_ringtone.wav" />

I know, it is not the most elegant or brainy solution but it is simple.
 

ewdpb

Member
Oct 3, 2019
151
19
18
I just realized that if all you want is a delay you can also do:

session:execute("playback", "silence_stream://1000");

or
<action application="playback" data="silence_stream://1000" />

You would not get the tone, just a 1 second delay. It may fit your need.
 
Status
Not open for further replies.