4.137 chg-sip-npp

Use this command to change existing number normalization rules (SIPPHCXT and SIPNNPFX). SIPPHCXT table will be used to provision the phone-context. SIPNNPFX table will be used to configure the prefixes against each phone context and it will also contain number of digits to be deleted (NPDD) and new prefix to be added (NPDS).

Parameters

phctxt (mandatory)
Phone Context
Range:
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
A string of 1 to 64 characters. Valid values are (0-9, A-Z), +, *, #, .(period), @ or DFLT (default).
pfx (mandatory)
Prefix
Range:
zzzzzzzzzzzzzzz
A string of 1 to 15 characters. Valid values are hex digits (0-9, A-F), +, *, -, #.
npds (optional)
New prefix digits to be substituted to digit string after deleting the NPDD.
Range:
zzzzzzzzzzzzzzz
A string of 1 to 15 characters. Valid values are hex digits (0-9, A-F), and NONE.
Default:
No change to the current value
System Default:
none
npdd (optional)
Number of prefix digits to be deleted from the incoming digit string.
Range:
zzzzzzzzzzzzzzz
An integer in the range of 0 to 15.
Default:
No change to the current value.
System Default:
0

Example

chg-sip-npp:phctxt=abc.com:pfx=131:npdd=2

chg-sip-npp:phctxt=xyz.com:pfx=131:npds=3a

chg-sip-npp:phctxt=abc.com:pfx=1:npdd=1:npds=af91

chg-sip-npp:phctxt=user@xyz.com:pfx=91*:npdd=1:npds=af91

Dependencies

SIPNP Feature must be enabled before changing any number normalization rules.

SIP Phone Context table (SIPPHCXT) should be accessible.

SIP Prefix table (SIPNNPFX) should be accessible.

SIP DBMM 2 table should be accessible.

At least one optional parameter must be specified.

The SIP Prefix entry must already exist in the SIPNNPFX table.

The SIP Phone Context entry must already exist in the SIPPHCXT table.

At least one NPDD or NPDS must be specified with non-default (other than 0, NONE) value.

Notes

None

Output

This example displays the output when all the parameters are specified:

chg-sip-npp:phctxt=abc.com:pfx=1:npdd=1:npds=af91

tekelecstp 12-07-09 19:12:14 EST EAGLE 45.0.0
chg-sip-npp:phctxt=abc.com:pfx=1:npdd=1:npds=af91
Command entered at terminal #4.

PHCTXTID table is (2 of 101) 2% full.

CHG-SIP-NPP: MASP A - COMPLTD

;