Configuration procedure
To configure global number substitution:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter voice view. | voice-setup | N/A |
3. Enter voice dial program view. | dial-program | N/A |
4. Create a number substitution rule list and enter voice number-substitute view. | number-substitute list-number | N/A |
5. Configure a dot-match rule. | dot-match { end-only | left-right | right-left } | Optional. By default, the dot match rule is end-only. |
6. Configure a number substitution rule. | rule rule-tag input-number output-number [ number-type input-number-type output-number-type | numbering-plan input-numbering-plan output-numbering-plan ] * | Optional. By default, no number substitution rule is configured. |
7. Configure the preferred number substitution rule. | first-rule rule-number | Optional. By default, the preferred number substitution rule is not configured. |
8. Exit voice number-substitute view and enter voice dial program view. | quit | N/A |
9. Bind the calling/called number of incoming/outgoing calls to a number substitution rule list. | substitute { incoming-call | outgoing-call } { called | calling } list-number | Optional. By default, no number substitution rule list is bound. That is to say, no number substitution is performed. |
To configure number substitution for a voice entity:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter voice view. | voice-setup | N/A |
3. Enter voice dial program view. | dial-program | N/A |
4. Create a number substitution rule list and enter voice number-substitute view. | number-substitute list-number | N/A |
5. Configure a dot-match rule. | dot-match { end-only | left-right | right-left } | Optional. By default, the dot match rule is end-only. |
6. Configure a number substitution rule. | rule rule-tag input-number output-number [ number-type input-number-type output-number-type | numbering-plan input-numbering-plan output-numbering-plan ] * | Optional. By default, no number substitution rule is configured. |
7. Configure the preferred number substitution rule. | first-rule rule-number | Optional. By default, the preferred number substitution rule is not configured. |
8. Exit voice number-substitute view and enter voice dial program view. | quit | N/A |
9. Enter voice entity view. | entity entity-number { pots | vofr | voip } | N/A |
10. Bind a number substitution rule list to a voice entity. | substitute { called | calling } list-number | Optional. By default, no number substitution rule list is bound to a voice entity. |
To configure number substitution for a voice subscriber line:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter voice view. | voice-setup | N/A |
3. Enter voice dial program view. | dial-program | N/A |
4. Create a number substitution rule list and enter voice number-substitute view. | number-substitute list-number | N/A |
5. Configure a dot-match rule. | dot-match { end-only | left-right | right-left } | Optional. By default, the dot match rule is end-only. |
6. Configure a number substitution rule. | rule rule-tag input-number output-number [ number-type input-number-type output-number-type | numbering-plan input-numbering-plan output-numbering-plan ] * | Optional. By default, no number substitution rule is configured. |
7. Configure the preferred number substitution rule. | first-rule rule-number | Optional. By default, the preferred number substitution rule is not configured. |
8. Exit voice number-substitute view and enter voice dial program view. | quit | N/A |
9. Exit voice dial program view and enter voice view. | quit | N/A |
10. Exit voice view and enter system view. | quit | N/A |
11. Enter voice subscriber line view. | subscriber-line line-number | N/A |
12. Configure a number substitution rule list for a subscriber line. | substitute { called | calling } list-number | Optional. By default, no number substitution rule list is configured for a subscriber line. |
IMPORTANT: Whatever number substitution mode is configured, the voice gateway performs number substitution only once on a given number. | ||