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

onCallOutGoing (Outbound Call Event)

Event Description

When the local party initiates a call, the local party receives an outbound call event, in which the parameter carries the call ID.

Event Example

{
   "description" : "TSDK_E_CALL_EVT_CALL_OUTGOING",
   "notify" : 2003,
   "param":
	{
	"callId":1867907072,
	"callInfo":
		{
		"callId":1867907072,
		"callState":2,
		"confId":"",
		"confPasscode":"",
		"isAutoAnswer":0,
		"isCaller":1,
		"isFocus":0,
		"isVideoCall":0,
		"peerDisplayName":"",
		"peerNumber":"444002",
		"reasonCode":0,
		"reasonDescription":"",
		"sipAccountID":0
		}
	}
}

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.

peerNumber

String

Phone number of the peer party.

Pay attention to the callId and peerNumber fields in Param.