[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 31 12:36:40 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-31-2007 12:36 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)

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

---------------------------------------------------------------------- 
 galeras - 07-31-07 12:36  
---------------------------------------------------------------------- 
Sorry for delay responding. Here are my findings:

there are active zap channels at the spy time:


Zap/106-1            s at FNAIvr-17:11       Up     
BackGround(custom/FNA_Anexo4)
Zap/1-1              800 at ext-queues:11    Up      Queue(800|t||)
Zap/13-1             s at FNAIvr-5:6         Up     
BackGround(custom/FNA_Clave)
Zap/14-1             s at FNAIvr-7:6         Up     
BackGround(custom/FNA_MenuInic
Zap/157-1            385 at agent:4          Up      Dial(Agent/385||t)
Zap/158-1            384 at agent:4          Up      Dial(Agent/384||t)
Zap/160-1            391 at agent:4          Up      Dial(Agent/391||t)
Zap/167-1            803 at ext-queues:11    Up      Queue(803|tr||)
Zap/186-1            803 at ext-queues:11    Up      Queue(803|tr||)
Zap/20-1             s at FNAIvr-7:5         Up     
BackGround(custom/FNA_Bienveni
Zap/2-1              800 at ext-queues:11    Up      Queue(800|t||)
Zap/25-1             s at custom-FNAActivaci Up     
AGI(agi://localhost/FNA_Act.ag
Zap/27-1             800 at ext-queues:11    Up      Queue(800|t||)
Zap/3-1              34 at from-internal:2   Up     
Playback(custom/FNA_Anexo4)
Zap/33-1             s at from-zaptel:1      Ringing AppDial((Outgoing
Line))
Zap/34-1             s at from-zaptel:1      Up      Bridged
Call(SIP/119-b762ad38)
Zap/36-1             s at from-zaptel:1      Up      Bridged
Call(SIP/110-b761ad78)
Zap/38-1             s at from-zaptel:1      Up      Bridged
Call(SIP/102-b7618158)
Zap/67-1             s at custom-FNAInicio:9 Up      Wait(2)
Zap/69-1             s at FNAIvr-7:6         Up     
BackGround(custom/FNA_MenuInic
Zap/7-1              800 at ext-queues:11    Up      Queue(800|t||)
Zap/77-1             s at FNAIvr-17:11       Up     
BackGround(custom/FNA_Anexo4)
Zap/82-1             s at FNAIvr-5:6         Up     
BackGround(custom/FNA_Clave)
Zap/83-1             s at FNAIvr-17:11       Up     
BackGround(custom/FNA_Anexo4)
Zap/85-1             800 at ext-queues:11    Up      Queue(800|t||)
Zap/86-1             s at FNAIvr-7:6         Up     
BackGround(custom/FNA_MenuInic
Zap/88-1             s at FNAIvr-7:5         Up     
BackGround(custom/FNA_Bienveni
Zap/90-1             s at FNAIvr-5:7         Up     
BackGround(custom/FNA_Ppal1)
Zap/97-1             800 at ext-queues:11    Up      Queue(800|t||)

There are extension used:

exten => 77777,1,chanspy(Zap)

There are the results:
ChanSpy start at channel Zap/106
1# -> ChanSpy selects Zap/25
1# -> Zap/25 
1# -> Zap/77
2# -> Zap/25
2# -> Zap/25
27# -> Zap/27

My conclusion is ChanSpy is no folowing any pattern in channel selection.
I will be glad doing more tests if you need something else.

Thanks in advance. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-31-07 12:36  galeras        Note Added: 0068147                          
======================================================================




More information about the asterisk-bugs mailing list