QueueMetrics > Outbound and QueueMetrics
Quemeterics not recognising remote caller hangup
QueueMetrics:
I am still wondering what happens - can you please try this:
- remove the file /var/log/asterisk/agi-log.txt
- try placing exactly one call through queueDial and have the remote hangup
After this, have a look at the /var/log/asterisk/agi-log.txt file and posty the results you see.
What I think tentatively is this: the call goes through, but as the DIALSTATUS is filled, the call is repeated. Bt I cannot say much without having a look at the log....
AngeloA:
Hi
Below is the output from the agi-log.txt, where the remote caller hangup first.
*QueueDial ---- 3461- ZAP/g2/3461----Wed May 2 11:30:50 2007
*Dial Num: '3461' Chan: 'ZAP/g2/3461' on Queue: '2220' Agent: 'Angelo'
*SetVar: 'QDIALER_NUMBER' = '3461' - 200 result=1
*SetVar: 'QDIALER_CHANNEL' = 'ZAP/g2/3461' - 200 result=1
*SetVar: 'QDIALER_QUEUE' = '2220' - 200 result=1
*SetVar: 'QueueName' = '2220' - 200 result=1
*SetVar: 'QDIALER_AGENT' = 'Angelo' - 200 result=1
As you can see it does not log anything after the agent name, although it does dial out etc.
I seem to think that queuemetrics does not recognise the remote hangup "beep- beep" tone and that's why it does a fail-over.
QueueMetrics:
Hello Angelo,
I think you should use a numeric code for the Agent, like "1234" so that it logs "Agent/1234" and not "Agent/Angelo".
Also, are you sure that "ZAP/g2/3461" is the number to dial correctly? it seems a bit short to be a PSTN number...
AngeloA:
Hi
I have replaced the name with the number, but this change had no effect. The AGI script still does not terminate properly when the remote side hangs up. The PSTN number that I dial is correct, I just deleted the first part for anonymity.
Is there anything else that you can suggest I look at?
Thanks in advance
Angelo
QueueMetrics:
Okay, I would then try calling this manually (by you) until you find what goes wrong. You can also look at /var/log/asterisk/agi-log.txt for debug.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version