37.13.2 voip sip numberplan map Command
Syntax:
voip sip numberplan map [<name>]
This command displays which SIP call service profiles refer to the specified SIP numbering
plan table. An example is shown, displaying the SIP call service profiles that map to a
numbering plan table named "numplan_table".
ras> voip sip numberplan map numplan_table
index name
----- --------------------------------
1
. grilp
2
. sw
37.13.3 voip sip numberplan set Command
Syntax:
voip sip numberplan set <name> <index> [<pattern> <rule>]
where
<index>
<pattern>
<rule>
This command replaces the
VoIP line card applies the rules in numerical order, from 1 ~ 16, so ordering is important.
MSC1000G/1024G/1224G Series User's Guide
The entry number (1 ~ 16) in the numberplan table.
=
=
The dialed number for which this rule applies. Up to 48 characters. The
pattern can be a specific number or a defined pattern.
Allowed characters are:
•
Numerals "0" ~ "9"
•
"x" (representing one digit)
•
Asterisk "*" (representing one or more digits)
•
Period "." (representing zero or more repetitions of the digit or range
preceding it). For example "0x." represents "0" followed by one or more
repetitions of any digit. "[3~5].xxxxxxx"represents one or more
repetitions of a digit '3'~'5' followed by seven digits.
•
Tilde "~" (representing a range of digits, for example "[3~9]"). The tilde
must be used in brackets, and characters to either side of the tilde
must both be digits.
•
Comma"," (representing a choice of digits. for example "[4,9]"). The
comma must be used in brackets, and characters to either side of the
comma must both be digits.
•
Vertical bar (pipe) "|", separating number plan patterns. For example
"9|x.#" represents '9' or one or more repetitions of any digit followed by
a '#' character.
•
Use brackets ('[', ' ]') to specify an allowed range for a dialed digit. For
example "[1,3~5]xxxxxxx". The first character of the pattern can be '1',
'3', '4', or '5' and must be followed by seven digits.
•
A maximum of one pair of parentheses "(" and ")".
The value with which the pattern is to be replaced.
=
"\c" = countrycode
"\d" = national destination (region) code
"\1" = the numbers enclosed by the parentheses in the <pattern>
"deny" = the <pattern> is not allowed.
(the dialed number) with the specified
<pattern>
Chapter 37 voip Commands
. The
<rule>
959