Leg state changed

Description

The leg state changed: ringing, hold, unhold, fork call cancellation, completion.

Table 1. System characteristics

Class

Type

call_set_state

Properties

Table 2. Properties
Specification Description

Name: id
Type: varchar
Empty value: — 

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

Name: state
Type: varchar
Empty value: — 

New leg state: ringing — ringing; hold — holding the other side; onhold — on hold; connected — connected (taken off hold); cancelled — fork call canceled; finished — completed.

Example

[
  "notify",
  {
    "sid": "my_subscr",
    "class": "ccsevents",
    "type": "call_set_state",
    "eventts": 1792160326354,
    "data": {
      "id": "545856d8460442969b1e@192.168.0.113",
      "state": "hold"
    }
  }
]

See also