Overview: This article provides a quick guide for configuring a multi-tenant Asterisk server to integrate with Tenfold.
If you have an Asterisk server that is multi-tenant (multiple organizations or departments on the same server), you will need to limit the events being processed to those for your organization.
1. Use the Call Sequence Tool in the Dashboard Troubleshooting tab to see how the events come in.
2. Look at the channel variables to determine which part is the extension and which part is the organization identifier.
3. Navigate to the Dashboard Company Settings tab > Phone System and click on the “Change Advanced Options” button.
4. Refer to the examples below for a reference of how to set these fields. Authoring regex’s can be tricky, so please feel free to reach out to us for help with this if needed.
Multi-Tenant Configuration Examples
Example 1: SIP/9997007-000120ad
The user extension is 7007. We know this because we made the sequence calling from 7007.
We then know that 999 is an identifier for this tenant.
Accordingly, you would set:
Note: You would substitute 999 with the organization prefix assigned to your organization.
Example 2: SIP/ABC_7007-000120ad
This example is very similar to the one above but the organization or tenant identifier is separated by an underscore ( _ ).