[asterisk-users] ChanSpy getting piled up
Rushikesh
rushikesh.jadhav at esds.co.in
Wed Sep 1 08:24:33 CDT 2010
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
More information about the asterisk-users
mailing list