Struct InitiateCallRequest
- Namespace
- Vonage.Video.Sip.InitiateCall
- Assembly
- Vonage.dll
Represents a request to initiate an outbound Sip call.
public readonly struct InitiateCallRequest : IVonageRequest, IHasApplicationId, IHasSessionId
- Implements
- Inherited Members
Properties
ApplicationId
The Vonage Application UUID.
[JsonIgnore]
public Guid ApplicationId { get; }
Property Value
SessionId
The session Id.
[JsonPropertyOrder(0)]
public string SessionId { get; }
Property Value
Sip
The sip element.
[JsonPropertyOrder(1)]
public SipElement Sip { get; }
Property Value
Token
The Vonage Video token to be used for the participant being called. You can add token data to identify that the participant is on a SIP endpoint or for other identifying data, such as phone numbers. (The Vonage Video client libraries include properties for inspecting the connection data for a client connected to a session.) See the Token Creation developer guide.
[JsonPropertyOrder(2)]
public string Token { get; }
Property Value
Methods
Build()
Initializes a builder.
public static IBuilderForApplicationId Build()
Returns
- IBuilderForApplicationId
The builder.
BuildRequestMessage()
Converts the request to a HttpRequest.
public HttpRequestMessage BuildRequestMessage()
Returns
- HttpRequestMessage
The Http request.