Summary: | ASTERISK-07366: [patch] [post-1.4] Additional information for EXITWITHTIMEOUT and EXITWITHKEY events log | ||
Reporter: | BicomSystems Ltd. (fkasumovic) | Labels: | |
Date Opened: | 2006-07-20 10:10:49 | Date Closed: | 2007-07-11 19:58:46 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_queue_log.patch ( 1) app_queue.patch | |
Description: | The problem is if you want to make some kind of statistic from asterisk queue log, You can't calculate for example mean wait time of all callers who are exit for some reason before they get answer. You can do it only for the callers who are abandoned queue, what if some of them exited because EXITWITHTIMEOUT or EXITWITHKEY. This is trivial patch, and adds more information for above events. This patch changes queue log for this events to: // From EXITWITHKEY(key|position) To EXITWITHKEY(position|origposition|waittime|key) position - Exit position origposition - Entry position waittime - How long callers was wait in queue key - Exit key caller was press. First tree params are in order equal to ABANDON event, it makes life easier for someone who want to pool out statistic from this log. // From EXITWITHTIMEOUT(position) To EXITWITHTIMEOUT(position|origposition|waittime) position - Exit position origposition - Entry position waittime - How long callers was wait in queue Timeout for EXITWITHTIMEOUT is max wait time, but this value can be changed in configuration during time. And You want statistic for wide period. Regards, Faruk Kasumovic | ||
Comments: | By: Serge Vecher (serge-v) 2006-07-20 11:39:20 faruk: thanks for contributing to Asterisk. Since this is a new feature, you will need to redo your patch against latest trunk, not 1.2.x. By: jmls (jmls) 2006-10-31 13:35:39.000-0600 faruk: can we have a patch for trunk ? Many thanks By: jmls (jmls) 2006-11-25 01:59:58.000-0600 ping. housekeeping By: BicomSystems Ltd. (fkasumovic) 2006-11-27 03:37:20.000-0600 Sorry! I was very busy in last month. I will take some time and u will get patch for trunk today. By: BicomSystems Ltd. (fkasumovic) 2006-11-27 04:52:00.000-0600 Here is patch for trunk. I also found that form version 1.2.12 there is no entry position for COMPLETEAGENT and COMPLETECALLER. So I put it back to. I made test in real world and didn't found any problems. I don't know how and why entry position is lost from version 1.2.12 ? U can check http://www.voip-info.org/wiki/view/Asterisk+log+queue_log, and that's how it was before. Regards. Faruk By: Russell Bryant (russell) 2007-04-30 11:46:36 This patch has been added to trunk with some small modifications in revision 62462, thanks! |