Line object

This object is only available for VCS calls and is destroyed before entering the call termination script.

Property name

Type

Description

line.ANI

String

For incoming calls: the phone number of the caller, if available.

For outgoing to external number calls: the agent ANI as declared in CCaaS Admin on the agent level. If not declared on the agent level, then the ANI declared on the tenant level. If not declared on the tenant level, then the tenant name.

line.CallerID

String

The identification of the caller, if available.

line.CallingPartyID

String

The number of the caller, if available.

line.CalledPartyID

String

The number of the VCS if available.

line.CallIdentifier

String

H323 call identifier.

line.DeviceProfileShortName

String

Short name of the recognized device. This variable is applicable only to H.323 video.

line.DNIS

String

For incoming calls: the phone number that the caller dialed, if available.

For outgoing to external number calls: DNIS is the original dialed value before dialing plan processing.

line.UUI

String

Q.931 user-to-user data field. This variable is applicable only to H.323 and not SIP calls.

line.UUI.ex

String

Q.931 user-to-user data field with specification of language and code page. This variable is applicable only to H.323 and not SIP calls.

line.RemoteIpAddressInfo

String

Contains the IP address of caller if the caller calls from IP phone or gateway if the caller calls from PSTN.