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
        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. Integration with Microsoft Teams
  8. Add-ons
  9. Troubleshooting
  10. Developer's Guides
  11. User's Guide
  12. Version History

ARS - Route Variables

Global Route Variables (Brekeke PBX v3.1.x or later)

Global variables can be accessed from any ARS route. The update of a global variable will affect the ARS routes in which the related variable name is set.

From [Field Settings], administrators can set a global variable’s field type, name and description, and can also choose whether or not a global variable will be displayed on the ARS top page.

 

The Global variables&g1&g9 ) can be used .

 

Variable Setting (Brekeke PBX v3.1.x or later)

From the ARS template’s [Variable Setting] page, administrators can create routes that use the same ARS patterns template and can also set the values of the variables to be used by each route.

 

Common Settings

Common variables can be accessed from any route created under the same ARS template. Updating a common variable will affect the ARS routes under the current ARS template.

From [Field Settings], administrators can set a common variable’s Field Type, Field Name, Input Rule and Descriptions, and can also choose whether a common variable will be displayed on the [Variable Settings] page.

Configuring [Field Settings] on [Common Settings] is the same as on [Route Local Settings]. For more configuration details, please refer to “Route Local Settings” in the next section..

 

The Route common variables&a1&a9&b1&b9&c1&c9) can be used.

 

Route Local Settings

Create new routes and assign values to the route’s local variables defined in the ARS template for each route, and also deploy multiple routes based on the same ARS template.

From the [Field Settings] page, administrators can change the route’s local variables’ settings and also write JavaScript code to control the variable values set in each route.

Sample script:

if( v1 == 3333 )
  v5= "192.168.200.20";
else
  v5= "192.168.200.30";

Set the above script in the [Route Local Settings] > [Field Settings] -> [Script] field. If a route has variable v1 with value 3333, this route variable v5 will be set as “192.168.200.20” automatically. The route variable v5 will be set as “192.168.200.30” when variable v1 is set to any value other than 3333.

 

The table below shows an example of other items on the [Field settings] page.

If you choose “Select” as the Field Type, you should set an input rule in “Input Rule.”

Field Type Variable Field Name Initial Value Input Rule  
Text v1 Call Number [0-9] *1
Select v2 ITSP Type 003 ITSP A:001;ITSP B:002;ITSP C:003; *2

*1. When “Text” is selected as the Field Type, an Input Rule is not necessary. However, if you set an input rule using a regular expression, Brekeke PBX will check variables according to the rule on the [Variable Settings] page.

*2. When “Select” is selected as the Field Type, an Input Rule is needed. In the example, according to the input rule, “ITSP A,” ”ITSP B” and “ITSP C” are displayed as options for the select box on the [Variable Settings] page. “ITSP C” is displayed as the initial value of the select box.

 

Route local variables (&v1&v9, &w1&w9, &x1&x9can be used.

 

 

Variable Setting (Brekeke PBX v3.0.x)

The variables defined in an ARS route can be edited from the [Edit Variables] page at the upper-right of the ARS route template.

Variables Default value
v1 User ID/Number
v2 Password
v3 – v9 Customizable fields

 

Yes No
Suggest Edit