Protect Paging and intercom

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?

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

exten => 555,1,Answer()
exten => 555,n,Authenticate(42)
exten => 555,n,Page(SIP/1234&SIP/5678,is)

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

1 Like

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:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.