Call outcomes

Every call record carries a status, a direction and a voicemail_left flag. Together they say how a call ended. This page lists the vocabulary, explains the one filter that matches what people mean by "missed", and shows how the portal labels each combination so your reports can say the same thing. F

Every call record says how the call ended in outcome, using the same taxonomy as the Analytics page. Read outcome together with direction: each direction has its own values.

directionoutcomeMeaning
inboundansweredA person answered.
inboundabandonedThe caller hung up before anyone answered: in a menu, while phones rang, or during a closed-hours announcement.
inboundsystem_endedThe system ended the call without a person or a mailbox: closed hours, a menu timeout, a routing failure.
inboundvoicemailThe call reached a mailbox.
outboundconnectedThe called party answered.
outboundno_answerNobody answered.
outboundcancelledThe caller hung up before an answer.
internalansweredA person answered.
internalno_answerNobody answered.
internalcancelledThe caller hung up before an answer.
internalvoicemailThe call reached a mailbox.

internal is a call usually between two of your extensions; called says who it was for. A call from another account's phone is never internal: it is inbound for the account it reaches, from an outside party, with its real outcome, and the account that placed it has its own outbound record.

outcome is null only for a call the taxonomy does not classify (an outbound call that ended in a mailbox). Ignore a value you do not know. For requests, paging and errors, see Call history; every field is on List call records.

Filter with outcome (repeat it for several values) and direction:

curl -G https://api.emaktalk.com/api/v2/call_records \
  -H "Authorization: Bearer $EMAK_API_KEY" \
  --data-urlencode "direction=outbound" \
  --data-urlencode "outcome=no_answer" \
  --data-urlencode "outcome=cancelled"

Missed calls: missed

missed is the Missed group: an inbound call nobody answered, that is outcome abandoned, system_ended or voicemail. It is false for every outbound and internal call. To list missed calls, filter with missed=true rather than listing the outcomes yourself.

curl -G https://api.emaktalk.com/api/v2/call_records \
  -H "Authorization: Bearer $EMAK_API_KEY" \
  --data-urlencode "missed=true"

Mailboxes: voicemail

voicemail is set when the call reached a mailbox, in any direction, and null when it reached none.

FieldMeaning
leftWhether a message was left. A historical fact: it stays true after the message is deleted.
mailboxThe mailbox the call reached (id, extension, name), or null when the record does not name it.

The message itself is read in the voicemail app, not here. Filter with voicemail_left=true or false.

An extension's own outcome: extension_outcome

When you filter by exactly one extension (by its number, alias, exact name or id), each row also carries extension_outcome: that extension's own outcome on the call. With no extension filter, or with several, it is absent.

The callextension_outcome
A call the extension placedThe call's outcome.
An inbound call it ranganswered (it answered), answered_by_colleague (someone else took the call; not missed for this extension), sent_to_voicemail, abandoned, system_ended, rejected (declined), busy, unreachable, forwarded (forwarding sent the call on), unclassified.
An inbound call it only received in its mailboxvoicemail.
An internal call it receivedanswered, answered_by_colleague (someone else took it, for example another ring-group member; not missed), voicemail (its mailbox got the call), missed (nobody answered).

It is absent when it is not computed (an answered internal call whose answerer is not known). Ignore a value you do not know.

curl -G https://api.emaktalk.com/api/v2/call_records \
  -H "Authorization: Bearer $EMAK_API_KEY" \
  --data-urlencode "extension=101"

Fax

A fax is not an outcome: it is a call with type: fax, carrying the outcome of its call like any other. Filter with type=fax, or type=voice to leave faxes out.