System variables

Call data

@CallRecord

DDI

Dialled number.

CLI

Originating number.

CLIWithheld

True: CLI withheld.

False: CLI not withheld.

PresentationCLI

The presentation CLI for the call.

PresentationCLIWithheld

True: Presentation CLI withheld.

False: Presentation CLI not withheld.

CallID

Unique ID for the call.

StartTime

The time at which the call reached the storm platform in the format YYYY-MM-DD HH:MM:SS

SetupDuration

The duration between the call reaching the storm platform and being routed to its destination (to the nearest tenth of a second).

RingingDuration

The call ringing duration (to the nearest tenth of a second).

CallDuration

The call duration (to the nearest tenth of a second). Includes calls that are in progress.

ClearingCause

The call result code, using Q.850 values. For incoming calls, this variable is populated when the call ends (its value is available in a clear down handler script). For calls made via the Outbound Call action cell, the value can be captured in a local variable.

Transferor User ID

ID of the PBX user who transferred the call to the script.

Transferor Username

Username of the PBX user who transferred to the script.

Call Record

@CLI

Originating number.

@DDI

Dialled number.

SMS Record

Available for inbound SMS messages only.

@SMS Origination

Originating number.

@SMS Destination

Destination number.

@SMS Message

Message text.

@SMS Keyword

Keyword.

Web Record

@Web Origination

Originating address.

@Web Destination

Destination address.

@Message Header

Message header.

@Message Content

Message content.

IM Record

These are for web chats.

@IM Mailbox

Mailbox ID.

@IM Chat ID

Chat ID.

@IM Name

Name.

@IM Subject

Subject.

@IM Query Parameter

If your organisation implements a custom form to enable customers to start a web chat, the information on the form is passed to the script via this parameter. (See the description of the Parse String action cell.)

Email Record

@From Address

From.

@To Address

To.

@CC Address

CC address.

@Email Subject

Subject.

@Email Message

Message text.

@Matched Email Address

Where the email has more than one ‘To’ email address, this is the one to which it was routed by the script.

@Number of Email Attachments

Number of attachments in the email.

Twitter Record

@Twitter Origination

Originating Twitter account.

@Twitter Destination

Destination Twitter account.

@Twitter Message

Message content.

@Twitter DM Flag

Indicates whether or not the message is a Twitter Direct Message.

@ Twitter Metadata

Track information.

Facebook Record

@Facebook Origination

Originating Facebook account.

@Facebook Destination

Destination Facebook account.

@Facebook Message

Message content.

@Facebook DM Flag

Indicates whether the message was posted on your Facebook page (a public message) or was received from that page via Facebook Messenger (a direct message).

@Facebook Message Status

Indicates whether the message is an initial public post, an initial direct message, or a follow-on comment.

@Facebook Metadata

Any additional information provided by Facebook.

Contact Fields

Available in a Dial script for an OUTBOUND campaign.

@ID

Call unique ID.

@Name

Name of contact.

@Number

Dialled number.

@Email

Contact’s email address.

@Misc1 - @Misc20

Miscellaneous fields 1 - 20, mainly for user-defined data.

@Attempts

Number of attempts made to call this number.

@Last Result

The result of the last processing attempt. Either a system-generated value (for example 'Busy' or 'Preview rejected by agent), or the last agent-selected completion code.

@Last Called

Date and time the contact was last processed by OUTBOUND.

@Table Name

DATA MANAGEMENT table name.

@View Name

DATA MANAGEMENT table view name.

@System Retry

Indicates whether or not the call was placed as a result of the record being selected using the retry profile assigned to the campaign.

@Scheduled Callback

Indicates whether or not the call was made as an agent-scheduled callback.

@Callback Time

For a call pertaining to an agent-scheduled callback, the date and time the callback was scheduled to be placed.

@Callback Agent

For a call pertaining to an agent-owned callback, the name of that agent.

CDR Variables

Misc Fields

$_Misc_1 - $Misc_20

Miscellaneous fields used to hold call data.

Dial fields

$_Call_Result

For outbound campaigns, used to hold the completion code.