How to wait for call pick up on outbound auto agi-script
AGI does not wait for call pickup when originating an outbound call bridged into an agi-script.
- asterisk -rx “originate local/18885551212 extension 1234@mycontext”
- Simple agi-script starts playing a message.
- By the time the outbound call is answered - the callee misses the beginning of the message.
How can I make the agi-script wait for pickup?