Need CHANSpy enabled on only three extensions

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Need CHANSpy enabled on only three extensions

Postby aqua_puddles » Mon Jan 18, 2016 8:33 am

I am trying to enable CHANSpy for only three extensions. I want these three to be the only extensions that can be listened in on. I have been able to password protect the feature, but I can't seem to block access to other extensions. I have tried following a few tutorials with no luck. Thanks for any help!
aqua_puddles
Newsterisk
 
Posts: 1
Joined: Mon Jan 18, 2016 8:05 am

Re: Need CHANSpy enabled on only three extensions

Postby ambiorixg12 » Mon Jan 18, 2016 9:13 pm

The g(group) option with some dial plan logic could do the job
Only spy on channels that contain a channel variable named SPYGROUP, which should contain group in an optional colon-delimited list.

http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy
ambiorixg12
Astmaster
 
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic


Return to Asterisk Support

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest