[asterisk-users] Play announcement during Dial just once
Roland o/d Akker
asterisk at rolandow.com
Tue Jul 24 04:22:09 CDT 2012
Hi,
I would like to perform a Dial, and play an announce ment just once to
the caller. Actually very much like the A parameter, but this plays the
announcement to the callee instead of the caller.
I played around with MusicOnHold, for which I can specify a timeout, but
it doesn't continue in the dialplan before it's done. So this didn't work:
exten => *92,1,Answer()
same => n,Playback(sgn-u-bent-verbonden-met)
same => n,MusicOnHold(advertisement,5)
same => n,Dial(SIP/Roland_Test,,A(st-test))
same => n,Wait(2)
same => n,Hangup()
So i'd just like it to play this announcement once, and then continue
with the normal ringing.
RetryDial also loops the announcement.
Only thing I can think of now is to record the announcement, and add
some riging audio effects in the audio file, and just repeat that sound
for a while.
Any other options? Seems like a common request to me :-)
Thanks in advance!
More information about the asterisk-users
mailing list