I running Asterisk 13 and I’m trying to build functionality which will work in this way:
- Customer calls
- Asterisk answers and play welcome message asking for unique PIN code.
- customers type unique code which is validated and hears the message that he will be connected with an engineer in 30 seconds and waits.
- While the caller is waiting for 30 seconds Asterisk dials engineer and plays a message that customer will be transferred to him in 30 seconds
( this gives time for an engineer to wake up if he is called in the middle of the night and he is being wakeup).
- The transfer is being completed.
So I have part with validating code has done using ODBC. I don’t know how to automatically transfer the caller to engineer with delay and message being played to both (steps 3 to 5).
Thank you very much for any replies and sorry for my language English is not my native tongue.