[Home]

Summary:ASTERISK-18164: MixMonitor - Handle is not released before HangUp
Reporter:Abhijit Deshpande (adeshpande@infocepts.com)Labels:
Date Opened:2011-07-22 02:56:52Date Closed:2011-09-26 14:38:43
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_mixmonitor
Versions:1.8.4 Frequency of
Occurrence
Related
Issues:
Environment:Asterisk 1.8.4.4 (RPM Installation) Linux asterisk 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:23:01 EDT 2011 i686 i686 i386 GNU/Linux Attachments:
Description:MixMonitor app does not close the filestream prior to HangUp of the call, in spite of explicitly using StopMixMonitor. This results in the recorded file not being available for post-processing.

== Using SIP RTP CoS mark 5
   -- Executing [6001@DLPN_DialPlan1:1] Macro("SIP/6000-0000002e", "stdexten,6001,SIP/6001") in new stack
   -- Executing [s@macro-stdexten:1] Set("SIP/6000-0000002e", "__DYNAMIC_FEATURES=infocepts#unpauseMonitor#pauseMonitor#recordings") in new stack
   -- Executing [s@macro-stdexten:2] Set("SIP/6000-0000002e", "ORIG_ARG1=6001") in new stack
   -- Executing [s@macro-stdexten:3] GotoIf("SIP/6000-0000002e", "0?6:4") in new stack
   -- Goto (macro-stdexten,s,4)
   -- Executing [s@macro-stdexten:4] Dial("SIP/6000-0000002e", "SIP/6001,20,tTHhkKxX") in new stack
 == Using SIP RTP CoS mark 5
   -- Called 6001
   -- SIP/6001-0000002f is ringing
   -- SIP/6001-0000002f answered SIP/6000-0000002e
   --  Feature Found: recordings exten: recordings
   -- Executing [s@macro-recordings:1] Playback("SIP/6000-0000002e", "auth-thankyou") in new stack
   -- <SIP/6000-0000002e> Playing 'auth-thankyou.gsm' (language 'en')
   -- Executing [s@macro-recordings:2] Set("SIP/6000-0000002e", "MONITOR_FILENAME=20110722-132445-6000") in new stack
   -- Executing [s@macro-recordings:3] Set("SIP/6000-0000002e", "origdate=Fri Jul 22 01:24:45 PM IST 2011") in new stack
   -- Executing [s@macro-recordings:4] Set("SIP/6000-0000002e", "origtime=1311321285") in new stack
   -- Executing [s@macro-recordings:5] Set("SIP/6000-0000002e", "callerchan=SIP/6000-0000002e") in new stack
   -- Executing [s@macro-recordings:6] Set("SIP/6000-0000002e", "callerid=6000") in new stack
   -- Executing [s@macro-recordings:7] Set("SIP/6000-0000002e", "origdir=20110722-132445-6000") in new stack
   -- Executing [s@macro-recordings:8] MixMonitor("SIP/6000-0000002e", "20110722-132445-6000.wav,b,GoTo(macro-rec-2,s,1)") in new stack
   -- Executing [s@macro-recordings:9] Set("SIP/6000-0000002e", "start=1311321285") in new stack
 == Begin MixMonitor Recording SIP/6000-0000002e
 == Spawn extension (macro-stdexten, s, 4) exited non-zero on 'SIP/6000-0000002e' in macro 'stdexten'
 == Spawn extension (DLPN_DialPlan1, 6001, 1) exited non-zero on 'SIP/6000-0000002e'
 == MixMonitor close filestream
 == Executing [GoTo(macro-rec-2,s,1)]
 == End MixMonitor Recording SIP/6000-0000002e
Comments:By: Leif Madsen (lmadsen) 2011-09-08 12:29:34.460-0500

I'm confused here, because I don't see where you're calling StopMixMonitor()...

By: Leif Madsen (lmadsen) 2011-09-12 13:10:35.144-0500

Requesting feedback from the reporter.

By: Leif Madsen (lmadsen) 2011-09-26 14:38:35.051-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines