Summary:ASTERISK-19452: ChanSpy with MixMonitor test sporadically fails
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2012-03-01 10:46:26.000-0600Date Closed:2012-06-06 10:36:20
Status:Closed/CompleteComponents:Applications/app_chanspy Applications/app_mixmonitor Tests/testsuite
Versions:11 10.1.3 Frequency of
Environment:CentOS 6 32-bitAttachments:
Description:Sometimes, the ChanSpy with MixMonitor test in the Asterisk Test Suite will fail.  The ChanSpy portion will appear to work, as each SIP channel will be 'spied' upon, but the audiohook associated with the MixMonitor application will report the following:

[Mar  1 15:21:18] DEBUG[29002] audiohook.c: Read factory 0x10729254 was pretty quick last time, waiting for them.
[Mar  1 15:21:18] DEBUG[29001] audiohook.c: Failed to get 160 samples from read factory 0xb658a674
[Mar  1 15:21:18] DEBUG[29001] audiohook.c: Failed to get 160 samples from write factory 0xb658b19c

As this test hasn't been run in some time, this could be a test problem, or it could be a problem with MixMonitor or ChanSpy.  For now, the test will be disabled and linked to this issue.
Comments:By: Matt Jordan (mjordan) 2012-06-06 10:36:20.766-0500

This was related to the time difference calculation being broken on 32-bit machines, fixed in