[asterisk-users] How to get the agent id in the recording filename

David Gagnon dgagnon at bgm.qc.ca
Wed Oct 18 22:20:36 MST 2006


Hi,

 

I'm sure some else has been facing this problem. I want to record all the
call coming in my queue. I want this format:
YYYYMMDD-HHMMSS-AgentID-CallerId - UniqueID. I'm using the monitor feature
inside the queue.conf. I can't use the agents.conf monitor features because
I'm using dynamic agent (addqueuemember)

 

               The problem I'm facing is that I can change the filename
before the call enters the queue but at this step, I don't know which agent
will get the call.

 

Curent dialplan :

 

exten =>
s,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/${TIMESTAMP:0:4}/${TIME
STAMP:4:2}/${TIMESTAMP}-${CALLERIDNUM}-${UNIQUEID})

exten => s,n,Playback(recording)

exten => s,n,Queue(myJavaClub,t,,,300)

 

Anyone could help?

 

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061018/3cdf9217/attachment.htm


More information about the asterisk-users mailing list