How to change the recording file name settings

Hi all,

I want to change the format of recording file name so that it reveals dialed number and dialing number.
I am using elastix at my office.

Any help please?

regards

you should use ${EXTEN} and ${CALLERID(num)} variables in your file name .

which file dear?
sorry m new to asterisk :frowning:

The file that you are recording …

exten => _.,1,Set(FILENAME=${CALLERID(num)}-${EXTEN})
same => n,MixMonitor(${FILENAME}.gsm,b)

[quote=“omid.mohajerani”]The file that you are recording …

exten => _.,1,Set(FILENAME=${CALLERID(num)}-${EXTEN})
same => n,MixMonitor(${FILENAME}.gsm,b)[/quote]

i didnt get it sir… i mean where could i find these options too edit so that every new recording file name is of the format i desire?

Regards

Any help here?

You must learn AEL (Asterisk extensions language). If you will learn, you can do very simple and quickly solve problems like yours problems