
178
SMG digital gateway
disable in: no
reserv trunk: none
direct_pfx: none
RADIUS-profile: none
destination: Linkset [0]
local: no
Modifiers:
incoming calling: none
incoming called: none
outgoing calling: none
outgoing called: 1
outgoing redir: none
outgoing orig-cld: none
outgoing generic num:none
use in-band message: no
connected-num transit: normal
Objective 2
Remove the area code from the caller number, which is received in the national format with area code
383, of
trunk group 0
and change the number type to
subscriber
.
Creating a Modification Rule
A number in national format contains 10 digits and begins with 383. Since the remaining 7 digits may take
any values, "xxxxxxx" should be specified for them. The resulting mask is
(383ххххххх)
. The area code, i. e. the
first 3 digits, should be removed, while the remaining digits remain unchanged. The resulting modification rule is
as follows:
"…ххххххх
". Use the
change
command for category modification (the
add
command in the command
example below adds an incoming modifier number 8; thus, the
change
category modification command should
be used for modifier 8).
Commands Used
SMG4>
config
// Enter the configuration mode
Entering configuration mode
SMG4-[CONFIG]>
new modifiers-table
// Create a new modifier table
NEW 'MOD-TABLE' [02]: successfully created
// Table 2 has been created
SMG4-[CONFIG]>
modifiers table
2
// Enter the configuration mode for table 2
Entering modifiers-table mode.
SMG4-[CONFIG]-MODTABLE[2]>
add
(383xxxxxxx) "$"
"...xxxxxxx"
// Add a modifier: a number mask and a modification
rule which removes the first three digits from the caller number. Modifier 8 has been created
Modifier. add
Modifier. Create: mask <(383xxxxxxx)>, cld-rule <$>, clg-rule <...xxxxxxx>
NEW 'MODIFIER' [08]: successfully created
Modifier. Created with index [8].
'MODIFIER' [08]:
table: 2
mask: (383xxxxxxx)
numtype: any
AONcat: any
general-access: no change
general-numplan: no change
called-rule: $
called-type: <no-change>
called-numplan: no change