Anything else funky I need to do to get the exit context in
queues.conf working? I have the exit context defined, but when I'm
in the queue, I press 1 or 2 but it keeps me in the queue. No break
in musiconhold or anything. It's like the queue is ignoring/not
recognizing my keypress. Had this working a few CVS revs ago.
Keypress during other menus is fine so I don't think it's a DTMF
issue, but I don't know that much about it so I may be wrong.
; queues.conf
[supportq-emergency]
periodic-announce = supportq-emergency-periodic-announce
periodic-announce-frequency = 60
musiconhold = default
announce = supportq-emergency-agent-announce
strategy = ringall
context = supportq-emergency
timeout = 15
retry = 5
announce-frequency = 0
announce-holdtime = no
monitor-format = gsm
monitor-join = yes
joinempty = strict
member => Local/2209@extensions
; extensions.conf
[supportq-emergency]
exten => 1,n,Wait(0.5)
exten => 1,n,Voicemail(u9000)
exten => 1,n,Hangup
exten => 2,n,Wait(0.5)
exten => 2,n,Playback(supportq-page-menu)
exten => 2,n,Playback(beep)
exten => 2,n,Read(CALLBACKNUM||20)
exten => 2,n,Playback(callbacknumber-recorded-as)
exten => 2,n,SayDigits(${CALLBACKNUM})
exten => 2,n,Playback(correct-1-reenter-2)
exten => 2,n,Read(1OR2||1)
exten => 2,n,GotoIf($[${1OR2} = 1 ] ?:1)
exten => 2,n,System(echo "${CALLERIDNAME} @ ${CALLBACKNUM} has paged
you via the Emergency Support Queue." | mail foo@bar.com)
exten => 2,n,Playback(pagesent)
exten => 2,n,Hangup()
exten => i,1,Playback(pm-invalid-option)
exten => t,1,Goto(1,1)