Stuck in Call Queue

I need to be able to allow callers to press ‘0’ to exit out of the call queue and leave voicemail. This works on another box running AMP 1.10.010 but not on the box running FreePBX 2.0.1.

Not only can my callers not exit the call queue, the Voice Menu (IVR-10) does not play at all. I don’t see where the IVR is referenced in the conf files, but my GUI is set to the correct menu.

In an attempt to fix this, I’ve made the modifications to /usr/src/freepbx/amp_conf/htdocs/admin/modules/queues/functions.inc.php as referenced by http://www.freepbx.org/changeset/1300 to no avail.

###############################
queues.conf
###############################
[general]
;
; Global settings for call queues
; (none exist currently)
;
; Note that a timeout to fail out of a queue may be passed as part of application call
; from extensions.conf:
; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
; example: Queue(dave|t|||45)

[default]
;
; Default settings for queues (currently unused)
;

#include queues_custom.conf
#include queues_additional.conf

###############################
queues_additional.conf
###############################
[200]
wrapuptime=5
timeout=15
strategy=ringall
retry=5
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=
member=Local/104@from-internal,0
member=Local/103@from-internal,0
member=Local/102@from-internal,0
member=Local/101@from-internal,0
maxlen=0
leavewhenempty=no
joinempty=Yes
context=
announce-holdtime=no
announce-frequency=30

###############################
extensions_additional.conf
###############################
;; SNIP ;;
[ivr-10]
include => ivr-10-custom
include => ext-local
include => app-directory
exten => h,1,Hangup
exten => s,1,Set(LOOPCOUNT=0)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=10)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Background(custom/Queue)
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 0,1,Goto(ext-local,${VM_PREFIX}900,1)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => t,1,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-10,s,begin)

; end of [ivr-10]
;; SNIP ;;