Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using a standard config of Asterisk 1.4 with FreePBX using the chanspy feature code. I want to restrict what channels it is possible to spy on, ideally doing this in a .conf file. How would I do this?

share|improve this question

1 Answer 1

It looks like you can do this by password protecting the feature, here is an example:

http://www.fonality.com/trixbox/forums/trixbox-forums/open-discussion/password-protecting-feature-codes

From the page:

Here's how it works - you pick up the phone and dial 555 (Channel Spy Feature Code), The system will ask for a password. If the correct password is entered spying ensues. IF the incorrect password is entered three times the call is dropped. All I did was add a couple of lines to extensions_custom.conf

;Password Protect Channel Spy
exten => 555,1,Authenticate(1234)

;Password Protect ZapBarge
exten => 888,1,Authenticate(1234)
share|improve this answer

protected by HopelessN00b Jan 21 '13 at 14:42

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.