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>
<replace string=" nortel.com" field="destination" subfield="host"> <replace string=" nortel.com" field="origin" subfield="host">
<replace string=" nortel.com"
</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"
</replace>
</replace>
</replace>
</address>
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 is = "967?????"> <drop literals = "3"/>
</number>
<number is = "613967?????"> <drop literals = "6"/>
</number>
<number is = "1613967?????"> <drop literals = "7"/>
</number>
</translation>