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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 17 12:33:15 CST 2010


The following issue has been CLOSED 
====================================================================== 
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:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-29 13:37 CST
Last Modified:              2010-01-17 12:33 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0116786) dvossel (administrator) - 2010-01-17 12:33
 https://issues.asterisk.org/view.php?id=16524#c116786 
---------------------------------------------------------------------- 
The patch I committed for this issue resolves the problem with not being
able to whisper to endpoints in Wait(), or any other state where the
channel is sleeping for a period of time.  To enable this turn on the
transmit_silence option in asterisk.conf after applying the patch I
committed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-17 12:33 dvossel        Note Added: 0116786                          
2010-01-17 12:33 dvossel        Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list