40

NTML Examples

Example of Normal mode NTML (normal_cs1k.ntm)

This NTML is used by SSM to route gateway calls to active SPS (100.20.42.77 or 100.20.42.82) with domain nortel.com.

<translation>

<address-switch field = "original-destination" subfield = "host"> <address is = "100.20.42.77">

<replace string=" nortel.com" field="destination" subfield="host"> <replace string=" nortel.com" field="origin" subfield="host">

<replace string=" nortel.com" field="original-destination" subfield="host"> <route host="100.20.42.77" add-route="yes" replace-host ="no"/> </replace>

</replace>

</replace>

</address>

<address is = "100.20.42.82">

<replace string=" nortel.com" field="destination" subfield="host"> <replace string=" nortel.com" field="origin" subfield="host">

<replace string=" nortel.com" field="original-destination" subfield="host"> <route host="100.20.42.82" add-route="yes" replace-host ="no"/>

</replace>

</replace>

</replace>

</address> </address-switch> </translation>

Example of Backup mode NTML (backup_cs1k.ntm)

This NTML is optional. Here is an example assuming that calls with certain prefix in backup mode needs to be converted to a 5 digit number extension.

<translation> <number-switch>

<number is = "967?????"> <drop literals = "3"/>

</number>

<number is = "613967?????"> <drop literals = "6"/>

</number>

<number is = "1613967?????"> <drop literals = "7"/>

</number> </number-switch>

</translation>

Page 40
Image 40
Nortel Networks 2330 quick start Ntml Examples Example of Normal mode Ntml normalcs1k.ntm