[asterisk-users] Chanspy on Asterisk 1.4.19

Sean Bright sean.bright at gmail.com
Thu Apr 17 08:44:45 CDT 2008


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



More information about the asterisk-users mailing list