Im currently have my IVR prompt the user to hit 1 for sales, 2 for service, 3 for other. The call then proceeds to route into a single queue.
What Im trying to do is track each incoming call by the button press
I've read through the Tracking DNIS and IVR information part of the user manual, but am having no luck.
I'm using asterisk 14 with freepbx, so Im currently modifying the extensions_additional.conf file to test and reloading the dialplan
[ext-queues]
include => ext-queues-custom
exten => 200,1,Macro(user-callerid,)
exten => 200,n,Answer
exten => 200,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 200,n,Set(__BLKVM_BASE=${EXTEN})
exten => 200,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 200,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != "1"]?Set(_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm)))
exten => 200,n,Set(__NODEST=${EXTEN})
exten => 200,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})
exten => 200,n,Set(__CWIGNORE=TRUE)
exten => 200,n,QueueLog(200,${UNIQUEID},NONE,INFO,IVR|${MYIVR})
exten => 200,n,Queue(200,t,,)
exten => 200,n,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 200,n,Set(__NODEST=)
exten => 200,n,Set(__CWIGNORE=)
exten => 200,n,Goto(ext-queues,200,1)
exten => 200*,1,Macro(agent-add,200,)
exten => 200**,1,Macro(agent-del,200)
exten => *45200,1,Set(QUEUENO=200)
exten => *45200,n,Goto(app-queue-toggle,s,start)
Here is the output to the queue_log file
1280689708|1280689705.10|200|NONE|INFO|IVR|
Any help is appreciated!