Protect Paging and intercom


(Pasquale) #1

Hello everyone, i would like to know if there are a method to protect the paging and intercom functionality, for example only one extension can dial the paging number, or all extension can dial but the password pin is required to make a call.
it is possible only with custom code? or with pro modules?


#2

I think you’ll need custom code, patch, etc. Something like this in your /etc/asterisk/extensions_custom.conf file might work:

[from-internal-custom]
exten => 555,1,Answer()
exten => 555,n,Authenticate(42)
exten => 555,n,Page(SIP/1234&SIP/5678,is)

(Itzik) #3

IIRC the commercial module Class of Service does that. Check the wiki to confirm.


(Pasquale) #4

Yes the Class of Service module does the right job! thanks!
Also thanks for the sample code, i will try it with some changes :+1:t2: