codian ISDN GW 3241
host: isdngw
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.

Adding dial plan rules

To add a dial plan rule:
  1. Go to Dial Plan. If you want to add an
    • IP to ISDN rule, use the IP to ISDN page.
    • ISDN to IP rule, use the ISDN to IP 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 called number is not known or unavailable for ISDN calls. For IP calls, this condition matches when the caller uses the IP address or hostname of the ISDN 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 matches any digit as well as # and *.

        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". D matches any digit as well as # and *.

        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. Complete the Additional parameters, if required:
  7. For Codecs allowed select an option from the drop-down list: <use default choices>, Custom codec choices or Safe codec choices. The last two options are provided for older endpoints that you cannot connect to when some codecs are enabled (even if the endpoint supports those codecs). We recommend that you only use these options when you experience a problem.
    • When you select Custom codec choices, the screen refreshes and you can select the audio, video and H.239 video codecs that are allowed with this dial plan
    • Safe codec choices only allows G711 and H261
  8. 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.

You may wish to create a new rule very similar to an existing rule. To do this, find the existing rule and click on its name or number to view its details. Press Copy rule to create a new rule, initialized with the existing parameters, then proceed as normal, pressing Add rule when you have finished

Related topics