Skip to main content

How to set the ISDN number type to "national number" for outbound FAX calls via LS1

Article # 3036222 - Page views: 78


This "Fast Publish" solution is based on one case only and most likely doesn't cover all possible solution scenarios or error descriptions. This solution is provided as-is and may contain limited technical imperfections and consequently may be revised at any time. If you have the same or similar error situation and the provided solution doesn't help in resolving your issue, or if you have further questions or possible additions, please contact your next level of support. 

To use different features (e.g. cost accounting for specific cost centers, screening) it is necessary to set the Caller- ID of an outgoing ISDN FAX call.

There are different methods to set the caller-ID (see Link to the manual in the "Notes" section below), but to set it differently for each message you can use the "++CID <caller-id>" command.

But even though the callerID was already set correctly using the ++CID method, the screening feature did not work correctly at the customer site. After discussing the problem with the technical support people from the 'Public switched telephone network' (PSTN), it turned out that they require a specific ISDN number type "national Call" to be set for the outgoing caller-ID. This ISDN number type must be set in the bits 5-7 of Calling party property in the outgoing ISDN Setup message. By default this ISDN number type is set to "Unknown number type" in calls issued by KCS TCOSS.


You can set a specific ISDN number type in the number conversion table (configuration lines 254..283) of the ISDN FAX channel. TCOSS defines the following abbreviations: (see solution base article: 00000025 for more information)

  • TI for international numbers
  • TN for national numbers
  • TS for subscriber numbers

Setting the ISDN number type for the Called party number:
If you want to set the ISDN number type for the called party number (receiver number) you have to define a number conversion rule for outbound calls (identifier "8"), for example the entry


will add the "national number" type for all outbound calls starting with digit "0". The digit "0" itself is removed, because it is not part anymore of the right side in the conversion rule.

Setting the ISDN number type for the Calling party number:
If you want to set the ISDN number type for the calling party number (originator number) - as requested by the PSTN people in the scenario described above, you have to define a number conversion rule with the type "C", for example the entry


will set the ISDN number type for the Calling party number of an outgoing call to "national number" and additionally a digit "0" will be added at the beginning of the calling party number.

Testing the result of the number conversion rules:
You can check the "ISDN number type" in the native ISDN Trace of an outbound call.

To get the native ISDN Trace output you have to configure the trace flags of the Line server node as follows:

HKLM\SOFTWARE\TOPCALL\TCOSS\TraceFlags\Node_xxxx=0x11 hex

Example configuration and Trace output:

In the example below the number conversion type for the calling party number was configured to "National number" using the number conversion rule "C~=TN0~"

Additionally the CallerID was set to 99999 by adding a "++CID 99999" line as first line to the message. The ISDN Trace output (part of the TCOSS*.TRC files) looks as follows:

31/10:02:31.766 (1738/1064) N3/T27 299337= SETUP(10) >> NUM=0866457782301 CHIP=0 OrigNumLen=7 ScrInd=0
31/10:02:31.766 (1738/1064) N3/T21 299337=>> L=49 A=0000 cr=0 Info pf=0 Ns=0C Nr=0B Setup(0003): A1= 4=9090A3 18=A98381
6C=A1303939393939 70=8130383636343537373832333031 7D=9184<

Please note the 6C=A1303939393939 entry for the 2nd trace line, "6C" is the identifier for the "Calling party number" property, the first Byte A1 specifies the Octet3 of the Calling party number, the remaining bytes define the callerID specified in the ++CID command, the leading 0 is added in the number conversion table.

A1 in binary format is 1010 0001. Important are the bits 5..7, so in this case x010 xxxx. A value of 010 specifies a national number.

The bits and their meaning are defined in the ETSI standards with following possible values:

Bits 7 6 5 Meaning

Bits 7 6 5 Meaning
  0 0 0 unknown number type
  0 0 1 international number
  0 1 0 national number
  0 1 1 network specific number (cannot be used by KCS)
  1 0 0 subscriber number
  1 1 0 abbreviated number (cannot be used by KCS)
  1 1 1 reserved for extensions (not used by KCS)


  • Using the ISDN number type shortcode already in the ++CID command does not work, so using ++CID TN099999 without an appropriate entry in the number conversion table will not set the ISDN number type to a 'national number'.
  • For details on how the CallerID can be set for an outgoing call, please refer to the TCOSS System Manual, chapter "Cost Center Parameter, Caller ID"  

Level of Complexity 



Applies to  

Product Version Build Environment Hardware
Kofax Communication Server All      
  • Was this article helpful?