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 (ContactInfo, ContactInfo, Contact, 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(
    	ContactInfo from,
    	ContactInfo to,
    	Contact contact,
    	string referTo
    )

    Public Function Refer (
    	from As ContactInfo,
    	to As ContactInfo,
    	contact As Contact,
    	referTo As String
    ) As RequestResponse

#### Parameters

from
  Type: Independentsoft.Sip
  ContactInfo
  A ContactInfo contains address and display name of the sender of the request.
to
  Type: Independentsoft.Sip
  ContactInfo
  A ContactInfo contains address and name of the recipient.
contact
  Type: Independentsoft.Sip
  Contact
  A Contact contains user's contact address and name. Usually the address contains user's IP address and port.
referTo
  Type: System
  String
  A string contains address of the user to refer to.

#### Return Value

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

#### Reference

SipClient Class
Refer Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de