First disable the 555 option in Freepbx. Look under Basic - Feature codes and set the feature status for Chanspy to disabled.
Next go to /etc/asterisk/extensions_custom.conf and add the following code in it:
exten => 555,1,Macro(user-callerid)
exten => 555,2,Authenticate(1234)
exten => 555,3,Read(SPYNUM,agent-newlocation)
exten => 555,4,ChanSpy(SIP/${SPYNUM))
* notice line 2 where it says 1234, that is the password you can choose.
Hope this helps you out!
No comments:
Post a Comment