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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 5 13:35:09 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16524 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16524
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
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:              
====================================================================== 
Date Submitted:             2009-12-29 13:37 CST
Last Modified:              2010-01-05 13:35 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0116083) russell (administrator) - 2010-01-05 13:35
 https://issues.asterisk.org/view.php?id=16524#c116083 
---------------------------------------------------------------------- 
I think the fix here is just that Wait() needs to generate silence.  We
should also review the list of applications to see if others behave like
this, as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-05 13:35 russell        Note Added: 0116083                          
======================================================================




More information about the asterisk-bugs mailing list