Let me know if you figure it out, I am interested in this as well. Right now I have a cron job that executes this every 5 minutes..
UPDATE cdr SET userfield = MID( dstchannel, 1 , LOCATE( '-', dstchannel )-1) WHERE disposition = 'ANSWERED' AND LOCATE( '-', dstchannel ) > 0 and lastapp = 'Queue' and userfield <> '' -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Deep D Sent: Friday, January 22, 2010 9:23 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Set CDR userfield for Queues Hello, I am using Queue application with multiple agents in each queue. I want to set the CDR(userfield) for each cdr based on the agent answering the call. Is it possible to do this? Thanks -- _____________________________________________________________________ -- 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