when placing an outgoing call (by a call file), how do you make asterisk wait for the phone to be picked up before playing a sound file?
The call file looks like this:
Asterisk correctly places the call and jumps to
exten => myext,1,Answer()
;I think, I should check here whether phone was picked up.
exten => myext,n,Playback(mymessage)
When I pick up the phone, * is half through the message because it starts replaying it right away and doesn’t wait for the user to pick the phone up.
Thanks for your help,I really appreciate it.