Calls

A Call represents a voice connection between FreeClimb and a remote end point. This connection may be inbound (when a person calls a FreeClimb number) or outbound (when an application initiates the Call, either via the REST API or the OutDial PerCL command. The Calls list resource represents the set of all phone Calls made to and from an account.

FreeClimb currently does not support direct SIP user agent endpoints. If you are interested in SIP trunking, please contact support.

Resource properties

A Call resource is represented by the following properties:

PropertyTypeDescription
uristringURI for this resource, relative to /apiserver.
dateCreatedstring date-timeDate that this resource was created (GMT), in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).
dateUpdatedstring date-timeDate that this resource was last updated (GMT), in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).
revisionintegerRevision count for the resource. This count is set to 1 on creation and is incremented every time it is updated.
callIdstringString that uniquely identifies this Call resource.
parentCallIdstringID of the Call that created this leg (child Call).
accountIdstringID of the account that owns this Call.
tostringPhone number that received this Call.
fromstringPhone number that initiated this Call.
phoneNumberIdstringIf the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS).
If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI).
statusstringqueued – Call is ready and waiting in line before going out.
ringing – Call is currently ringing.
inProgress – Call was answered and is currently in progress.
canceled – Call was hung up while it was queued or ringing.
completed – Call was answered and has ended normally.
busy – Caller received a busy signal.
failed – Call could not be completed as dialed, most likely because the phone number was non-existent.
noAnswer – Call ended without being answered.
startTimestring date-timeStart time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.
connectTimestring date-timeTime the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.
endTimestring date-timeEnd time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). This value is empty for queued, ringing, or inProgress Calls.
connectDurationint integerLength of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.
durationint integerTotal length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.
directionstringDirection of the Call. inbound for Calls into FreeClimb, outboundAPI for Calls initiated via the REST API, outboundDial for Calls initiated by the OutDial PerCL command.
answeredBystringIf this Call was initiated with answering machine detection, either human or machine. Empty otherwise.
subresourceUrisobjectThe list of subresources for this Call. These include things like logs and recordings associated with the Call.