380
SMG Digital Gateway
disable out: no
disable in: no
reserv trunk: none
direct_pfx: none
RADIUS-profile: none
destination: SIPT-Interface [3]
local: no
Modifiers:
incoming calling: none
incoming called: none
outgoing calling: none
outgoing called: 7
Objective 2:
In the
trunk group 0
, for the caller number received in the national format with area code 383, remove the
area code and change the number type to
'subscriber'
.
Modification rule composition
Number in national format is 10-digit and begins with 383; given that values of the remaining 7 digits may
vary, you should specify 'xxxxxxx' for them. Resulting mask is
(383ххххххх).
To remove the area code, i.e. the
first 3 digits, remaining digits will be left unchanged, resulting modification rule as follows: '
…ххххххх'
. For
category modification, use
change
command (in command example below,
add
command adds incoming
modifier with the number 2, thus in
change
category modification command you should use modifier 2).
Utilized commands:
SMG>
config
// Enter the configuration mode
SMG-[CONFIG]>
trunk
0
// Enter the trunk group configuration mode
SMG-[CONFIG]-TRUNK[0]>
modifiers
//
Enter the modifier configuration mode
SMG-[CONFIG]-TRUNK[0]-MODIFIER>
addincoming calling
(383xxxxxxx) "...xxxxxxx"
// Add caller number modification rule in the incoming communication
InModifier. Create: mask <(383xxxxxxx)>, rule <...xxxxxxx>
NEW 'TRUNK: IN-MODIFIER' [02]: successfully created
InModifier. Created with index [2].
'TRUNK: IN-MODIFIER' [02]:
trunk: 0
type: calling
mask: (383xxxxxxx)
rule: ...xxxxxxx
calling-type: no change
calling-pres: no change
calling-scrn: no change
calling-catAON: no change
SMG-[CONFIG]-TRUNK[0]-MODIFIER>
change incoming clg_type
2 subscriber
// Change the caller number type in the modifier created by the previous command
'TRUNK: IN-MODIFIER' [02]:
trunk: 0
type: calling
mask: (383xxxxxxx)
rule: ...xxxxxxx
calling-type: subscriber
calling-pres: no change
calling-scrn: no change
calling-catAON: no change