Summary: | ASTERISK-03577: [patch] queue_log AGENTCALLED logging | ||
Reporter: | k3v (k3v) | Labels: | |
Date Opened: | 2005-02-24 15:48:33.000-0600 | Date Closed: | 2011-06-07 14:05:32 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) queue-agentcalled-log.patch.txt | |
Description: | There is a manager event 'AgentCalled' which is enabled by 'eventwhencalled' setting in queues.conf. This one-liner logs these events to the queue_log as well, if the flag is true. ****** ADDITIONAL INFORMATION ****** disclaimer on file | ||
Comments: | By: k3v (k3v) 2005-02-24 23:06:46.000-0600 This allows easier queue_log processing, when the channel dialed is not the channel answered. e.g. Local/${agent}@context member would log a 'CONNECT' under SIP/${notagent}-blah, and tracking that back to the correct member entry (agent, in my Local channel case) can be difficult, if not impossible. With the called entry this adds, one can simply match the unique id. 1109281348|1109281341.95|tech|NONE|ENTERQUEUE||8013035939 1109281348|1109281341.95|tech|Local/139@agent_call|AGENTCALLED|0 1109281353|1109281341.95|tech|Local/118@agent_call|AGENTCALLED|5 ... 1109283582|1109281341.95|tech|Local/139@agent_call|AGENTCALLED|2234 1109283582|1109281341.95|tech|Local/118@agent_call|AGENTCALLED|2234 1109283602|1109281341.95|tech|SIP/100-fea2|CONNECT|2254 1109285265|1109281341.95|tech|SIP/100-fea2|COMPLETECALLER|2254|1663 By: Mark Spencer (markster) 2005-03-12 13:00:06.000-0600 The manager event is an option due to overhead required for so many messages. If we're logging to disk, that could generate a great deal of additional disk activity. Is it possible to make this a separate option somehow, or to find another way to get at the crux of what you are wanting to know? By: Mark Spencer (markster) 2005-03-15 22:08:23.000-0600 Any update here? How do you feel about making it a separate option? By: k3v (k3v) 2005-03-19 09:48:11.000-0600 I no longer use Local channel, and instead have patched app_queue to handle the features I used Local for. I'll drop those in for your perusal at some point. As far as this goes, I don't need it anymore, but I think the ability to match answered to called is important. I'll make this an option later this week. By: Kevin P. Fleming (kpfleming) 2005-03-31 15:16:13.000-0600 Any updates here? By: k3v (k3v) 2005-04-03 11:20:13 other issues taking priority. I'll try to have something this week. By: Mark Spencer (markster) 2005-05-23 00:39:24 It's been more than a week *g* Any progress or interest remaining? By: k3v (k3v) 2005-05-23 11:29:06 close this out. I'll be contributing more once I get some other projects out. By: Michael Jerris (mikej) 2005-05-25 12:34:12 Reopen or open a new report when you are ready. Thanks. |