On Sep 8, 2014, at 12:27 AM, Arpit Gaur <arpitgaur6592@gmail.com> wrote:

sir ,i want to know how to write a lua script for recording a call...


Why would you need to do that in a lua script?  

https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session