Special Number Handling

Overview

Rules for handling special destination numbers may be defined for the DSG-SCP. These rules exist within the config block, e.g.:

<?xml version="1.0" encoding="utf-8"?>
<n2svcd>
  ...
  <applications>
    ...
    <application name="<application name>" module="DsgScpApp">
      ...
      <config>
        ...
        <special_numbers>
          <!-- Special number handling rules for the DSG-SCP -->
        </special_numbers>
      </config>
    </application>
    ...
  </application>
  ...
</n2svcd>

Special destinations are checked prior to all other processing to ensure that they are handled as quickly and safely as possible.

Configuration Details

Within each block, special number handling rules may be configured within the special_numbers block:

Attribute Type Description
.special_numbers Array Array of special number handling rules for InitialDP.calledPartyNumber and/or InitialDP.calledPartyBCDNumber fields.
.rule Object Provisions a special number handling rule.

Special Number Handling Rule

Each special number handling rule defines a rule for the handling of a certain destination number or prefix. For each inbound InitialDP, the rules list is traversed. If a rule is found, it is applied and no other rule will apply. If no rules are matched, no special number handling will occur.

Special number handling takes place after normalisation has occurred.

Each rule Object in the config.special_numbers array has the following structure:

| Attribute | Type | Description | | :-------: | :--: | :---------- | | `exact` | Telephony Digits | **[Conditional]** Will cause the rule to match if the rule number matches the destination number exactly. One of `exact` or `prefix` must be defined. | | `prefix` | Telephony Digits | **[Conditional]** Will cause the rule to match if the rule number is a prefix of the destination number . One of `exact` or `prefix` must be defined. | | `handling` | String | The handling to apply if the rule matches. Possible values are:
  • `continue` - send an INAP `Continue` operation to allow the call to continue unconditionally.
  • `connect` - send an INAP `Connect` operation to allow the call to continue unconditionally. [Denormalisation](/config/dsg_scp/normalisation_denormalisation.html) of the destination digits will occur.
  • `release` - send an INAP `ReleaseCall` operation to end the call. If `cause` is not specified, the default release cause will be used.
  • `abort` - send a TCAP `Abort` operation to end the call. | | `cause` | Integer | The release cause value to use when the chosen handling is `release`. Must not be included for other handling options. If not specified for `release`, defaults to `31`. |