Call data (call_full) in customizations

circle-info

For Bitrix24, the call_full object is available starting with Itgrix_bx 3.10.0.

For Kommo, the call_full object will appear in the Itgrix_amo 2.13.0 version.

Main object (call_full)

{
  "call_full": {
    "active_conversation_id": "<uniqueid of the current call (or an empty line)>",
    "channel": {<Call channel data from Asterisk (main channel - linkedid)>},
    "conversations": {
      "1111111111.11111": {
        "channel": {<Conversation channel data from Asterisk>},
        "is_parked": <Whether the conversation is on hold (true/false)>,
        "user": {<User data found by phone number (or null)>}
      },
      ...
    },
    "deal": {<Transaction data (or null)>},
    "entity": {<Entity data (or null)>},
    "is_ivr": <Is a missed call on a IVR (true/false)>,
    "record": "<Link to call recording (or empty string)>",
    "registration": {<Call registration data (or null) - only for Bitrix24>},
    "result": <Call result (SIP-status, int)>
  }
}

Channel data (channel)

Date-time format

The date-time is output in the format YYYYY-MM-DD HH:MM:SS.

If no value is set (no event occurred), the value is displayed 0001-01-01 00:00:00.

circle-info

The time values correspond to the time zone on the Asterisk server.

Number data (from, to, trunk)

Example of prefix configuration:

Example of a number to:

circle-info

The connector first tries to use the number in the field custom (i.e., the result of autosubstitution and/or customization); if it is not present, the original number in the field original.

User data (user)

circle-exclamation
circle-info

Bitrix24 user fields are described in the REST API documentationarrow-up-right.

The Connector considers the following field values in Bitrix24 as user phone numbers:

  • Internal telephone (field UF_PHONE_INNER)

  • Cell phone (field PERSONAL_MOBILE )

  • Work phone (field WORK_PHONE)

  • Phone (field PERSONAL_PHONE )

User phone numbers in the phones object are represented as strings (as in Bitrix24).

Deal data (deal)

circle-exclamation

Entity data (entity)

circle-info

Telephone numbers in the phones array are represented as an object similar in structure to the number in the channel: Number Dataarrow-up-right.

circle-info

In the type field for Bitrix24 there are possible values: company,contact,lead.

circle-exclamation

Call registration data in CRM (registration)

The registration object is present only for Bitrix24 (for Kommo it will always be null).

Call result (result)

The result of the call in the form of SIP status (integer).

Detailed description in the article Detail-call-statusesarrow-up-right.

Last updated