Recording using AGI commands

I am new to asterisk. I would like to record a conversation using the AGI command RECORD FILE after a conversation has started. Can anyone tell me the procedure of how could this be done. I tried to dial a particular extension EXEC DIAL and then used RECORD FILE. I would also like to know the path where the recorded file will be stored. Thanks in advance.

Look under /var/spool/asterisk/