CallEstablishOptions.MaximumEstablishTime Property
Gets or sets a maximum call establishment time.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property MaximumEstablishTime As TimeSpan
Get
Set
'Usage
Dim instance As CallEstablishOptions
Dim value As TimeSpan
value = instance.MaximumEstablishTime
instance.MaximumEstablishTime = value
public TimeSpan MaximumEstablishTime { get; set; }
Property Value
Type: System.TimeSpan
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when a maximum call establishment time set is less than 1 minute or greater than 30 minutes. |
Remarks
When a caller tries to establish a call, the remote party can keep sending provisional responses indefinitely. To protect against such rogue clients, the application can define a maximum establishment time. If the remote party has not sent a final response before the maximum establishment time, then the call will be terminated automatically.
By default, the maximum establishment time is 10 minutes.