Custom Context module for Multi-tenant


I’ve been testing our the custom context module to implement the multi-tenant feature.

Initially i would like to restrict one company’s extension from dialing to other company extensions. For e.g. I have a company with extension range 1xx series and another company with extension range 2xx series. So, extension calling between these two companies should be restricted.

Can someone please help me on this.

Thanks in advance

FreePBX is not multi-tenant.

Trying to use custom context module to do such is a bad idea, especially if you don’t understand its limitations.

The way FreePBX generates extensions, either you see all or none, or you have additional custom work beyond any modules to achieve that, and there are still plenty of security holes between contexts.

If custom context is not advisable, can you please suggest a best way to put in multiple customers on a single box.

Your help is much appreciated.


vinod, there isnt a simple one, really. But if you have your heart set, look in to using virtual machines.

I would really like to be able to do this now. Along time has passed and I think this should be more doable. ??