Edit

Share via


CallDeclineOptions Class

Definition

Optional parameters for declining the incoming call.

public ref class CallDeclineOptions
public class CallDeclineOptions
type CallDeclineOptions = class
Public Class CallDeclineOptions
Inheritance
CallDeclineOptions

Remarks

This class allows the application to decline a call with responseCode 4xx or higher. To forward the call to another desination, application should use Forward(String, CallForwardOptions).

Constructors

CallDeclineOptions()

Creates a new instance of the CallDeclineOptions class with response code DeclineEverywhere (603).

CallDeclineOptions(Int32)

Creates a new instance of the CallDeclineOptions class with a specific response code.

Properties

DiagnosticsInformation

Gets or sets the diagnostics information to be included when declining the call.

Headers

Gets the list of custom signaling headers to be included in the response.

ResponseCode

Gets or sets the response code for declining the call.

ResponseText

Gets or sets the response text that will be used to decline the incoming call.

Applies to