Leg created

Description

A dialog leg was created: calling (`waiting`) at call start, called (`dialing`) when calling the next subscriber, pickup (`reminder`) on pickup.

Table 1. System characteristics

Class

Type

call_create

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: idconn
Type: varchar
Empty value: — 

Identifier of the dialog to which the leg belongs.

Name: ruri
Type: varchar
Empty value: absent

Called side device address. Only for the called leg in the dialing state.

Name: confowner
Type: varchar
Empty value: absent

Conference owner. Only for a leg of type conf if the owner is defined.

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_create",
    "eventts": 1792160321285,
    "data": {
      "id": "rB2-0GE-10A3BF-01-545856d8460442969b1e@192.168.0.113",
      "owner": "sip:sip3@pbx.incoplax.com",
      "type": "user",
      "state": "dialing",
      "number": "11",
      "dn": "SIP1",
      "side": "b",
      "idseance": "1wvS5DFu9ZRKXK9j3HbFf5VtU9y",
      "idconn": "e765ad45-c985-4188-8fd0-e68db9a9fc4d.1792160321261",
      "ruri": "<sip:sip3@192.168.0.113:15071>;expires=300"
    }
  }
]

See also