I am designing an Asterisk 11 Dialplan for a call center.
I am facing a problem in dialplan. In order to achieve the desired configuration , i think it is necessary to run 2 applications at the same time at some point in the dialplan.
Example:
[context-name]
exten => _37150258[67],1,Ringing()
same => n,Wait(2)
same => n,Answer()
same => n,Playback(welcome-message)
same => n,Park() AND Dial(somebody)
...
I see this aproach necessary as the logic behind is:
The caller dials call-center's number
- Asterisk answers, greets him
- Asterisk puts the call on hold/park while looking for an available operator
- Operator picks up the call
Would it be possible to run Park() and Dial() simultaneously, or should I consider a different aproach for this problem?