How to stop the monitor after a duration1

Hello, Guys:
i have a problem in stopping te monitor. noew i want to stop the monitor the call after 20 seconds, but the calls are still going on. i tried a few times, there is no way to stop monitor.
thanks !
zhu