On some version of Asterisk, there are conditions when an unanswered call would exit the queue without leaving a trace of its exiting in the queue_log, therefore generating incomplete call processing events that lead reporting software like QueueMetrics to produduce inaccurate results.
You will notice this if you encounter pieces of the queue_log that look like the following example:
Here you can see that the caller-id 5555551234 entered the queue three times in a row but its exiting statuses were never recorded.
To solve this problem, it is important to know why the queue was exited without response, and this can be obtained with a sample piece of the dialplan like the following:
You should leave this code running for a while and then review the queue_log manually for traces of ENTERQUEUEs followed only by EXITCODE and EXITHANGUP records. They will be followed by the condition causing the problem, like TIMEOUT, FULL, JOINEMPTY, LEAVEEMPTY, JOINUNAVAIL, or LEAVEUNAVAIL.
After you have this information, you can know how to modify the dialplan to record a fake queue end entry, therefore producing a valid queue_log file.
Note: version 1.4 of Asterisk should finally be unaffected by this problem.
本文介绍了解决Asterisk某些版本中队列日志记录不完整的问题,该问题导致未接电话在没有记录退出状态的情况下离开队列,影响报告软件准确性。通过修改拨号计划,可以捕获退出队列的具体原因,并创建完整的队列日志文件。
3万+

被折叠的 条评论
为什么被折叠?



