[asterisk-bugs] [Asterisk 0015660]: ChanSpy "whisper" is broken in 1.4.26

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 26 11:37:21 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15660 
====================================================================== 
Reported By:                corruptor
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15660
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Target Version:             1.4.27
Asterisk Version:           SVN 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-05 09:03 CDT
Last Modified:              2009-08-26 11:37 CDT
====================================================================== 
Summary:                    ChanSpy "whisper" is broken in 1.4.26
Description: 
ChanSpy "w" option works fine in 1.4.25 but it doesn't in 1.4.26.
Spying channel can't talk to spied-on channel it can only listen.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0015715 Whisper feature does not work.
====================================================================== 

---------------------------------------------------------------------- 
 (0109682) svnbot (reporter) - 2009-08-26 11:37
 https://issues.asterisk.org/view.php?id=15660#c109682 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 214194

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r214194 | dvossel | 2009-08-26 11:37:20 -0500 (Wed, 26 Aug 2009) | 19
lines

ast_write() ignores ast_audiohook_write() results

In ast_write(), if a channel has a list of audiohooks, those
lists are written to and the resulting frame is what ast_write()
should continue with.  The problem was the returned audiohook frame
was not being handled at all, and the original frame passed
into it did not contain the mixed audio, so essentially audio
was being lost.  One result of this was chan_spy's whisper
mode no longer worked.  To complicate the issue, frames
passed into ast_write may either be a single frame, or a list
of frames.  So, as the list of frames is processed in the
audiohook_write, the returned frames had to be added to a new
list.

(closes issue https://issues.asterisk.org/view.php?id=15660)
Reported by: corruptor
Tested by: dvossel


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=214194 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-26 11:37 svnbot         Checkin                                      
2009-08-26 11:37 svnbot         Note Added: 0109682                          
======================================================================




More information about the asterisk-bugs mailing list