I would like to achieve the following.
A call comes in from ZAP channel
When I answer, before I am connected I hear a recorded message which would depend on which option the caller chose.
For example, I pick up the phone and here “sales” before I am connected or I pick up the phone and here “accounts” before I am connected.
exten => s,1,Answer()
exten => s,n,Dial(SIP/100)
exten => s,n,Playback(sales)
But I understand we wouldn’t move on from DIAL until the call ended