The following queue works as following:
star all calls are monitored, i.e. saved to disk
star if after 60 seconds on the queue the call is unanswered, the call is routed to voicemail
star there are two levels of agents: agents 4000 and 4001 will answer the queue (level 1); only if none of them is available the call is routed to agent 4002 (level 2). If nobody is available, the queue keeps trying until timeout is reached.
Extensions.conf
[q-my-sample]
; …queue description…..
exten =>
s,1,SetVar(MONITOR_FILENAME=/var/spool/asterisk/queuecalls/QSAMPLE-${
UNIQUEID})
exten => s,2,Queue(q-sample|n|||)
exten => s,3,Playback(voicemail-invitation)
exten => s,4,VoiceMail,s2001
Queues.conf
[q-my-sample]
; …queue description…..
exten =>
s,1,SetVar(MONITOR_FILENAME=/var/spool/asterisk/queuecalls/QSAMPLE-${
UNIQUEID})
exten => s,2,Queue(q-sample|n|||)
exten => s,3,Playback(voicemail-invitation)
exten => s,4,VoiceMail,s2001
Possibly Related Posts:
- Asterisk : upgrading from Zaptel 1.2 or 1.4 to DAHDI 2.0-README.txt
- Asterisk :Quick packages install on CentOs 5 and Asterisk 1.4.X
- Security VOIP :Automated VOIP penetration testing using sipautohack
- Linux : Asterisk voice mail commands
- Asterisk : About Asterisk from Digium Steve Sokol
