Skip to main content

AirTable Data Store

We'll use AirTable as our data store for campaign and destinations management. In addition, we'll store our voice applications in Airtable and we'll also log status updates to a log table. Below you will find the structures of these tables.

Campaign Table

Column NameTypeDescription
NameSingle line textThe campaign name.
Caller IDSingle line textThe Caller ID to present to the destination being dialled.
Different countries may have various regulations about this setting.
Owner EmailemailThe Campaign owner email, to be used for reporting purposes and/or error notifcations.
Date StartDateThe Campaign start date. Prior to thie date, the Campaign is considered DISABLED.
Date EndDateThe Campaign end date. After this date, the Campaign is considered DISABLED.
Hour StartnumberThe Campaign start time. Prior to this hour of the day, the Campaign is considered DISABLED.
Hour EndnumberThe Campaign end time. After this hour of the day, the Campaign is considered DISABLED.
CallbackURLstringThe Status Updates Watcher endpoint. Status updates will be sent to this URL as the call progresses.
StatusSingle SelectEither of the following: New, Active, Completed, Disabled. Only Campaigns with the Active status will be considered for execution.
CreatedCreated TimeCampaign creation date and time.
ModifiedLast Modified TimeCampaign last modification date and time.
QueueLink to Queue TableA link to the Queue Table, showing the assocaited phone numbers to this Campaign.

Voice Application Table

Column NameTypeDescription
NameSingle line textThe Voice Application Name.
TypeSingle SelectEither of the following: CXML Document or HTTP Endpoint.
Read More Below
DataLong TextEither a valid CXML Document or a remote URL.
StatusSingle SelectEither of the following: Enabled, Disabled.
CreatedCreated TimeVoice Application creation date and time.
ModifiedLast Modified TimeVoice Application last modification date and time.
QueueLink to Queue TableA link to the Queue Table, showing the assocaited phone numbers to this Voice Application.

Voice Application Types

CXML Document

A CXML Document is a valid CXML call-flow script as defined by the CXML Referece. This Voice Application Type is recommended when you want to achieve optimal response performance, following the remote destination call answer.

HTTP Endpoint

An HTTP Endpoint may be a Make scenario, or a remotely served CXML Document. This option is a little slower than CXML Document type, as the remote endpoint must be queried first, prior to Voice Application execution.

Queue Table

Column NameTypeDescription
Phone NumberSingle line textThe destination phone number to be used.
CampaignLink to Campaign TableA link to the Campaign Table, showing the Campaign name for this destination.
Voice ApplicationLink to Voice Application TableA link to the Voice Application Table, showing the Voice Application name for this destination.
StatusSingle SelectEither of the following: Pending, Busy, No Answer, Answer, Failed, Congestion, Processing, Ringing, New.
Read More Below
TokenSingle line textA Cloudonix platform token, that uniquely identifies this call entry in Cloudonix. Use this when querying the Sessions API.
DurationnumberIf the call was answered, what was its duration?
RetrynumberThe maximum number of dial attempts to reach the destination.
Dial CounternumberThe number of dial attempts that was made, to reach the destination.
CreatedCreated TimeQueue entry creation date and time.
ModifiedLast Modified TimeQueue entry modification date and time.
NameLookup from Voice Application TableThe Voice Application name associated with this queue entry.
TypeLookup from Voice Application TableThe Voice Application type associated with this queue entry.
DataLookup from Voice Application TableThe Voice Application data assocaited with this queue entry.

Queue Statuses

When creating a new record in the Queue Table, the default Status will be Pending, indicating it's ready for processing. The table below explains each of the possible Statuses and the transitions between them.

StatusDescriptionNext Status
NewA record carrying this status will not be processed, till the status is changed to Pending.
PendingA record carrying this status will be processed for dialing.Processing
ProcessingA record carrying this status is being processed by the Queue Processor.Ringing
RingingCall is currently ringing at the remote destination.See Result Statuses table below.

Result Statuses

Result StatusDescription
AnswerThe call was answered by the remote party and the Voice Application was executed.
No AnswerThe call timed out while ringing at the destination.
BusyThe call received a network busy signal from the remote destination.
FailedThe call had failed to properly initiate.
(eg. the destination provided isn't available via any outbound voice trunk)
CongestionThe call had failed to properly initiate due to lack of resources.
>(eg. no more available channels with the telephony carrier)

Log Table

Column NameTypeDescription
TokenSingle line textA Cloudonix platform token, that uniquely identifies this call entry in Cloudonix. Use this when querying the Sessions API.
ObjectLong TextThe log entry object, encoded as a String value.
CreatedCreated TimeThe log entry creation date and time.