[asterisk-users] queue agent Monitor

Joe Dennick joe at dennick.net
Thu Dec 7 13:47:40 MST 2006


The queue application sends the call to an agent.  Use the agent
extension's dialplan to set up the monitor, that way you will have the
actual agent extension.

On Thu, 2006-12-07 at 14:18 -0600, Ed Nuñez wrote:
> Hello list.
> 
>  
> 
> Does anyone know if and how I can use in my context the following
> variable found in the CDR field?
> 
>  
> 
> DSTCHANNEL
> 
>  
> 
> I am trying to make the answering agent part of the monitor file name,
> but it is not working. 
> 
>  
> 
> exten=> 0072,1,Answer
> 
> exten=> 0072,2,Ringing
> 
> exten=> 0072,3,Wait(2)
> 
> exten=> 0072,4,set(MONITORFILENAME=
> ${DST_CHANNEL}${CALLERID}-${TIMESTAMP})
> 
> exten=> 0072,5,Queue(NOC)
> 
> exten=> 0072,6,Hangup
> 
> include => parkedcalls
> 
> #include <users.conf>
> 
>  
> 
> This is what I am getting for a file name.
> 
>  
> 
> 4072493400-20061207-160632.wav
> 
>  
> 
> Caller - timestamp.wav 
> 
> But I want to see
> 
> Agent(1656)-caller-timestamp.wav
> 
>  
> 
>  
> 
> Thank you
> 
>  
> 
>  
> 
>  
> 
> Ed Nuñez
> 
> IT/Telecom Engineer
> 
>  
> 
> 4037 Metric Drive
> 
> Winter Park, FL
> 
>  
> 
> (o) 407-384-4200 x 1656
> 
> (f) 407-384-4222
> 
> (c) 732-925-0730
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.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