Changing PRI NP (Numbering Plan) and TON (Type of Number) to National/isdn-telephony
Posted by Danny Staub, Last modified by Danny Staub on 15 November 2017 03:07 PM

Certain carriers require that the Numbering Plan and Type of Number, sent in the ISDN SETUP message, be National/isdn-telephony (ISDN\Telephony e.163,4).  Unless configured otherwise, the SmartNode will send this as UNKNOWN/UNKNOWN.  

 

SETUP (DSS1 User)
[04038090A3]
Bearer capability : speech - CCITT
circuit mode - 64kBit/s - G.711 A-law
[1E028583]
Progress indicator : origination address is non-ISDN
private network serving remote user - CCITT
[6C03008030]
Calling party number : 0
unknown number - unknown numbering plan
presentation allowed - user provided not screened
[700480313233]
Called party number : 123
unknown number - unknown numbering plan
[7D029181]
High layer compatibility : telephony
CCITT

 

To change this behaviour, you will need to configure the following mapping tables in your configuration.  This configuation works for both SmartWare and Trinity VoIP devices.

 

routing-table called-e164 RT_FROM_SIP
  route default dest-interface IF_ISDN_0 ISDN_NATIONAL

mapping-table calling-type-of-number to calling-type-of-number MAP_TO_NATIONAL
  map unknown to national

mapping-table calling-numbering-plan to calling-numbering-plan NATIONAL
  map unknown to isdn-telephony

complex-function ISDN_NATIONAL
  execute 1 MAP_TO_NATIONAL
  execute 2 NATIONAL

 

Once you have implemented these config changes, you will simply have to route your SIP interface to the routing-table RT_FROM_SIP, as seen below.

 

interface sip IF_SIP
  bind context sip-gateway GW_SIP
  route call dest-table RT_FROM_SIP
  remote 192.168.0.1

 

The SETUP message will now look like this.

 

SETUP (DSS1 Ntwk)
[04038090A3]
Bearer capability : speech - CCITT
circuit mode - 64kBit/s - G.711 A-law
[1E028183]
Progress indicator : origination address is non-ISDN
private network serving local user - CCITT
[6C03218030]
Calling party number : 55555
national number - E.164 numbering plan
presentation allowed - user provided not screened
[70058031323233]
Called party number : 44444
unknown number - unknown numbering plan
[7D029181]
High layer compatibility : telephony
CCITT

 

 

 

(8746 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).