.. _translation_rule_numbering:

Translation Rule Numbering
--------------------------

The following information can be helpful to decode the number of
Translation Rules included in IOS Command Builders.

* The first digit indicates if the rule is for SRST, VoIP, or TDM: 7 for SRST,
  8 for VoIP, and 9 for PSTN.
* The second digit indicates if it is for incoming or outgoing call: 1 for
  incoming and 0 for outgoing
* The third digit indicates if it is for calling or called number: 1 for calling
  and 2 for called
* The fourth digit indicates if NOA is used: 1 is for NOA and 2 for no NOA and
  defines on the TDM trunk to the PSTN.

Examples:

* Translation-rule 9011 - for handling calling number of an outgoing call to the
  PSTN where NOA is used.
* Translation-rule 9022 - for handling called number of an outgoing call to the
  PSTN where NOA is not used.
* Translation-rule 9111 - for handling calling number of an incoming call from
  the PSTN where NOA is used.