I am using Asterisk 1.4 and i want to record incoming call and i want to give record file name will start with extension no. and add date and time. i know it is possible with monitor but the problem is when i have receive incoming call than i have ring 4 extension simultaneously and i want to generate record file only for the extension who pickup that call. i have use following statement to pickup call when all four extension no body pickup the call than it will transfer to extension no. 16.
exten => s,1,Dial(SIP/21&SIP/23&SIP/18&SIP/14,40,Tt)
exten => s,2,Dial(SIP/16,20,Tt)
Please help how i can do that