reject method
Rejects the incoming call.
Should be used only for incoming calls.
Indicates that the user is not available only at a particular device.
Optional headers
- Optional SIP headers
Throws VIException, if an error occurred.
Errors:
- VICallError.ERROR_INCORRECT_OPERATION - Android only. If the call is already answered or ended.
Implementation
Future<void> reject([Map<String, String>? headers]) async {
await _reject('reject', headers);
}