Leg connected

Description

Leg connected: the subscriber answered. Sent for both dialog legs.

Table 1. System characteristics

Class

Type

call_update

Properties

Table 2. Properties
Specification Description

Name: id
Type: varchar
Empty value: — 

Leg identifier (idcall in Token API ccs requests): leg Call-ID.

Name: owner
Type: varchar
Empty value: — 

SIP address of the leg side account, sip:<login>@<domain>.

Name: type
Type: varchar
Empty value: — 

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

Name: state
Type: varchar
Empty value: — 

Leg state: waiting (calling), dialing (called), reminder (pickup), connected.

Name: number
Type: varchar
Empty value: — 

Other side number.

Name: dn
Type: varchar
Empty value: empty string

Other side display name.

Name: side
Type: varchar
Empty value: — 

Leg side in the dialog: a — calling, b — called.

Name: idseance
Type: varchar
Empty value: — 

Session identifier — a chain of dialogs linked by transfers.

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": "call_update",
    "eventts": 1792160323319,
    "data": {
      "id": "545856d8460442969b1e@192.168.0.113",
      "owner": "sip:sip1@pbx.incoplax.com",
      "type": "user",
      "state": "connected",
      "number": "13",
      "dn": "sip3",
      "side": "a",
      "idseance": "1wvS5DFu9ZRKXK9j3HbFf5VtU9y"
    }
  }
]

See also