Issue : Recording of agents calls in Call center


I am having asterisk-, dahdi-linux-,dahdi-tools-, asterisk-addons- on my fedora fc-8 system.
I have created the call center setup in asterisk. My calling is working fine. I want to record all the conversation of all agents.
For that I have set “MONITOR_FILENAME” parameter. But it is not saving the file with given formate. It records the file with default format only.It records the calls with UNIQUEID. But I want the recorded file in my own formate.

Can any one please suggest a solution for this ? “MONITOR_FILENAME” should be use in extensions.conf or in some other file ?
Bellow is my configuration files :


exten => _X.,1,Answer
exten => _X.,n,Set(MONITOR_FILENAME=${EXTEN:}-${STRFTIME(${EPOCH},%Y%m%d-%H%M)}-${CALLERID(num)})
exten => _X.,n,Queue(Process-1-English,tT,300)


agent => 1000
agent => 2000

Recorded files:


Thanks for support.



I have tried all possible things, but the call recording is happening with default name only with unique id.

Can any one please suggest me the way to solve this issue.

Thanks for your support.


are you certain that your MONITOR_FILENAME has the proper value in it before going off to the Queue?
what do you see on your console from the set command?
Your monitor_filename works for me on my system which is

using this code:

I see this:

[quote] – Executing [3205@from-sip:1] NoOp(“SIP/3113-00001398”, “testing”) in new stack
– Executing [3205@from-sip:2] Set(“SIP/3113-00001398”, “MONITOR_FILENAME=3205-20100618-0932-3113”) in new stack
– Executing [3205@from-sip:3] Queue(“SIP/3113-00001398”, “test”) in new stack


Thank you very much for your reply.

For my extension

exten => 909,1,Answer()
exten => 909,n,Set(MONITOR_FILENAME=${EXTEN:}-${STRFTIME(${EPOCH},%Y%m%d-%H%M)}-p1English-${CALLERID(num)})
exten => 909,n,Queue(Process-1-English,tT,300)

I am having the following on the Consol

-- Executing [909@default:1] Answer("SIP/1000-00000000", "") in new stack
-- Executing [909@default:2] Set("SIP/1000-00000000", "MONITOR_FILENAME=909-20100621-1701-p1English-1000") in new stack
-- Executing [909@default:3] Queue("SIP/1000-00000000", "Process-1-English,tT,,,300") 


but the file is not created with this name. it is created with the default uniqueid only.
Dont know what is going wrong ?

Thanks for any help in advance.