Hi list,

Im using asterisk  1.6.0.10 and have following dialplan for doing chanspy

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Read(SPYNUM,extension)
exten => 555,2,ChanSpy(SIP/${SPYNUM},q)
exten => 555,n,Hangup


but if the channel is hang up or even destroyed the chanspy is not 
getting killed.

asterisk >   core show channels verbose

.
.
.
SIP/1009-b6c5b398    from-internal        555                 2 Up      
ChanSpy      SIP/1002,q                1009            
554:53:1             (None)
SIP/1009-b5004908    from-internal        555                 2 Up      
ChanSpy      SIP/1002,q                1009            
-571:-19             (None)
SIP/1009-b50a4e30    from-internal        555                 2 Up      
ChanSpy      SIP/1002,q                1009            
-571:-9:             (None)
SIP/1009-b50702a8    from-internal        555                 2 Up      
ChanSpy      SIP/1002,q                1009            
-571:-5:             (None)
SIP/1009-09bafcd0    from-internal        555                 2 Up      
ChanSpy      SIP/1002,q                1009            
-570:-57             (None)
.
.
.

Is there a way to cleanup this ?


Regards
Rushikesh

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to