[asterisk-bugs] [Asterisk 0013745]: Recordings out of sync when using chanspy

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 27 14:42:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13745 
====================================================================== 
Reported By:                geoffs
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13745
Category:                   Applications/app_mixmonitor
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-20 09:31 CDT
Last Modified:              2009-03-27 14:42 CDT
====================================================================== 
Summary:                    Recordings out of sync when using chanspy
Description: 
Inbound and outbound tracks will get out of sync by several seconds when a
call is monitored using chanspy.  
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012837 [patch] Chanspy audio is delayed or lost
related to          0011945 MixMonitor - Out Of Sync Audio With Zap...
====================================================================== 

---------------------------------------------------------------------- 
 (0102312) mmichelson (administrator) - 2009-03-27 14:42
 http://bugs.digium.com/view.php?id=13745#c102312 
---------------------------------------------------------------------- 
I've uploaded a patch, 13745.patch, which I hope will get this issue
fixed.

It applies two flags to the audiohook used in app_chanspy. First, it uses
the AST_AUDIOHOOK_TRIGGER_SYNC flag in order to use the
stream-synchronization logic introduced to solve issue
http://bugs.digium.com/view.php?id=13005. Then, I also
added a new flag, AST_AUDIOHOOK_SMALL_QUEUE. This way, if the situation is
like what I reproduced earlier today, stale audio will be flushed away and
the spy will hear the most recent audio possible.

Please give this a test and let me know if any sync issues still remain. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-27 14:42 mmichelson     Note Added: 0102312                          
======================================================================




More information about the asterisk-bugs mailing list