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. Tenant Admin Permission
      5. 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
      6. DID
      7. Auto Attendant
      8. BLF, SCA, and Presence
      9. Codec
      10. Voicemail
      11. Back up Brekeke PBX
      12. Callback
      13. Call Forwarding
      14. Call Hold/Call Transfer
      15. Call Hunting
      16. Call Pickup, Call Park
      17. Call Queue
      18. Call Waiting
      19. Conference Call
      20. Confirm Call
      21. Video Call
      22. Fax Support
      23. Flow Selection for a tenant
      24. Paging
      25. Phone ID settings
      26. Ring Group
      27. SRTP Support
      28. Stereo Recording Support
      29. Switching Plan
      30. Three-Way Calls
      31. Tutor Mode
      32. Caller ID from analog (PSTN) phones
      33. Change busy forwarding destination according to response
      34. Change Music On Hold
      35. Rotate Music On Hold
      36. Change recorded audio files destination location
      37. Change RFC2833 Payload
      38. Customize login page for each tenant
      39. Download phonebook info on provisioning
      40. Replace display name
      41. Session Management
      42. Set RTP packet's TOS value
      43. TCP Support
      44. Third-Party Call Control
      45. Microsoft OCS
      46. How to bypass Brekeke PBX
      47. How to create voice files (Fo IVR, Auto Attendant, Guidance) using your phone
      48. WebRTC
      49. Web Phone / Brekeke Phone
      50. Text to Speech
    7. Brekeke PBX Redundancy
    8. Remote Access of Brekeke Heartbeat
  5. Brekeke PAL option
  6. Integration with Zoho Products
  7. Integration with Microsoft Teams
  8. Add-ons
  9. Troubleshooting
  10. Developer's Guides
  11. User's Guide
  12. Version History

ARS Outbound Route Failover

Utilizing the Automatic Route Selection (ARS) outbound route failover feature allows users to create redundant telecommunications systems. If an outbound route is not available or usable, Brekeke PBX will direct the session to an alternative route.

 

Usage Examples
  • Brekeke PBX provides automatic failover to an alternative ITSP service in the event of a failure at your specified ITSP service.
  • Brekeke PBX provides automatic failover to an analog telephone session via PSTN Gateway in the event of a failure at your specified ITSP service.
  • Creating redundant analog telephone connections with multiple PSTN Gateways.

 

Settings Examples

The ITSP line is set for regular outbound sessions. When the ITSP line fails, the outbound sessions will be routed through the PSTN Gateway.

Senario

In the following example, two ARS routes are created: “ITSP_A” and “MyGateway.” The route with the highest priority, “ITSP_A,” will be used for outbound calls with a dialing numbers that have 7 to 25 digits. If there is no response within four seconds (Response timeout: 4000 ms) for INVITE messages or a “500-599” response is received, Brekeke PBX will continue searching for the next route that matches the outbound session request. In this case, the next-highest prioritized route, “MyGateway,” will be chosen as the alternative route for the session. Since the recovery time is set to one hour (3600000 ms) in “ITSP_A,” the matching sessions will be routed through route “MyGateway” for one hour after the failover. If “ITSP_A” is running again within an hour, the sessions will once again be routed through the highest priority route, “ITSP_A.”

 

Route name: ITSP_A 

Patterns – OUT

OUT – 1 Matching patterns Deploy patterns
Priority 1 From   From “xxx”<sip:xxx@itsp.com>
Max sessions 4 To sip:([0-9]{7,25})@ To sip:$1@itsp.com
 

 

 

 

 

 

 

 

 

Parameters
Next route on failure Yes Disable on registration failure Yes
Response timeout (ms) 4000 Error codes 500-599
Recovery time (ms) 3600000 Disable on failure This route
  • [Response Timeout (ms)] should be adjusted according to your environment. PSTN Gateways and SIP servers located in the local network may not require this long of a Response Timeout interval. For a route that requires an Internet connection or if some other kind of delay is expected, the Response Timeout intervals should be set to a longer time.
  • [Disable on registration failure] is set to “yes” in Route “ITSP_A.” When registration is not working property at the “ITSP_A” route, it will be disabled and the “MyGateway” route will be used instead.
  • [Disable on failure] is set as “This route,” which will disable the whole route. If there are other IN/OUT patterns defined in this route, they will be unusable when failover happens. If [Disable on failure] is set as “This pattern,” it will only disable the current pattern, so other patterns in this route will still be usable.

 

Route name: MyGateway  

 Patterns – OUT

OUT – 1 Matching patterns Deploy patterns
Priority 100 From   From
Max sessions 4 To sip:([0-9]{7,25})@ To sip:$1@GW_IPaddress

 

Yes No
Suggest Edit