# SOLVED: Asterisk MixMonitor not recording queue calls

**URL:** <https://community.asterisk.org/t/solved-asterisk-mixmonitor-not-recording-queue-calls/46048>\
**Category:** Asterisk Support\
**Created:** [May 1, 2014, 11:33am UTC](https://community.asterisk.org/t/solved-asterisk-mixmonitor-not-recording-queue-calls/46048 "2014-05-01T11:33:37Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [May 1, 2014, 11:33am UTC](https://community.asterisk.org/t/solved-asterisk-mixmonitor-not-recording-queue-calls/46048/1 "2014-05-01T11:33:37Z")

</div>

In my Asterisk 1.8 setup, MixMonitor() in the dial plan successfully records calls without issue.

However for queue calls, while a recording file is generated and the log shows that MixMonitor() is recording, however the files are tiny and contain no audio.

This is my queue:

```auto
member => SIP/extension123
monitor-type=MixMonitor
monitor-format=wav49
```

(I also have directmedia=no set for the device in sip.conf)

I have also tried changing the monitor type to “Monitor” and the format to “wav”, with the same result. I have also tried adding local channels as queue members and recording from the local channel in the dial plan instead of using the queue’s recording and I get the same result (even though when dialing the local channel extension directly the recording works fine).

Any help would be appreciated.

Update: I am trying the same thing now on Asterisk 11.7 and experiencing the same issue

---

<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:** [May 1, 2014, 1:30pm UTC](https://community.asterisk.org/t/solved-asterisk-mixmonitor-not-recording-queue-calls/46048/2 "2014-05-01T13:30:05Z")

</div>

Figured it out: calls were being passed to the queue via a local channel. Apparently you need to add “\n” to the local channel call to keep it from being “optimized away”.

For example:

```auto
Dial(local/7001@Queues/n)
```

Source: [svnview.digium.com/svn/asterisk/ … rev=197897](http://svnview.digium.com/svn/asterisk/branches/1.6.1/apps/app_mixmonitor.c?view=markup&pathrev=197897)
