Dialog created

Description

Dialog created: call started. For a transferred call contains `refer_info`.

Table 1. System characteristics

Class

Type

connection_create

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: refer_info
Type: json
Empty value: absent

Only for a transferred call. Fields: is_referred — call by transfer; is_replacing — call with replacement (Replaces); uri_referred_by — who transferred; idconn, idcall — dialog and leg from which the transfer was made; replaces — the replaced call.

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_create",
    "eventts": 1792160450761,
    "data": {
      "id": "cc0a10ff-de7d-43c6-afba-d36b4406b8a6.1792160450752",
      "state": "wait",
      "direction": "user -> undefined",
      "idseance": "Y0bbhQfAJDIKOaSn2NGUPsjXnFE",
      "a_domain": "pbx.incoplax.com",
      "b_domain": "pbx.incoplax.com",
      "dialed": "19",
      "a_number": "11",
      "b_number": "19",
      "a_dn": "",
      "a_type": "user",
      "b_dn": "",
      "b_type": "undefined",
      "refer_info": {
        "idconn": "e5771370-ebb2-4983-b8cb-dc61f64bfaca.1792160445674",
        "idcall": "fdb797b00322a4af8429@192.168.0.113",
        "is_referred": true,
        "is_replacing": false,
        "uri_referred_by": "<sip:sip3@pbx.incoplax.com>"
      }
    }
  }
]

See also