22
Caller ID Name and Number Reporting
The Caller ID name and number is captured from a header in the SIP INVITE (see
Current
Packet
above). The
From
header is always present, but depending on the VoIP provider, 2
additional headers that include the name and number could be present. The Vertex uses the
first header found, searching in the following order:
P-Asserted-Identity
→
Remote Party ID
→
From
In the example above, the
P-Asserted-Identity
header is used.
The name is extracted from the header by locating the first quote (
"
) and then storing the next
15 characters. In this Example, the Name will be displayed as ELLIJAY, GA. If the text is less
than 15 characters, the trailing quote terminates the capture. The Vertex uses spaces to pad
short names to 15 characters when outputting.
The Caller ID number appears after the string
<sip:
as
17168893199
. The Vertex algorithm
ignores a leading plus sign (
+
) or a 1. It collects up to 14 digits or until terminated by the @
sign. If the number of digits collected exceeds the number set when
ignoring extension to
extension dialing
, then the Caller ID number will be sent to the application.