Would this be part of 1.6.1 release??? Regards
-----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Atis Lezdins Enviado el: Wednesday, November 12, 2008 5:12 PM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] QueueLog from AMI On Wed, Nov 12, 2008 at 7:31 PM, Sebastian Gutierrez <[EMAIL PROTECTED]> wrote: > Not if I have realtime, I'm inserting and deleting from queue_members table, > so I don't have that info. > As am I. I posted a patch that fixes this, so you could be interested in keeping it in mind (if not even backporting 3 added lines) when upgrading to 1.6.1. http://svn.digium.com/view/asterisk?view=rev&revision=120166 Regards, Atis > > > -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de Atis Lezdins > Enviado el: Wednesday, November 12, 2008 3:16 PM > Para: Asterisk Users Mailing List - Non-Commercial Discussion > Asunto: Re: [asterisk-users] QueueLog from AMI > > On Wed, Nov 12, 2008 at 6:44 PM, Sebastian Gutierrez > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> >> >> How can I pass the following data to te queuelog via ami?? >> >> >> >> Agent,data. >> >> >> >> ?? >> >> >> >> I'm doing this: >> >> Action: QueueLog\r\nQueue: queueprueba\r\nEvent: Login\r\n\r\n >> >> >> >> And thath works fine getting the log with the event but I cant find how to >> pass the agent and data parameters >> >> >> >> Any idea? >> > > >From app_queue.c (1.6.0): > > queuename = astman_get_header(m, "Queue"); > uniqueid = astman_get_header(m, "UniqueId"); > interface = astman_get_header(m, "Interface"); > event = astman_get_header(m, "Event"); > message = astman_get_header(m, "Message"); > > ast_queue_log(queuename, S_OR(uniqueid, "NONE"), interface, event, > "%s", message); > > So, agent would be "Interface" and data would be "Message". > > However, i wonder why do you need to pass "Login" event, as any kind > of Queue Login (dialplan or AMI) would do that automatically. > > Regards, > Atisw > > -- > Atis Lezdins, > VoIP Project Manager / Developer, > [EMAIL PROTECTED] > Skype: atis.lezdins > Cell Phone: +371 28806004 > Cell Phone: +1 800 7300689 > Work phone: +1 800 7502835 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Atis Lezdins, VoIP Project Manager / Developer, [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
