Difference between revisions of "Multi-Tenant"

From FusionPBX
Jump to: navigation, search
(Internal Profile)
Line 20: Line 20:
 
In internal.xml comment out the 3 entries that force the domain.
 
In internal.xml comment out the 3 entries that force the domain.
  
 +
==System -> Variables==
 +
Disable the domain variable so that it is not applied system wide.
  
 
==To convert old Systems==
 
==To convert old Systems==

Revision as of 17:00, 28 June 2011

Mutli-tenant is done using Fully Qualified domain names (FQDN). Often sub-domains are used. The domains help separate the information between tenants. The domains need to be pointed to the FusionPBX server.

Advanced -> System Settings

To setup multi-tenant all domains under advanced -> system settings need to use the following convention.

The paths below assumes that the FreeSWITCH conf directory is installed to /usr/local/freeswitch/conf/

Set the paths

Extensions Directory:

/usr/local/freeswitch/conf/directory/example1.domain.com

Dialplan Public Directory:

/usr/local/freeswitch/conf/dialplan/example1.domain.com

Recordings Directory:

/usr/local/freeswitch/recordings/example1.domain.com

Internal Profile

In internal.xml comment out the 3 entries that force the domain.

System -> Variables

Disable the domain variable so that it is not applied system wide.

To convert old Systems

  • The context for each extension needs to be changed to the domain name
  • system -> variables you need to drop the domain because it is set on inbound routes
  • On old system you have to either add some additional variables or recreate your inbound and outbound routes