# Stop MixMonitor for a specific channel

**URL:** <https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089>\
**Category:** Asterisk Support\
**Created:** [February 20, 2024, 5:08pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089 "2024-02-20T17:08:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amorette](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/amorette/32/7460_2.png) [@amorette](https://community.asterisk.org/u/amorette)\
**Post date:** [February 20, 2024, 5:08pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/1 "2024-02-20T17:08:20Z")

</div>

Good evening eveyone.

Before all, it was a pleasure to be at Asterisk 25th anniversary in FLL last week.

My question today is about MixMonitor :  
I would like to stop recording one specific channel but keep recording the other one.

Of course I know the Pause/UnpauseMonitor AMI command (Yes @jcolp I’m still an AMI user 😄 ) but it stops all the channels.

Any idea ?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [February 20, 2024, 5:24pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/2 "2024-02-20T17:24:05Z")

</div>

Define channel. Asterisk channel? If so, MixMonitor doesn’t stop all channels. It stops what is specified.

---

<div class="post-metadata">

**Author:** ![amorette](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/amorette/32/7460_2.png) [@amorette](https://community.asterisk.org/u/amorette)\
**Post date:** [February 20, 2024, 5:37pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/3 "2024-02-20T17:37:15Z")

</div>

Sorry, I misspoke :  
I do a MixMonitor on a bridged channel so MixMonitor record both in and out channels.  
I would like MixMonintor to stop recording one specific channel of the bridge

scenario : a call comes in (channel pjsip/trunk-xxxxx), the dialplan dials ext 300 and bridge the call so we have pjsip/trunk-xxxx bridged to pjsip/300-yyyyy and MixMonitor recording both.

I would like to stop recording pjsip/trunk-xxxxx and continue recording pjsip/300-yyyyy

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [February 20, 2024, 5:40pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/4 "2024-02-20T17:40:35Z")

</div>

MixMonitor is recording audio flowing for a single channel, specifically generally each direction. It’s not recording each channel itself. If you stop MixMonitor then you stop the recording. You’d need to start a new one up on the other channel.

---

<div class="post-metadata">

**Author:** ![amorette](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/amorette/32/7460_2.png) [@amorette](https://community.asterisk.org/u/amorette)\
**Post date:** [February 20, 2024, 6:02pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/5 "2024-02-20T18:02:13Z")

</div>

Right! I misunderstood the concept. My bad.

So my question is: can I choose to record in or out audio stream ?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [February 20, 2024, 6:04pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/6 "2024-02-20T18:04:53Z")

</div>

You can choose when MixMonitor is invoked to record them separately. You can’t alter that afterwards. The most I can think of is using MixMonitorMute to mute a specific direction so that direction is no longer recorded.

---

<div class="post-metadata">

**Author:** ![amorette](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/amorette/32/7460_2.png) [@amorette](https://community.asterisk.org/u/amorette)\
**Post date:** [February 20, 2024, 6:07pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/7 "2024-02-20T18:07:55Z")

</div>

Of course the MixMonitorMute is my solution…thank you so much.  
I need to get my brain back from Fort Lauderdale…

Have a nice day

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [March 21, 2024, 6:08pm UTC](https://community.asterisk.org/t/stop-mixmonitor-for-a-specific-channel/101089/8 "2024-03-21T18:08:07Z")

</div>

Closed on March 21, 2024, 6:08pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
