[Home]

Summary:ASTERISK-07602: [patch] [post-1.4] Write to queue_log via AMI
Reporter:Alex Richardson (alexrch)Labels:
Date Opened:2006-08-26 06:03:12Date Closed:2006-11-17 14:47:50.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_queue.branch.patch
( 1) app_queue.trunk.patch
Description:This patch adds 'QueueLog' command to the Asterisk Manager Interface, using which you can add custom entries to the queue_log.

Action: QueueLog
Parameters: Queue, CallID, Agent, Event, Message

All parameters, but Queue and Event, are optional. This can however easily be changed (as it is only one simple IF in the middle of the manager_queue_log function).

Example:

Action: QueueLog
Queue: MyQueue
CallID: 1234567890.1234
Agent: 007
Event: SAYNAME
Message: My name is Bond|James Bond

Result in queue_log:

1156714275|1234567890.1234|MyQueue|007|SAYNAME|My name is Bond|James Bond

****** ADDITIONAL INFORMATION ******

app_queue.trunk.patch - patch for trunk version
app_queue.branch.patch - patch for branch version (also tested and works in 1.2.9, 1.2.10 and 1.2.11)

Please be gentle, this is my first patch :) - disclaimer will be faxed/posted to you guys on Monday.
Comments:By: Jason Parker (jparker) 2006-08-26 23:05:34

Please post here when your disclaimer has been faxed.

By: Alex Richardson (alexrch) 2006-08-30 12:59:21

Disclaimer has been faxed today, have you received it?

By: Alex Richardson (alexrch) 2006-09-05 04:36:59

Just checking if there's anything new with the disclaimer I sent? If everything's okay, then you can switch 'Disclaimer on File' to 'yes'. :)

By: jmls (jmls) 2006-11-01 05:35:59.000-0600

can we confirm that the disclaimer has arrived ? Thanks

By: Jason Parker (jparker) 2006-11-17 14:04:34.000-0600

Could you check on this if you get a chance?  Alternatively, perhaps you could show me how/where to check, so we don't have to keep bugging you.

By: Jason Parker (jparker) 2006-11-17 14:11:53.000-0600

Disclaimer confirmed - thanks Kevin.  Will try to review/commit shortly.

By: Jason Parker (jparker) 2006-11-17 14:47:49.000-0600

Committed to svn trunk revision 47806, with minor modifications.

Please note, that there were several changes that may break your existing usage (this was done to better fit the rest of the apps/functions/etc) - specifically I changed Agent to Interface and CallID to UniqueId.