Stop recording

I have started recording a conversation once a channel is bridged. Before hanging up the call through some control i want to stop recording. Is it possible? There are no options or parameters for stop monitor command. How could this be implemented? Help me out. Thanks.

I have an Asterisk running, and to stop recording I have to press the same characters that I used to start the recording.

I hope this works for you.