[asterisk-bugs] [Asterisk 0016524]: Chanspy cannot spy on a non-bridged channel

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 13 10:55:36 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16524 
====================================================================== 
Reported By:                kobaz
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16524
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.0.22
Asterisk Version:           1.6.0.20 
JIRA:                       SWP-620 
Regression:                 No 
Reviewboard Link:            
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-12-29 13:37 CST
Last Modified:              2010-01-13 10:55 CST
====================================================================== 
Summary:                    Chanspy cannot spy on a non-bridged channel
Description: 
extend context services {
  1 => {
    ChanSpy(SIP/3007,Wq);
  }

  2 => {
    Answer();
    Wait(6000);
  }
}

SIP/3007 dials 2 at services

    -- Executing [2 at _cos_internal+local+ld+intl:1]
Answer("SIP/3007-0000001d", "") in new stack
    -- Executing [2 at _cos_internal+local+ld+intl:2]
Wait("SIP/3007-0000001d", "6000") in new stack


SIP/3030 dials 1 at services

    -- Executing [1 at _cos_internal+local+ld+intl:1]
ChanSpy("SIP/3030-0000001f", "SIP/3007,Wq") in new stack
  == Spying on channel SIP/3007-0000001d
[Dec 29 14:36:08] NOTICE[1902]: app_chanspy.c:245 start_spying: Attaching
SIP/3030-0000001f to SIP/3007-0000001d
[Dec 29 14:36:08] NOTICE[1902]: app_chanspy.c:245 start_spying: Attaching
SIP/3030-0000001f to SIP/3007-0000001d

3030 cannot whisper to 3007.

If you replace Wait(), with MeetMe(), Voicemail... or anything else that
bridges audio... 3030 can then whisper to 3007.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016525 Cannot spy on channel when a local chan...
related to          0016523 When hanging up a channel running chans...
====================================================================== 

---------------------------------------------------------------------- 
 (0116603) svnbot (reporter) - 2010-01-13 10:55
 https://issues.asterisk.org/view.php?id=16524#c116603 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 239716

_U  branches/1.6.0/
U   branches/1.6.0/Makefile
U   branches/1.6.0/apps/app_waitforring.c
U   branches/1.6.0/apps/app_waitforsilence.c
U   branches/1.6.0/main/channel.c

------------------------------------------------------------------------
r239716 | dvossel | 2010-01-13 10:55:35 -0600 (Wed, 13 Jan 2010) | 30
lines

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

........
  r239712 | dvossel | 2010-01-13 10:31:14 -0600 (Wed, 13 Jan 2010) | 24
lines
  
  add silence gen to wait apps
  
  asterisk.conf's 'transmit_silence' option existed before
  this patch, but was limited to only generating silence
  while recording and sending DTMF.  Now enabling the
  transmit_silence option generates silence during wait
  times as well.
  
  To achieve this, ast_safe_sleep has been modified to
  generate silence anytime no other generators are present
  and transmit_silence is enabled.  Wait apps not using
  ast_safe_sleep now generate silence when transmit_silence
  is enabled as well.
  
  (closes issue https://issues.asterisk.org/view.php?id=16524)
  Reported by: kobaz
  
  (closes issue https://issues.asterisk.org/view.php?id=16523)
  Reported by: kobaz
  Tested by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/456/
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-13 10:55 svnbot         Checkin                                      
2010-01-13 10:55 svnbot         Note Added: 0116603                          
======================================================================




More information about the asterisk-bugs mailing list