Get Phone Information

This block allows an agent to view information about the caller displayed in the Chat window of their agent application.

Caution

This block must be used in conjunction with the TARGUSinfo phone-based data service. To be able to use this block, you need an account (Service ID) with TARGUSinfo, as well as a username and a password.

 

Properties

Values

Description

URL to WebGW

Web address

Currently, the default value for this is already entered in this field, and should not be changed.

Service Id

Number

This is the account ID or Service ID assigned to your account by TARGUSinfo.

User Name

String

The user name for this account.

Password 

String

The password for this account.

Phone Number

String

This number must be available to this block, either as the result of caller input, or, for example, by getting line.ANI information from the Line object.

Note

This service is only available for US and Canadian calls. This field only accepts 10-digit phone numbers without spaces or characters other than digits.

Result Variable

String

Variable name in which to store returned value(s) for further processing.

See How to use variables.

Information fields

The following information fields are available in the Result Variable.

Field

Description

.Error

0 if the call was successful.

.Building

If the building has a name, such as the Empire State Building, that information may appear here.

.Address

The street address of the caller

.City

The caller's city

.State

The caller's state

.Zip

The caller's 5-digit ZIP code

.Zip4

The caller's 4-digit ZIP code extension

.NameType

This is either B for a business or C for a home consumer number.

For B, a business, the following values appear:

  • .BusinessName — the name of this business
  • .BusinessSuffix —  this field may show such information as "Inc.", "LTD", or "LLP".

For C, a home consumer, the following values appear:

  • .LastName —  the caller's last name
  • .FirstName —  the caller's first name
  • .MiddleInitial—   the caller's middle initial

.TimeZone

The caller's time zone