Cisco Support Community

How to configure the called party number for the national plan type in Cisco IOS voice gateways

Core Issue

The debug isdn q931 command output shows that all calls are being sent with an unknown plan type:

Channel ID i = 0x8A  

Calling Party Number i = 0x81, '225555111'  

Plan:ISDN, Type:Unknown 

Called Party Number i = 0x81, '555390'

Plan:ISDN, Type:Unknown

Sometimes it is necessary to set the ISDN calling number plan type to national or international to have calls pass successfully through a carrier.


Consider translation rule four set on the gateway, as shown:

translation rule 4

rule 1 ^4 9004 international international

rule 2 ^4 904 national national

voice-port 0:D

translate calling 4

Perform these steps:

  1. Match any calling number beginning with the number 4 that has national or international carried across the VoIP network.      
  2. Set the ISDN plan type for these numbers to national or international, respectively.

Additionally, prepend national numbers with 90 and international calling numbers with 900. In this case, the call is being placed through a PBX. An access code of 9 is used. National numbers are prepended with a 0, while international numbers are prepended with 00.

For more information, refer to:

Common Q931 Information Elements

0x8 - National standard

0x2 - National number

Call Presentation

Called party number (DNIS)

Calling party number (ANI)

Voice Gateways

IOS gateways