QueueMetrics forum
QueueMetrics => Outbound and QueueMetrics => Topic started by: Tiago on June 01, 2010, 12:43:59
-
I
When a agent makes the call, and disconnect, and then try again both calls appears in wallboard, as you can see in the attach file
http://yfrog.com/5joutboundnj
-
You mean the call does not close?
-
Exacly,
The user disconnect the call, but the call stays in the wallboard.
tks
-
Does this happen EVERY time or just every once in a while?
-
Hi,
just once in a while, it is not permanent
tks
-
It may be related to some error on the Asterisk side - do you use the AGI script or old queueDial.agi?
-
Hi
AGI Script
-
You should try and send one call out in order to duplicate the behaviour.
Take a trace of the CLI data.
-
It could just simply be the fact that the wallboard has not refreshed, your reload time is set to 18 seconds and the second call was only there for 16! It may be that simple...
-
Yes this is possible as well!
-
Here is the example of the configuration
; extension 28: agent custom dial
exten => 28,1,Answer
exten => 28,2,NoOp( "QM: Agent Custom Dial. Dialing ${EXTTODIAL} on queue ${OUTQUEUE} made by '${QM_LOGIN}'" )
exten => 28,3,Set(QDIALER_QUEUE=${OUTQUEUE})
exten => 28,4,Set(QDIALER_NUMBER=${EXTTODIAL})
exten => 28,5,Set(QDIALER_AGENT=Agent/${AGENTCODE})
exten => 28,6,Set(QDIALER_CHANNEL=SIP/${QDIALER_NUMBER}@GlobalPhone)
exten => 28,7,Set(QueueName=${QDIALER_QUEUE})
exten => 28,8,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV,b,)
exten => 28,9,Set(CALLERID(num)=210438870)
exten => 28,10,Goto(qm-queuedial,s,1)
exten => 28,11,Hangup
;
; ================================================================
; The following dialplan is used in order to make oubound calls
; that are tracked through QueueMetrics.
; See http://forum.queuemetrics.com/index.php?board=12.0
; ================================================================
[queuedial]
; this piece of dialplan is just a calling hook into the [qm-queuedial] context that actually does the
; outbound dialing - replace as needed - just fill in the same variables.
exten => _XXX.,1,Set(QDIALER_QUEUE=q-${EXTEN:0:3})
exten => _XXX.,n,Set(QDIALER_NUMBER=${EXTEN:3})
exten => _XXX.,n,Set(CALLERID(num)=219667100)
exten => _XXX.,n,Set(QDIALER_CHANNEL=SIP/GlobalPhone/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
exten => _XXX.,n,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV,b,)
exten => _XXX.,n,Set(CALLERID(all)=GLS <210438870>)
exten => _XXX.,n,Goto(qm-queuedial,s,1)
-
You sure it's not SIP/GlobalPhone/${QDIALER_NUMBER} ?
-
Hello
you are trying to tell me that this is wrong ?
exten => _XXX.,n,Set(QDIALER_CHANNEL=SIP/GlobalPhone/${QDIALER_NUMBER})
-
No no it may work, I was jus t wonderinhg whether iut would be workinbg or not.
-
Hi,
Yes it´s working but sometimes the calls don´t get updated in the real time displays.
Best Regards
-
You need to:
- turn on Asterisk logging
- find a call where the problem exists
- trace that in the logs to see what the problem was
I know it's a mess of a job :(