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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 2 20:33:14 CST 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-02 20:33 CST
====================================================================== 
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0101063) el_pop (reporter) - 2009-03-02 20:33
 http://bugs.digium.com/view.php?id=13745#c101063 
---------------------------------------------------------------------- 
we test only with the audiohook.c patch and seems to work fine, this change
is already done in * 1.4.23:
--- main/audiohook.c	(revision 135157)
+++ main/audiohook.c	(working copy)
@@ -216,7 +216,7 @@
 	}
 
 	/* If we want to provide only a write factory make sure we aren't
waiting for other audio */
-	if (usable_write && !usable_read && (ast_tvdiff_ms(ast_tvnow(),
audiohook->write_time) < (samples/8)*2)) {
+	if (usable_write && !usable_read && (ast_tvdiff_ms(ast_tvnow(),
audiohook->read_time) < (samples/8)*2)) {
 		if (option_debug)
 			ast_log(LOG_DEBUG, "Read factory %p was pretty quick last time,
waiting for them.\n", &audiohook->read_factory);
 		return NULL; 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-02 20:33 el_pop         Note Added: 0101063                          
======================================================================




More information about the asterisk-bugs mailing list