I want to do something like this
exten = 1234,n,Queue(6000,c)
exten = 1234,n,Set(CDR(userfield)=${Agent})   ;; where Agent is the
agent who answered the call
exten = 1234,n,Hangup


On Fri, Jan 22, 2010 at 8:01 PM, Danny Nicholas <[email protected]> wrote:
> 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: [email protected]
> [mailto:[email protected]] On Behalf Of Deep D
> Sent: Friday, January 22, 2010 8:23 AM
> To: [email protected]
> 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
>

-- 
_____________________________________________________________________
-- 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

Reply via email to