Summary:ASTERISK-07177: [patch] [post-1.4] QueueLog app so you can write to the queue_log from your dialplan
Reporter:Steve Davies . (stevedavies)Labels:
Date Opened:2006-06-15 10:21:02Date Closed:2006-07-16 14:37:49
Versions:Frequency of
Environment:Attachments:( 0) queuelog.patch
Description:The patch adds a new app "QueueLog" which allows you to write to the queue_log from your dialplan.

This has proven useful, for example, to get AGENTLOGIN entries in the queue_log when you use AddQueueMember instead of real agents.  You can also invent your own stuff - AGENTPAUSE for example.

Disclaimer on file do'ncha'know

Comments:By: Steve Davies . (stevedavies) 2006-07-05 05:01:50

Just wanted to note that this new QueueLog app has proven so useful I don't know how I got on without it before.

I wrote a multi-machine call-distributor entirely in dialplan code; came out nicely.  With QueueLog I was able to write a complete clone of the standard app_queue/chan_agent queue_log that Zoa's queuestats was quite happy to process.


By: Russell Bryant (russell) 2006-07-16 14:37:48

I went ahead and merged this into the trunk since it is simple enough.  I did make some modifications, though.

- You don't need to check the result of ast_strdupa(), since it can never fail (or at least fail in a way that will return NULL)

- you missed the ast_application_unregister for the unload_module() function

- i added some sanity checking on the arguments to make sure they weren't empty after they had been parsed

By: Jacklina Richard (jacklina.richard) 2013-02-17 23:51:09.410-0600


I'm new to asterisk. How do i apply the patch cause i really need the queue_log to capture the AGENTLOGIN and AGENTLOGOFF events.


By: Matt Jordan (mjordan) 2013-02-18 06:29:55.115-0600

This patch has been merged into Asterisk since 2006. You shouldn't need to apply the patch if you are using any supported version of Asterisk.

[QueueLog - Asterisk 1.8|https://wiki.asterisk.org/wiki/display/AST/Application_QueueLog]
[QueueLog - Asterisk 10|https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Application_QueueLog]
[QueueLog - Asterisk 11|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_QueueLog]

By: Jacklina Richard (jacklina.richard) 2013-02-18 06:53:13.226-0600

Thanks Matt,

I'm using asterisk 1.8 with freepbx. i'm not good in CLI so i have successfully configured all my queues and extension using web. I want to do agent configuration where by an agent logins into a queue on any phone and receive calls then logoff later. I did this using dynamic members on queue with extension. But now i want to configure agents.