Sharing features between customers
Revision as of 22:43, 1 May 2018 by Dcunningham (talk | contribs) (Created page with "Normally features within one Enswitch customer cannot be accessed by another customer, except by calling a Number. However, sometimes you may want to create a customer with b...")
Normally features within one Enswitch customer cannot be accessed by another customer, except by calling a Number.
However, sometimes you may want to create a customer with branch offices as sub-customers, and allow internal features to be accessible between the sub-customers. For example, one customer may need to be able to dial feature codes within a sibling customer. This can be done with "common routing". To use it:
- Set System -> Configuration -> "Enable common routing between customers" to Yes.
- For each sub-customer set "Share features with parent" to Yes.
The logic then used is:
- Call is made in customer with "Share features with parent" enabled.
- Routing engine looks at the calling customer's parent customer to see if it has "Share features with parent" enabled, and if so check it's parent, and so on until the highest level customer with "Share features with parent" enabled is found.
- Routing engine then looks in all sub-customers of that highest level customer, checks if the sub-customer has "Share features with parent" enabled, and if it does then looks in that customer for a number or feature code which matches the destination dialled.
For an example refer to the following customer tree:
a
|
-------
| | |
b c D
| |
e -------
| |
F G
|
H
All upper case customers have "Share features with parent" enabled, and all lower case customers do not.
- Customer H makes call. No number in H itself matches the number dialled, so the routing engine recurses upwards until it finds the highest level customer with "Share features with parent" enabled, which is D.
- The routing engine then recurses downwards from D until it finds that customer F contains a feature code matching the number dialled. The call routes to the destination which that feature code in customer F points to.
- Customers a, b, c, and e were not checked because D's parent did not have "Share features with parent" enabled, so D's parent and D's siblings were not checked for a matching number.