ARS Route with Resource Setting
When multiple ARS routes for Shared Call Appearance (SCA) are set with the same name in the [Resource] field, Brekeke PBX SCA users will have more ARS route choices for making outbound calls than by using the ARS settings without this [Resource] setup.
Note: ARS Resource Setting feature is available on Brekeke PBX v3.1.x or later.
Set up the ARS template and Brekeke PBX users as described below and assign phones with the Shared Call Appearance feature enabled to users.
Route Template:
[General]
Route name | outbound |
Template | checked |
Line key | checked |
Resource | &v9 |
[Patterns – OUT]
OUT – 1 | Matching patterns | Deploy patterns | |||
Priority | &v1 | From | From | ||
Max sessions | &v2 | To | sip:([0-9]{7,25})@ | To | sip:$1@&v3 |
Variable Setting:
Route Name | v1 | v2 | v3 | v9 |
1 | 90 | 1 | 192.168.200.10 | gw |
2 | 90 | -1 | 192.168.200.20 | itsp |
3 | 100 | 1 | 192.168.200.30 | gw |
Brekeke PBX SCA Users
User: 300
[Settings] -> [Resource map]
line/1=gw/1
line/2=gw/2
User: 301
[Settings] -> [Resource map]
line/1=gw/1
line/2=itsp/1
When user 300 makes an outbound call from a phone with shared line 1, the call will apply route “outbound*1” with resource set as “gw” and the call will be sent to the destination IP 192.168.200.10.
While user 300 is talking, if user 301 also makes an outbound call from shared line 1, the call will apply route “outbound*3” with resource also set as “gw” and will be sent to the destination IP 192.168.200.30.
Because route “outbound*1” with resource “gw” has the [Max Sessions] variable v2 set to 1 and one session from user 300 is using this route, Brekeke PBX looks for the next available route with resource “gw” for the user 301 outbound call, which is route “outbound*3.”
If user 301 makes an outbound call from shared line 2, the call will apply route “outbound*2” with resource “itsp” and will be sent to IP 192.168.200.20.
Related Link: