onCallIncoming (Inbound Call Event)
Event Description
When the peer party initiates a call, the local party receives an inbound call event containing the call ID and calling number.
Event Example
{ "description" : "TSDK_E_CALL_EVT_CALL_INCOMING", "notify" : 2002, "param": { "callId":1559166976, "callInfo": { "callId":1559166976, "callState":1, "confId":"", "confPasscode":"", "isAutoAnswer":0, "isCaller":0, "isFocus":0, "isVideoCall":0, "peerDisplayName":"", "peerNumber":"444002", "reasonCode":0, "reasonDescription":"", "sipAccountID":0 }, "maybeVideoCall":0 } }
Parameter Description
Parameter |
Type |
Description |
---|---|---|
description |
String |
Description of the current request. |
notify |
Number |
Internal event ID. |
param |
Event content. |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot