callReject abstract method

Supported versions: 2.1.5 and above.

Detail description: When the calling party initiates a call invitation, the called party can reject the call invitation through this interface.

Service scenario: When you need to reject the call invitation initiated earlier, you can use this interface to reject the call invitation.

When to call: It can be called after creating a ZIM instance through create.

Note: The callee will fail to reject the uninvited callid.

callID The ID of the call invitation to be rejected. config Related configuration for rejecting call invitations.

Implementation

Future<ZIMCallRejectionSentResult> callReject(
    String callID, ZIMCallRejectConfig config);