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.
A Call resource is represented by the following properties:
|uri||string||URI for this resource, relative to |
|dateCreated||string date-time||Date that this resource was created (GMT), in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).|
|dateUpdated||string date-time||Date that this resource was last updated (GMT), in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).|
|revision||integer||Revision count for the resource. This count is set to |
|callId||string||String that uniquely identifies this Call resource.|
|parentCallId||string||ID of the Call that created this leg (child Call).|
|accountId||string||ID of the account that owns this Call.|
|to||string||Phone number that received this Call.|
|from||string||Phone number that initiated this Call.|
|phoneNumberId||string||If 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).
|startTime||string date-time||Start 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.|
|connectTime||string date-time||Time 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.|
|endTime||string date-time||End 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.|
|connectDuration||int integer||Length 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.|
|duration||int integer||Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.|
|direction||string||Direction of the Call. |
|answeredBy||string||If this Call was initiated with answering machine detection, either |
|subresourceUris||object||The list of subresources for this Call. These include things like logs and recordings associated with the Call.|