I use Asterisk 1.4.29 and FreePBX 2.7.0.3.
I configured a queue without music on hold (instead plays ring).
It looks like this in extensions_additional.conf
exten => 4001,1,Macro(user-callerid,)
exten => 4001,n,Answer
exten => 4001,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 4001,n,Set(__BLKVM_BASE=${EXTEN})
exten => 4001,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 4001,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != "1"],Set,_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm))
exten => 4001,n,Set(__NODEST=${EXTEN})
exten => 4001,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})
exten => 4001,n,Set(__MOHCLASS=none)
exten => 4001,n,Queue(4001,tr,,,3600)
exten => 4001,n,dbDel(${BLKVM_OVERRIDE})
exten => 4001,n,Set(__NODEST=)
exten => 4001,n,Goto(app-blackhole,hangup,1)
exten => 4001*,1,Macro(agent-add,4001,)
exten => 4001**,1,Macro(agent-del,4001)
exten => 4001,1,Goto(from-internal,${QAGENT},1)
Unfortunately this queue answers the call when customer dials our number.
Therefore the customer has to pay for being in the queue and hears ringing.
What i need ist that the part “exten => 4001,n,Answer” is deleted from the extension. I was told that this is not a problem ( http://forums.digium.com/viewtopic.php?p=142850&sid=17d02e2b99e331809db42a78531bceb4#p142850 ).
I now created the following part in extensions_custom.conf:
[ext-queues-custom]
exten => 4001,1,Macro(user-callerid,)
exten => 4001,n,NoOP(custom queue without answer)
exten => 4001,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 4001,n,Set(__BLKVM_BASE=${EXTEN})
exten => 4001,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 4001,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != "1"],Set,_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm))
exten => 4001,n,Set(__NODEST=${EXTEN})
exten => 4001,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})
exten => 4001,n,Set(__MOHCLASS=none)
exten => 4001,n,Queue(4001,tr,,,3600)
exten => 4001,n,dbDel(${BLKVM_OVERRIDE})
exten => 4001,n,Set(__NODEST=)
exten => 4001,n,Goto(app-blackhole,hangup,1)
exten => 4001*,1,Macro(agent-add,4001,)
exten => 4001**,1,Macro(agent-del,4001)
exten => 4001,1,Goto(from-internal,${QAGENT},1)
Unfortunately this does not work beacuse this part of extensions_custom.conf is not used.
How can i reach this?