Normalisation and Denormalisation
Overview
Normalisation and denormalisation rules may be defined for any N2SCP application using
N2SVCD number normalisation in any of the
calling_party, called_party, or called_party_bcd blocks within the config definition, e.g.:
<?xml version="1.0" encoding="utf-8"?>
<n2svcd>
  ...
  <applications>
    ...
    <application name="<application name>" module="LhoScpApp" ...>
      ...
      <config>
        ...
        <normalisation>
          <common>
            <rule .../>
          </common>
          <calling_party>
              <rule .../>
          </calling_party>
          <called_party_bcd>
            <rule .../>
          </called_party_bcd>
        </normalisation>
          
        <denormalisation>
          <called_party>
            <rule .../>
          </called_party>
        </denormalisation>
        ...  
      </config>
    </application>
    ...
  </application>
  ...
</n2svcd>
Rules in the calling_party block are treated as
ISUP numbers and apply to:
- Normalisation:
- the callingPartyNumberin theInitialDPmessage.
- the redirectingPartyIDin theInitialDPmessage.
 
- the 
- Denormalisation:
- The redirectingPartyIDin theConnectmessage.
- The callingPartyNumberin theConnectmessage.
 
- The 
Rules in the called_party block are treated as
ISUP numbers and apply to:
- Normalisation:
- the calledPartyNumberin theInitialDPmessage.
- the originalCalledPartyIDin theInitialDPmessage.
 
- the 
- Denormalisation:
- The destinationRoutingAddressin theConnectmessage.
- The originalCalledPartyIDin theConnectmessage.
- The assistingSSPIPRoutingAddressin theEstablishTemporaryConnectionmessage.
 
- The 
Rules in the called_party_bcd block are treated as
GSM called party BCD numbers and apply to:
- Normalisation:
- the calledPartyBCDNumberin theInitialDPmessage.
 
- the 
- Denormalisation:
- Not used.
 
All configuration blocks may use the following sentinel replacements:
| Sentinel | Replacement Type | Description | 
|---|---|---|
| vlr | Full | The full VLR number from the InitialDPmessage. | 
| vlr_cc | Prefix | The E.164 country code of the VLR number from the InitialDP. | 
| msc | Full | The full MSC address from the InitialDPmessage. | 
| msc_cc | Prefix | The E.164 country code of the MSC address from the InitialDP. | 
Note that the VLR number and MSC address fields are not normalised and are expected to be in E.164 international format when received.