SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip
SipClient Class
SipClient Methods
Invite Method
Invite Method (Dialog, SessionDescription)
Invite Method (Dialog, String, String)
Invite Method (String, String, String, SessionDescription)
Invite Method (ContactInfo, ContactInfo, Contact, SessionDescription)
Invite Method (String, String, String, String, String)
Invite Method (ContactInfo, ContactInfo, Contact, String, String)

# SipClient Invite Method (Dialog, SessionDescription)

Changes characteristics of the existing session.

Namespace: Independentsoft.Sip
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public RequestResponse Invite(
    	Dialog dialog,
    	SessionDescription session
    )

    Public Function Invite (
    	dialog As Dialog,
    	session As SessionDescription
    ) As RequestResponse

#### Parameters

dialog
  Type: Independentsoft.Sip
  Dialog
  A Dialog represents media session.
session
  Type: Independentsoft.Sip.Sdp
  SessionDescription
  A SessionDescription contains description of the session.

#### Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | session;SessionDescription is null.

See Also

#### Reference

SipClient Class
Invite Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de