Hi all, I've just upgraded to 1.4.19 from 1.4.18.1 and now have problems with app_chanspy. To monitor I use - exten => 596,1,ringing exten => 596,n,Wait(1) exten => 596,n,ChanSpy(|g(2000)) exten => 596,n,Hangup and the listened-to channel as follows - exten => _77XXXX,1,Set(SPYGROUP=2000) exten => _77XXXX,n,Dial(Zap/g2/${EXTEN:2}) This worked fine with 1.4.18.1. With 1.4.19 if I dial 596 I get answered but there's no spying, the only way I could get this to work was with - exten => 596,n,ChanSpy(|b) but this spied on all channels, not just those with SPYGROUP set to 2000 so not much use to us. I've recompiled Asterisk 1.4.19 with app_chanspy.c from 1.4.18.1 and it works again. I'm using latest zaptel, libpri and addons on CentOS 4.4. Changelog in 1.4.19 shows some changes to app_chanspy to stop asterisk crashes and other improvements so would be nice to have the fixes maybe. Anyone any ideas? Regards, Steve
On Wed, 2008-04-16 at 18:51 +0100, Steve Rawlings wrote:> This worked fine with 1.4.18.1. With 1.4.19 if I dial 596 I get answered > but there's no spying, the only way I could get this to work was with - > > exten => 596,n,ChanSpy(|b) > > but this spied on all channels, not just those with SPYGROUP set to 2000 > so not much use to us. > > I've recompiled Asterisk 1.4.19 with app_chanspy.c from 1.4.18.1 and it > works again. I'm using latest zaptel, libpri and addons on CentOS 4.4. > Changelog in 1.4.19 shows some changes to app_chanspy to stop asterisk > crashes and other improvements so would be nice to have the fixes maybe.It sounds like there may have been some sort of regression introduced in the changes between 1.4.18.1 and 1.4.19. Would you mind opening a ticket on the bug tracker so that the developers can make sure it gets addressed? -- Jared Smith Community Relations Manager Digium, Inc.
Steve Rawlings wrote:> exten => 596,n,ChanSpy(|g(2000))...snip...> This worked fine with 1.4.18.1. With 1.4.19 if I dial 596 I get answered > but there's no spying, the only way I could get this to work was with - > > exten => 596,n,ChanSpy(|b) > > but this spied on all channels, not just those with SPYGROUP set to 2000 > so not much use to us.You can pass multiple options to a dialplan application, so instead of downgrading ChanSpy, you could have just done: exten => 596,n,ChanSpy(|bg(2000)) Or am I missing something? -- Sean Bright sean.bright at gmail.com