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

# SipClient Refer Method (Dialog, String, String)

Transfers call to resource specified with the referTo parameter.

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

    public RequestResponse Refer(
    	Dialog dialog,
    	string referTo,
    	string refferedBy
    )

    Public Function Refer (
    	dialog As Dialog,
    	referTo As String,
    	refferedBy As String
    ) As RequestResponse

#### Parameters

dialog
  Type: Independentsoft.Sip
  Dialog
  A Dialog represents media session.
referTo
  Type: System
  String
  A string contains address of the user to refer to.
refferedBy
  Type: System
  String
  A string contains address of the user reffered by.

#### Return Value

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

Exception | Condition
--- | ---
ArgumentNullException | dialog;Dialog is null.

See Also

#### Reference

SipClient Class
Refer Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de