[asterisk-users] Chanspy on Asterisk 1.4.19

Steve Rawlings steve at rawlings.demon.co.uk
Wed Apr 16 12:51:26 CDT 2008


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






More information about the asterisk-users mailing list