[asterisk-dev] [Code Review] MixMonitor external test

Russell Bryant russell at digium.com
Wed Apr 28 16:16:57 CDT 2010



> On 2010-04-28 15:19:14, David Vossel wrote:
> > /asterisk/trunk/tests/mixmonitor/run-test, lines 44-47
> > <https://reviewboard.asterisk.org/r/632/diff/2/?file=9696#file9696line44>
> >
> >     I was thinking that this would indicate if Asterisk was still holding on to the file descriptor for some reason as well. That's why I put this read before stopping Asterisk.

Did you try it?  If I were to guess, I would bet that it wouldn't do what you expect.


- Russell


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/632/#review1918
-----------------------------------------------------------


On 2010-04-28 16:08:33, David Vossel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/632/
> -----------------------------------------------------------
> 
> (Updated 2010-04-28 16:08:33)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> MixMonitor external test.
> 
> Tests MixMonitor with StopMixMonitor, verifying that StopMixMonitor releases the audio file so it can be processed by the dialplan.
> Tests MixMonitor without StopMixMonitor, verifying that MixMonitor stops correctly on hangup.
> Tests the size of the two audio files to see if they are what we expect given the length of time processed.
> 
> Future improvements to this test will include using AUDIOHOOK_INHERIT.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/mixmonitor/configs/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/mixmonitor/run-test PRE-CREATION 
>   /asterisk/trunk/tests/mixmonitor/test-config.yaml PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/632/diff
> 
> 
> Testing
> -------
> 
> Test passes with trunk and 1.4
> 
> 
> Thanks,
> 
> David
> 
>




More information about the asterisk-dev mailing list