OpenPage - Restricting Page group number

I’m running OpenPage on FreePBX 17. Is there a way to restrict a page group to only accept calls from certain extensions? Because as it stands, someone can potentially guess the page group number and call it?

Custom Contexts module works with FreePBX-17 and that module is free. It allows you to create different contexts for extensions and allows you to restrict features in each context.

After you install the module, you can create new contexts and then select them from the Extensions > Advanced tab.

So if let’s say I had extension 501 as a page group extension and I wanted to restrict that so only 301 and 302 can call it. Will I be creating a custom context for 501 or a custom context for 301 and 302? I think doing it for 501 would make the most sense as that’s the only one I want to restrict

Paging is not something you can restrict in a custom context but the number dialed can be. You’d create a new context, like “No-Page” and use Deny Rules. You need to click on each of the question marks in front of the fields for explanations. In theory, you’d change to context to the No-Page context to prevent them dialing 501 for the page.

This is about the most help I can give you on it. I haven’t used custom contexts in years.

Neither. You will be creating a custom context that denies the use of 501. That would mean you would need to update any extension that isn’t 301 or 302 to use this new custom context.

Out of curiosity, is it not possible to just use dial plan to match the page group extension number and only allow it from certain extensions? or can dial plan not be used for internal calls?

I am a bit wary about the custom context module because if I am honest i’m worried about breaking something by enabling the custom context module. For example right now it’s just a default installation and everything working nicely. If I enable custom context, I dont want any of the existing stuff to break. I understand there is something called “from-internal” which is some sort of built in default context. Will this be effected?

Basically, I dont want any of the existing setup and routing and rules to be effected. Just need a simple way to prevent paging group extension numbers from being called by any internal extension.