Table of Contents

Struct PlayToneIntoCallRequest

Namespace
Vonage.Video.Sip.PlayToneIntoCall
Assembly
Vonage.dll

Represents a request to play a tone for all participants of a session.

[Builder(new string[] { })]
public readonly struct PlayToneIntoCallRequest : IVonageRequest, IHasApplicationId, IHasSessionId
Implements
Inherited Members

Properties

ApplicationId

The Vonage Application UUID.

[JsonIgnore]
[Mandatory(0)]
public Guid ApplicationId { get; }

Property Value

Guid

Digits

Sets the string of DTMF digits to send. This can include 0-9, '*', '#', and 'p'. A 'p' indicates a pause of 500ms (if you need to add a delay in sending the digits).

[Mandatory(2)]
public string Digits { get; }

Property Value

string

Examples

.WithDigits("1234#")

SessionId

The session Id.

[JsonIgnore]
[Mandatory(1)]
public string SessionId { get; }

Property Value

string

Methods

Build()

public static IBuilderForApplicationId Build()

Returns

IBuilderForApplicationId

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.