我如何限制Asterisk的Chanspyfunction到某些频道?

我使用的是使用chanspy特性代码的FreePBX的Asterisk 1.4标准configuration。 我想限制哪些渠道是可以窥探的,理想的做法是在一个.conf文件中。 我将如何做到这一点?

它看起来像你可以通过密码保护function来做到这一点,这里是一个例子:

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

来自页面:

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)