Session Router Configuration
257
Software Configuration Guide Release 2.10, Revision 1.00
SN[switch]#
number-prefix national 0
Command
Purpose
Step 1
node
(ctx-cs)[
switch
]# [no] number-
manipulation
{cdpn | cnpn } {(add ) |
(remove ) |
(replace ) |
(truncate ) |
(set-type-of-number
{unknown | national | international |
subscriber | network-specific | abbreviated }
) |
(set-numbering-plan
{unknown | e164 | data | telex | national |
private } ) |
convert-to-unknown |
convert-to-specific }
Create a number manipulation function
identified by a “speaking” name. Specify
if the function acts on the called or calling
party number. Specify the action:
•
add digits in front of number
•
remove number of digits starting
from 1
st
•
replace number based on
translation table
•
truncate number to last n digits
•
set number type
•
set numbering plan
•
convert the number type to
unknown and add the configured
prefix or to international and
remove configured prefix if
present
Step 2
Repeat step 1 to create more than one
number manipulation function
Example: Configure Number Manipulation Functions
Add digits to CdPN: Input: 0319852525 Result: *50319852525
SN[switch]#
number-manipulation CdPNadd0 cdpn add *5
Remove digits from CdPN: Input: 0319852525 Result: 9852525
SN[switch]#
number-manipulation CdPNrm031 cdpn remove 3
Truncate digits of CdPN: Input: 0319852525 Result: 525
SN[switch]#
number-manipulation CdPNtrunc3 cdpn truncate 3
Set number type: Input: CdPN of type ‘national’ Result: number of type ‘international’
SN[switch]#
number-manipulation CdPNTypeInt cdpn set-type-of-number
international
Set numbering plan: Input: number with numbering plan ‘e164’ Result: number with numbering
plan ‘data’
SN[switch]#
number-manipulation CdPNNumPlanData cdpn set-numbering-
plan data
Convert calling party number of type 'unknown' to type 'national':
Input: number (0319852525) of type 'unknown' and national prefix '0'
Result: number of type 'national' and with national prefix '0' stripped away (319852525)
Calling party numbers of type 'national' will be left untouched
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...