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

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

#### Parameters

from
  Type: System
  String
  A string contains address and display name of the sender of the request.
to
  Type: System
  String
  A string contains address of the recipient.
contact
  Type: System
  String
  A string contains user's contact address. Usually the address contains user's IP address and port.
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.
See Also

#### Reference

SipClient Class
Refer Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de