我使用 Asterisk 1.4 和 FreePBX 的标准配置,并使用 chanspy 功能代码。我想限制可以监视的频道,最好在 .conf 文件中执行此操作。我该怎么做?
答案1
看起来您可以通过密码保护该功能来实现这一点,这里有一个示例:
从页面:
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)