[asterisk-users] Set CDR userfield for Queues

William Stillwell (Lists) william.stillwell-lists at ablebody.net
Fri Jan 22 08:42:58 CST 2010


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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Deep D
Sent: Friday, January 22, 2010 9:23 AM
To: asterisk-users at 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





More information about the asterisk-users mailing list