Updated on 2023-10-12 GMT+08:00

onCallRingBack (Ringback Event)

Event Description

After the local party initiates a call, the local party receives the ringback event, in which the parameter carries the call ID.

Event Example

{
   "description" : "TSDK_E_CALL_EVT_CALL_RINGBACK",
   "notify" : 2004,
   "param" : {
      "callId" : 1867907072
   }
}

Parameter Description

Table 1 Parameter description

Parameter

Type

Description

description

String

Description of the current request.

notify

Number

Internal event ID.

param

Param

Event content.

Table 2 Param

Parameter

Type

Description

callId

Number

Call ID.

Pay attention to the callId field in Param.