[asterisk-users] Set CDR userfield for Queues
Danny Nicholas
danny at debsinc.com
Fri Jan 22 08:31:40 CST 2010
Since userfield is a variable, that would be a qualified yes.
Here's how I use it in my dialplan
- exten => NXXXXXX,1,noop(Answer())
- exten => NXXXXXX,n,Verbose (Dial DAHDI g1 ${EXTEN})
- exten => NXXXXXX,n,Dial(DAHDI/g1/${EXTEN},60,miKkTtg)
- exten => NXXXXXX,n,Set(CDR(userfield)=${CDR(userfield)}
-Hangupcause:${HANGUPCAUSE})
- exten => NXXXXXX,n,Hangup(${HANGUP_CAUSE})
How I envision what you're asking:
- exten => s,n,Set(CDR(userfield)=${CDR(userfield)} -Agent:${AGENT})
--
Danny Nicholas
--
-----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 8: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