
SMG digital gateway
177
7
APPENDIX C. EXAMPLES OF MODIFIER OPERATION AND DEVICE CONFIGURATION VIA CLI
Modifier Operation Examples
Objective 1
Implement a modification corresponding to the mask (1х{4,6}) in
trunk group
0: remove the first digit,
replace it with "34", and leave the other digits unchanged.
Creating a Modification Rule
This mask covers all 5-, 6- and 7-digit numbers beginning with 1. According to the syntax, the modification
rule will be as follows:
".+34хххх??"
(the "." character at the first position means that the first digit is deleted;
"+34" means that "34" is inserted after it; "хххх"—the next 4 digits are always present and are not modified;
"??"—the last 2 digits may be missing for a 5-digit number, but if the number consists of 6 or 7 digits, one of the
digits present at these positions and is not modified).
Commands Used
SMG4>
config
// Enter the configuration mode
Entering configuration mode
SMG4-[CONFIG]>
new modifiers-table
// Create a new modifier table
NEW 'MOD-TABLE' [01]: successfully created
// Table 1 has been created
SMG4-[CONFIG]>
modifiers table
1
// Enter the configuration mode for table 1
Entering modifiers-table mode.
SMG4-[CONFIG]-MODTABLE[1]>
add
(1x{4,6}) ".+34xxxx??"
// Add a modifier: a number mask and a modification rule
Modifier. add
Modifier. Create: mask <(1x{4,6})>, cld-rule <.+34xxxx\?\?>, clg-rule <$>
NEW 'MODIFIER' [07]: successfully created
Modifier. Created with index [7].
'MODIFIER' [07]:
table: 1
mask: (1x{4,6})
numtype: any
AONcat: any
general-access: no change
general-numplan: no change
called-rule: .+34xxxx??
called-type: no change
called-numplan: no change
calling-rule: $
calling-type: no change
calling-numplan: no change
calling-present: no change
calling-screen: no change
calling-catAON: no change
SMG4-[CONFIG]-MODTABLE[1]>
exit
// Exit the modifier table configuration mode
Back to configuration mode.
SMG4-[CONFIG]>
trunk group
0
// Enter the trunk group configuration mode
Entering trunk-mode
SMG4-[CONFIG]-TRUNK[0]>
modifiers table
outgoing called
1
// Add the created modification table for modification of the
CdPN number in outgoing communications
Trunk[0]. Set oModCld '1'
'TRUNK GROUP' [00]:
name: TrunkGroup00
disable out: no