Brekeke PBX Wiki

  1. Brekeke PBX basic Info
  2. Security
  3. Update & Upgrade
  4. Configuration
    1. Installation
    2. User Management
    3. Brekeke PBX default settings
    4. Network Configuration
    5. Brekeke PBX Administration Tool
    6. Functions Configuration
      1. Processes on Brekeke PBX
      2. Performance optimization
      3. Access Control - System Admin Menu
      4. ARS (Automatic Route Selection)
        1. ARS - Overview
        2. ARS - Route Settings / Route Template
        3. ARS - Route Variables
        4. ARS - Tutorials / Samples
          1. Basic: ARS Route Management
          2. PSTN Access with a VoIP Gateway
          3. Connecting with ITSPs
          4. ARS Outbound Route Failover
          5. ARS Resource Setting
          6. ARS Group Setting
          7. Add Tag on ARS
          8. Calls between two Brekeke PBX
          9. Call between two tenants
          10. CPS Management on ARS
          11. Decline non-numbered caller ID calls
          12. Display caller name
          13. Distinguish outbound calls from calls between extensions
          14. Matching pattern to match user sessions
          15. Redirect call with 3xx response
          16. Set the value of the Alert-Info header by ARS
        5. ARS - Default Plug-ins
        6. ARS - FAQ
      5. DID
      6. Auto Attendant
      7. BLF, SCA, and Presence
      8. Codec
      9. Voicemail
      10. Back up Brekeke PBX
      11. Callback
      12. Call Forwarding
      13. Call Hold/Call Transfer
      14. Call Hunting
      15. Call Pickup, Call Park
      16. Call Queue
      17. Call Waiting
      18. Conference Call
      19. Confirm Call
      20. Video Call
      21. Fax Support
      22. Flow Selection for a tenant
      23. Paging
      24. Phone ID settings
      25. Ring Group
      26. SRTP Support
      27. Stereo Recording Support
      28. Switching Plan
      29. Three-Way Calls
      30. Tutor Mode
      31. Caller ID from analog (PSTN) phones
      32. Change busy forwarding destination according to response
      33. Change Music On Hold
      34. Rotate Music On Hold
      35. Change recorded audio files destination location
      36. Change RFC2833 Payload
      37. Customize login page for each tenant
      38. Download phonebook info on provisioning
      39. Replace display name
      40. Session Management
      41. Set RTP packet's TOS value
      42. TCP Support
      43. Third-Party Call Control
      44. Microsoft OCS
      45. How to bypass Brekeke PBX
      46. How to create voice files (Fo IVR, Auto Attendant, Guidance) using your phone
      47. WebRTC
      48. Web Phone / Brekeke Phone
      49. Text to Speech
    7. Brekeke PBX Redundancy
    8. Remote Access of Brekeke Heartbeat
  5. Brekeke PAL option
  6. Integration with Zoho Products
  7. Add-ons
  8. Troubleshooting
  9. Developer's Guides
  10. User's Guide
  11. Version History

ARS Route with Group Setting

Set up the ARS template and Brekeke PBX users as described below and then assign phones with the Shared Call Appearance feature enabled.

 

Route Template:

[General]

Route name outbound
Template checked
Group &v8
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 v8 v9
1 90 1 192.168.200.10 group1 gw
2 90 -1 192.168.200.20   itsp
3 100 1 192.168.200.30 group1 gw
4 110 1 192.168.200.40 group2 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

 

If user 300 makes an outbound call from shared line 1, the call will apply route “outbound*1” with resource set as “gw” and group as group1 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*4” with the resource set as “gw” and the group as group2 and the call will be sent to the destination IP 192.168.200.40.

 

As explained in the above section about Max Sessions, routes in the same group use the same session counter. In this example, routes “outbound*1” and “outbound*3” with resource “gw” are both in “group1” and both routes have the [Max Sessions] variable v2 set to 1. When user 300 is making a call through route “outbound*1,” the number of sessions in group1 is 1, which will reach the [Max Sessions] in both routes “outbound*1” and “outbound*3.” Brekeke PBX will then look for the next available route with resource “gw” for user 301’s outbound call. This is route “outbound*4.

 

The above example explains that the [Resource] setting is used for Brekeke PBX users to look for available routes to make outbound calls and that the [Group] setting is used to limit max sessions through the routes of both Patterns – IN and Patterns – OUT in the same group.

 

  • Multiple groups can be set in an ARS route [Group] field with group names separated by commas.
  • When a session goes though a route set with multiple groups, the session counter of the related groups will increase by 1.

 

Yes No
Suggest Edit