Record the extention on asterisk

how should i record the extention on asterisk ?
I want to enable tow kind of recording trunk side & station side both.


Ranjit Patel
Contact Center Architects
IP Telephony Architects

Have a look at monitor function in the dialplan functions
voip-info.org/wiki-Asterisk+cmd+monitor