[Home]

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
Priority:BlockerRegression?Yes
Status:Closed/CompleteComponents:Resources/res_monitor
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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 1.6.1.6.

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

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

Two scnenarios to easily reproduce:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Simple Dialplan Configuration:

;[extensions.conf]
exten => 4901,1,Monitor(wav,${UNIQUEID},mb)
exten => 4901,n,Dial(SIP/${EXTEN}@bwas1)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Simple Queue Configuration:
;[queues.conf]
[repair]
weight=1
ringinuse=no
autopause=yes
eventwhencalled=yes
musicclass = moh-plus
strategy=rrmemory
timeout=15
retry=5
wrapuptime=15
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

;[extensions.conf]
exten => 4902,1,Answer
exten => 4902,n,Queue(repair,,,,300,,,,)

****** ADDITIONAL INFORMATION ******

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:

1.6.1.6 Debug Output:
[Sep 17 19:23:54] DEBUG[29078] app_queue.c: Starting Monitor as requested.

1.6.2.0-rc2 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 1.6.1.7-rc1? 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 1.6.1.7-rc1, and it does not appear to be affected by this issue.

1.6.1.7-rc1 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

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=221042