[Asterisk-bugs] [Asterisk 0010195]: ChanSpy doesn't work fine for Zap channels from 1 to 9 however works fine for zap channels > 9

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 17 12:33:48 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10195 
====================================================================== 
Reported By:                galeras
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10195
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.2.20  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-12-2007 16:23 CDT
Last Modified:              07-17-2007 12:33 CDT
====================================================================== 
Summary:                    ChanSpy doesn't work fine for Zap channels from 1 to
9 however works fine for zap channels > 9
Description: 
Chanspy is not working properly when try to monitor one-digit channel like
zap/3 by dialing the digit followed by #, however it works fine for 2 and 3
digits channels like zap/123

my extensions.conf looks like:

exten => s,1,ChanSpy(Zap/1)

====================================================================== 

---------------------------------------------------------------------- 
 qwell - 07-17-07 12:33  
---------------------------------------------------------------------- 
If you press 1#, it will search for all channels starting with 1 - Zap/1 is
not necessarily going to be the first match returned.

The reason 23# or 123# are going to work reliably is because there are no
other channels that could match Zap/23 or Zap/123

If you have 110 or more channels, you can see this by trying 11#
repeatedly, and you'll note that Zap/11, Zap/110, Zap/111, Zap/112,
Zap/113, etc will all be searched (not necessarily in that order).

With 2#, Zap/2, Zap/20, Zap/21, Zap/22, etc will be searched.

If you do 3# several times in a row, I believe you'll find that it
eventually loops through the 30 range, and eventually finds 3.


Can you verify? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-07 12:33  qwell          Note Added: 0067453                          
======================================================================




More information about the asterisk-bugs mailing list