Analog Trunk Caller ID

Last Updated : Oct 21, 2019 |

The following is an example trace from an analogue trunk that supports Incoming Call Line Identification (ICLID) or Calling Line Identification (CLI).

108691mS PRN: AtmTrunk1: StateChange CLIPossibleIncoming->Idle
108692mS PRN: AtmIO1: Block Forward OFF
108692mS PRN: AtmIO1: CLI Detection ON Equaliser ON
109703mS PRN: AtmTrunk1: CLI Message Rx'd:
109703mS PRN: 0x4500
109704mS PRN: 0x3031
109704mS PRN: 0x3134
109704mS PRN: 0x3136
109704mS PRN: 0x3035
109705mS PRN: AtmTrunk1: CLI Message Rx'd:
109705mS PRN: 0x4980
109706mS PRN: 0x3031
109706mS PRN: 0x3730
109706mS PRN: 0x372d
109706mS PRN: 0x3339
109706mS PRN: 0x3033
109707mS PRN: 0x3931
109707mS PRN: AtmTrunk1: CLI Message Rx'd:
109707mS PRN: 0x5800
09708mS PRN: AtmIO1: CLI Detection OFF Equaliser OFF
109708mS PRN: AtmTrunk1: StateChange CLIAwaitData->CLIDataSettle
109911mS PRN: AtmTrunk1: StateChange CLIDataSettle->CLIAwaitSecondRing
110191mS PRN: AtmTrunk1: StateChange CLIAwaitSecondRing->PossibleIncoming
Explanation:
108691mS PRN: AtmTrunk1: StateChange CLIPossibleIncoming->Idle

The Line interface is primed ready for the possibility of an incoming ICLID/CLI message.

108692mS PRN: AtmIO1: Block Forward OFF

AtmIO1 = Line Number 1.

108692mS PRN: AtmIO1: CLI Detection ON Equaliser ON

CLI detection is enabled for trunk 1.

109703mS PRN: AtmTrunk1: CLI Message Rx'd:

The first part of a ICLID message on trunk 1 is detected.

109703mS PRN: 0x4500

4500 = Date and time information. The info then follows in the 4 byte words.

109704mS PRN: 0x3031
109704mS PRN: 0x3134
109704mS PRN: 0x3136
109704mS PRN: 0x3035
The call date and time is 16:05 on 14th January.
  • Month: 30 (hex) = 0 (ASCII), 31 (hex) = 1 (ASCII) > 01 (January)

  • Day: 31 (hex) = 1 (ASCII), 34 (hex) = 4 (ASCII) > 14th.

  • Hours: 31 (hex) = 1 (ASCII), 36 (hex) = 6 (ASCII) > 16:00.

  • Minutes: 30 (hex) = 0 (ASCII), 35 (hex) = 5 (ASCII) > 00:05.

109705mS PRN: AtmTrunk1: CLI Message Rx'd:	

The second part of the ICLID message on trunk 1 is detected.

109705mS PRN: 0x4980	

4980 = Calling Party Number information.

109706mS PRN: 0x3031
109706mS PRN: 0x3730
109706mS PRN: 0x372d
109706mS PRN: 0x3339
109706mS PRN: 0x3033
109707mS PRN: 0x3931
The Calling Party Number is 01707-390391
  • 30 (hex) = 0 (ASCII), 31 (hex) = 1 (ASCII) > 01

  • 37 (hex) = 7 (ASCII), 30 (hex) = 0 (ASCII) > 70

  • 37 (hex) = 7 (ASCII), 2d (hex) = - (ASCII) > 7-

  • 33 (hex) = 3 (ASCII), 39 (hex) = 9 (ASCII) > 39

  • 30 (hex) = 0 (ASCII), 33 (hex) = 3 (ASCII) > 03

  • 39 (hex) = 9 (ASCII), 31 (hex) = 1 (ASCII) > 91

109707mS PRN: AtmTrunk1: CLI Message Rx'd:	

The third part of the ICLID message on trunk 1 is detected.

109707mS PRN: 0x5800	

5800 = End of ICLID.

09708mS PRN: AtmIO1: CLI Detection OFF Equaliser OFF	

ICLID dectection is disabled.

109708mS PRN: AtmTrunk1: StateChange CLIAwaitData->CLIDataSettle
109911mS PRN: AtmTrunk1: StateChange CLIDataSettle->CLIAwaitSecondRing
110191mS PRN: AtmTrunk1: StateChange CLIAwaitSecondRing->PossibleIncoming

Line state changes from receiving ICLID to awaiting the incoming audio call.