codian.gif IP GW 3510
host: IPGW
Index
Help contents > Managing Dial Plans > Adding and updating dial plan rules

Adding and updating dial plan rules

This page describes how to add rules to the dial plan. It also tells you how to update rules.

Note that you may also find it helpful to refer to Example dial plan rules.

The maximum number of rules that you can add to each dial plan is 255.

To display or modify the Port A dial plan, go to Dial plan > Port A. To display or modify the Port B dial plan, go to Dial plan > Port B (using the Port B link on the right of the screen). Note that if Port B is disabled on the Network > Port B page, there will not be a dial plan for Port B).

Adding dial plan rules

To add a dial plan rule:
  1. Go to Dial Plan. If you want to add a
    • rule for calls arriving on Port A, use the Port A page.
    • rule for calls arriving on Port B, use the Port B page.
  2. Click Add rule.
  3. Type a name for the rule.
  4. For Condition choose one of:
    • Match any called number: this condition matches any called number and also includes calls where the called number is not known or unavailable. Generally, this kind of rule should be used towards the bottom of the dial plan list to match numbers not recognized by more specific rules higher up.
    • No called number: this condition matches when the caller uses the IP address or hostname of the IP gateway.
    • Called number matches:
      • To match a specific number, enter that specific number.

        Example: to match calls to "001234", type 001234. The condition will match that and only that number.

        Use S to match * (asterisk) and use P to match # (pound/hash). Examples: to match calls to "*234", type S234; to match calls to "#0987", type P0987

      • To match a more general number, use the wildcard character, D. This means any digit will do.

        Example: to match any number that starts with "55" followed by exactly two more digits, type 55DD. This condition will match "5500", "5523", "5555", "5599", etc. but not "55" or "55233".

      • For more general matching, you may use one of the three repeat characters. These modify the character immediately before, whether it is a specific digit or the wildcard character. The repeat characters are:
        ? match once or zero times.
        + match once or more.
        * match zero or more times.
        For example, "5+" means " match at least one 5, but possibly more".
        "D*" means "match any digit, any number of times".

        Example: to match any number that starts with "01", has any amount of digits in the middle, and ends with "5", type 01 D* 5.

      • To include any of the incoming called digits in the outgoing called number, enclose each substitution group in a set of parentheses. Note that if you wish to include the complete number, you do not need to enclose the whole expression in parentheses.

        Example: to match any number starting with "678", then followed by three or four digits, and you wish the final digits to form part of the called number, type the expression: 678 (DDDD?). This will match "6780000", "678123", "6789999" etc. but not "67822" or "775000".

  5. For Action (that is, what happens to the outgoing part of the call if this rule is invoked) choose one of:
  6. Click Add rule.

Updating dial plan rules

To update an existing dial plan rule:
  1. Go to Dial plan and find the rule you want to modify.
  2. Click on the number or name of the rule to view its details.
  3. Modify the rule details using the information listed above in Adding dial plan rules to help you.
  4. Click Update rule.

Related topics