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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 26 11:41:28 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-05 09:03 CDT
Last Modified:              2009-08-26 11:41 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0109686) svnbot (reporter) - 2009-08-26 11:41
 https://issues.asterisk.org/view.php?id=15660#c109686 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 214198

_U  branches/1.6.0/
U   branches/1.6.0/main/channel.c

------------------------------------------------------------------------
r214198 | dvossel | 2009-08-26 11:41:28 -0500 (Wed, 26 Aug 2009) | 32
lines

Merged revisions 214195 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214195 | dvossel | 2009-08-26 11:38:53 -0500 (Wed, 26 Aug 2009) | 25
lines
  
  Merged revisions 214194 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214194 | dvossel | 2009-08-26 11:36:42 -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=214198 

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




More information about the asterisk-bugs mailing list