Dialog changed

Description

The parties, numbers, display names, or dialog state changed.

Table 1. System characteristics

Class

Type

connection_update

Properties

Table 2. Properties
Specification Description

Name: id
Type: varchar
Empty value: — 

Dialog identifier (idconn in Token API ccs requests) in <cid>.<invitets> format.

Name: state
Type: varchar
Empty value: — 

Dialog state: wait — awaiting answer, connected — conversation, onhold — hold.

Name: direction
Type: varchar
Empty value: — 

Direction as "<a_type> → <b_type>".

Name: idseance
Type: varchar
Empty value: — 

Session identifier — a chain of dialogs linked by transfers.

Name: a_number
Type: varchar
Empty value: empty string

Calling side number.

Name: b_number
Type: varchar
Empty value: empty string

Called side number.

Name: a_dn
Type: varchar
Empty value: empty string

Calling side display name.

Name: b_dn
Type: varchar
Empty value: empty string

Called side display name.

Name: a_type
Type: varchar
Empty value: — 

Calling side type: user, outer, ivr, conf, hunt, prompt.

Name: b_type
Type: varchar
Empty value: — 

Called side type: as a_type, plus mixed (called sides of different types) and undefined (before the call starts).

Name: a_domain
Type: varchar
Empty value: — 

Calling side domain.

Name: b_domain
Type: varchar
Empty value: — 

Called side domain.

Name: dialed
Type: varchar
Empty value: — 

Dialed number.

Name: ghost
Type: varchar
Empty value: absent

Service call mode (for example invitebyivr); absent for regular calls.

Example

[
  "notify",
  {
    "sid": "my_subscr",
    "class": "ccsevents",
    "type": "connection_update",
    "eventts": 1792160323319,
    "data": {
      "id": "e765ad45-c985-4188-8fd0-e68db9a9fc4d.1792160321261",
      "state": "connected",
      "direction": "user -> user",
      "idseance": "1wvS5DFu9ZRKXK9j3HbFf5VtU9y",
      "a_domain": "pbx.incoplax.com",
      "b_domain": "pbx.incoplax.com",
      "dialed": "13",
      "a_number": "11",
      "b_number": "13",
      "a_dn": "SIP1",
      "a_type": "user",
      "b_dn": "sip3",
      "b_type": "user"
    }
  }
]

See also