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 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