QueueMetrics > Outbound and QueueMetrics

queueDial.agi + trixbox 2.4 + asterisk 1.4

(1/2) > >>

hun:
for some reason the queueDial.agi script that used to work very well for outbound call queue tracking doesn't seem to be working anymore with the new version of trixbox and asterisk. Is there a new queueDial script that I should use instead?
Is the implementation found at http://queuemetrics.com/faq.jsp#faq-013-queueDial correct for these new versions?
Any help would be appreciated.

QueueMetrics:
You should see this: http://forum.queuemetrics.com/index.php?topic=41.0

hun:
The problem seems to be with this section

 exten => _9XXX.,1,SetVar(MY_QUE=${EXTEN:1:3})
exten => _9XXX.,2,SetVar(MY_NUM=${EXTEN:4})
exten => _9XXX.,3,SetVar(MY_AGENT=${CALLERIDNUM})
exten => _9XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _9XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten => _9XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|Zap/g0/${MY_NUM}|q-${MY_QUE}|Agent/${MY_AGENT})
exten => _9XXX.,7,Congestion

Asterisk is not reading at all that section or executing those commands for that matter. I thought it would that the extensions_custom.conf wasn't included, but after checking extensions.conf I can see it included there and also any other commands on that file go through, but just these commands don't.
Any ideas?

revolution:

--- Quote from: hun on January 29, 2008, 00:45:14 ---The problem seems to be with this section

 exten => _9XXX.,1,SetVar(MY_QUE=${EXTEN:1:3})
exten => _9XXX.,2,SetVar(MY_NUM=${EXTEN:4})
exten => _9XXX.,3,SetVar(MY_AGENT=${CALLERIDNUM})
exten => _9XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _9XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten => _9XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|Zap/g0/${MY_NUM}|q-${MY_QUE}|Agent/${MY_AGENT})
exten => _9XXX.,7,Congestion

Asterisk is not reading at all that section or executing those commands for that matter. I thought it would that the extensions_custom.conf wasn't included, but after checking extensions.conf I can see it included there and also any other commands on that file go through, but just these commands don't.
Any ideas?

--- End quote ---

I believe the command has been changed to 'SET' as opposed to 'SETVAR' -- so that may be a good place for you to start... :)

hun:
Thanks for the tip. SetVar is deprecated in Asterisk 1.4, not only that but ${CALLERIDNUM} is also deprecated. You have to you use ${CALLERID(num)} or ${CALLERID(name)}. So the script would be

exten => _9XXX.,1,Set(MY_QUE=${EXTEN:1:3})
exten => _9XXX.,2,Set(MY_NUM=${EXTEN:4})
exten => _9XXX.,3,Set(MY_AGENT= ${CALLERID(num)})
exten => _9XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _9XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten => _9XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|Zap/g0/${MY_NUM}|q-${MY_QUE}|Agent/${MY_AGENT})
exten => _9XXX.,7,Congestion

Navigation

[0] Message Index

[#] Next page

Go to full version