Summary:ASTERISK-14847: Monitor does not produce output files (via dial plan or queues)
Reporter:Matthew Beckwell (mbeckwell)Labels:
Date Opened:2009-09-17 20:06:00Date Closed:2009-09-29 23:25:18
Versions:Frequency of
Description:When using the Monitor application, the output files are not created. The last stable tarball version I can see where this worked correctly was in

As of, the expected "XXXX-in.wav" and "XXXX-out.wav" files are not created.

****** STEPS TO REPRODUCE ******

Two scnenarios to easily reproduce:

;Simple Dialplan Configuration:

exten => 4901,1,Monitor(wav,${UNIQUEID},mb)
exten => 4901,n,Dial(SIP/${EXTEN}@bwas1)


;Simple Queue Configuration:
musicclass = moh-plus
maxlen = 0
periodic-announce-frequency = 75
min-announce-frequency = 75
announce-frequency = 0
announce-holdtime = no
announce-position = no
periodic-announce = callcenter/all-assisting-others-please-hold1
monitor-type = Monitor
monitor-format = wav

exten => 4902,1,Answer
exten => 4902,n,Queue(repair,,,,300,,,,)


MixMonitor does not appear to be affected, as it seems to correctly output a mixed file as expected in both scenarios and both releases.

According to the debug output, both releases appear to at least be attempting to use Monitor: Debug Output:
[Sep 17 19:23:54] DEBUG[29078] app_queue.c: Starting Monitor as requested. Debug Output:
[Sep 17 19:29:55] DEBUG[30341] app_queue.c: Starting Monitor as requested.
Comments:By: Matthew Beckwell (mbeckwell) 2009-09-17 20:22:00

For what it's worth, I just tested against SVN-branch-1.6.2-r219376 with the same result.

By: Leif Madsen (lmadsen) 2009-09-18 07:22:57

Could you also verify this same issue is happening in Thanks!

I've updated this as a blocker for the next release.

By: Matthew Beckwell (mbeckwell) 2009-09-18 09:11:03

I just tested against, and it does not appear to be affected by this issue. correctly produces the -in.wav and -out.wav files as expected.

By: Leif Madsen (lmadsen) 2009-09-18 12:36:58

OK great, thanks! That may be useful.

By: Tilghman Lesher (tilghman) 2009-09-29 11:33:14

Branch:  http://svn.digium.com/svn/asterisk/team/tilghman/optional_api_162/

By: Tilghman Lesher (tilghman) 2009-09-29 11:39:06

Please download and compile the branch and check if the Monitor problem is solved here.  I believe it should be.

By: Matthew Beckwell (mbeckwell) 2009-09-29 16:43:27

SVN-branch-1.6.2-r220836 still produces the same (broken) result.

By: Tilghman Lesher (tilghman) 2009-09-29 16:49:13

Not the 1.6.2 branch, but the branch in the above note.

By: Matthew Beckwell (mbeckwell) 2009-09-29 20:42:47

My apologies, I mis-read your note.
This does indeed appear to be working properly in SVN-tilghman-optional_api_162-r220413.

In both of my test scenarios (using Queues and calling it directly from the Dialplan), this functionality is restored.

By: Digium Subversion (svnbot) 2009-09-29 23:25:17

Repository: asterisk
Revision: 221042

U   branches/1.6.2/apps/app_voicemail.c
U   branches/1.6.2/include/asterisk/agi.h
U   branches/1.6.2/include/asterisk/monitor.h
D   branches/1.6.2/include/asterisk/optional_api.h
U   branches/1.6.2/include/asterisk/smdi.h

r221042 | tilghman | 2009-09-29 23:25:17 -0500 (Tue, 29 Sep 2009) | 7 lines

Remove optional_api from 1.6.2 branch, since it is not currently working.
This is a blocking issue for the 1.6.2 release.
(closes issue ASTERISK-14847)
Reported by: mbeckwell
Branch: http://svn.digium.com/svn/asterisk/team/tilghman/optional_api_162
Tested by: mbeckwell