[asterisk-users] Playback while dialing out

Jim Boykin boykinjim at gmail.com
Thu Aug 18 20:12:16 CDT 2011


Hi, please help me with dialplan below.

My current dialplan looks like this, it plays a file and then connects
the caller to my phone by dialing out. As you can see, it waits for
file to be played completely before dialing out. What I would really
like is that it should play the file (preferably repetitively) and
simultaneously dial out the number, playback should stop as soon as
dial answers or early media detected.

exten => 500,1,Answer
exten => 500,2,Playback(wait-while-we-connect-you)
exten => 500,3,Dial(SIP/14085551234 at myprovider)

How do I make it work?

Thanks



More information about the asterisk-users mailing list