# How to give a command to stop monitor call

**URL:** <https://community.asterisk.org/t/how-to-give-a-command-to-stop-monitor-call/6661>\
**Category:** Asterisk Support\
**Created:** [May 26, 2006, 3:26am UTC](https://community.asterisk.org/t/how-to-give-a-command-to-stop-monitor-call/6661 "2006-05-26T03:26:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhu8080](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zhu8080](https://community.asterisk.org/u/zhu8080)\
**Post date:** [May 26, 2006, 3:26am UTC](https://community.asterisk.org/t/how-to-give-a-command-to-stop-monitor-call/6661/1 "2006-05-26T03:26:56Z")

</div>

hello, Guys:  
I now, am using monitor() to record the calls. but i have check all commands, there is no command to let the dialplan to execute stopmonitor(). only when calls hangup, the this command will be executed. i have tried using AGI, no result. now i want to control the calls duration. i just monitor the call for first five minites and after then, i stop monitoring the calls. but the converition is still going on. if any knows this, please give me a hand. thanks!
