[asterisk-users] ChanSpy getting piled up

2010-09-01 Thread Rushikesh
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

Re: [asterisk-users] ChanSpy getting piled up

2010-09-01 Thread Jim Dickenson
chanspy as best I can tell from the code will not lock on a single device and when that device goes away exit. What is passed to chanspy is a template for a channel name. I submitted a patch to add option s so that chanspy would stop when the one channel I wanted to watch went away or I used *

Re: [asterisk-users] ChanSpy getting piled up

2010-09-01 Thread Rushikesh
On Wednesday 01 September 2010 09:01 PM, Jim Dickenson wrote: chanspy as best I can tell from the code will not lock on a single device and when that device goes away exit. What is passed to chanspy is a template for a channel name. I submitted a patch to add option s so that chanspy would

Re: [asterisk-users] ChanSpy getting piled up

2010-09-01 Thread Jim Dickenson
I had the same need which is why I submitted the patch. I think the feature might finally be added to 1.8, it I remember correctly. I am not aware of any other way around this. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Sep 1, 2010, at 9:12 AM, Rushikesh wrote: