[asterisk-bugs] [Asterisk 0016525]: [patch] Cannot spy on channel when a local channel is involved

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 1 11:46:33 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16525 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16525
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.0.22
Asterisk Version:           1.6.0.20 
JIRA:                       SWP-619 
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:41 CST
Last Modified:              2010-02-01 11:46 CST
====================================================================== 
Summary:                    [patch] Cannot spy on channel when a local channel
is involved
Description: 
> originate local/1000 at mychan extension 1234 at dial_dus

    -- Executing [1000 at mychan:1] Answer("Local/1000 at mychan-93af;2", "") in
new stack
    -- Executing [1234 at dial_dus:1] Dial("Local/1000 at mychan-93af;1",
"SIP/3007,30,rM(callee-pickup)") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3007LI>
    -- SIP/3007-00000020 is ringing
    -- Executing [1000 at mychan:2] MeetMe("Local/1000 at mychan-93af;2",
"1000,dq") in new stack
    -- Created MeetMe conference 1023 for conference '1000'


extend context services {
  1 => {
    ChanSpy(SIP/3007,Wq);
  }
}

SIP/3030 dials 1 at services

    -- Executing [1 at _cos_internal+local+ld+intl:1]
ChanSpy("SIP/3030-00000021", "SIP/3007,Wq") in new stack
  == Spying on channel SIP/3007-00000020
[Dec 29 14:40:31] NOTICE[1930]: app_chanspy.c:245 start_spying: Attaching
SIP/3030-00000021 to SIP/3007-00000020
[Dec 29 14:40:31] NOTICE[1930]: app_chanspy.c:245 start_spying: Attaching
SIP/3030-00000021 to SIP/3007-00000020

SIP/3030 cannot whisper to SIP/3007

If you take out the usage of a local channel. chanspy whisper works fine

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016524 Chanspy cannot spy on a non-bridged cha...
====================================================================== 

---------------------------------------------------------------------- 
 (0117447) svnbot (reporter) - 2010-02-01 11:46
 https://issues.asterisk.org/view.php?id=16525#c117447 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 244070

U   branches/1.4/channels/chan_local.c
U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r244070 | tilghman | 2010-02-01 11:46:32 -0600 (Mon, 01 Feb 2010) | 16
lines

Revert previous chan_local fix (r236981) and fix instead by destroying
expired frames in the queue.

(closes issue https://issues.asterisk.org/view.php?id=16525)
 Reported by: kobaz
 Patches: 
       20100126__issue16525.diff.txt uploaded by tilghman (license 14)
       20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license
14)
 Tested by: kobaz, atis

(closes issue https://issues.asterisk.org/view.php?id=16581)
 Reported by: ZX81

(closes issue https://issues.asterisk.org/view.php?id=16681)
 Reported by: alexr1


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-01 11:46 svnbot         Note Added: 0117447                          
======================================================================




More information about the asterisk-bugs mailing list