SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip
SipClient Class
SipClient Methods
AcceptRequest Method
Ack Method
Authentication Method
Bind Method
Bye Method
Cancel Method
ClearDialog Method
ClearDialogs Method
ClearOldResponses Method
Connect Method
Disconnect Method
GetDialog Method
GetOptions Method
GetRegisteredContacts Method
Invite Method
ModifyEventState Method
Notify Method
Prack Method
PublishEventState Method
Refer Method
RefreshEventState Method
RefreshSubscription Method
Register Method
Reinvite Method
RejectRequest Method
RemoveEventState Method
SendAsynchRequest Method
SendInfo Method
SendMessage Method
SendRequest Method
SendResponse Method
SendResponseAccepted Method
SendResponseBadEvent Method
SendResponseBadExtension Method
SendResponseBadRequest Method
SendResponseBusyHere Method
SendResponseCallIsBeingForwarded Method
SendResponseCallQueued Method
SendResponseDecline Method
SendResponseForbidden Method
SendResponseMethodNotAllowed Method
SendResponseNotAcceptable Method
SendResponseNotAcceptableHere Method
SendResponseOK Method
SendResponseRequestPending Method
SendResponseRequestTerminated Method
SendResponseRinging Method
SendResponseSessionProgress Method
SendResponseTrying Method
SendResponseUnauthorized Method
SendResponseUnsupportedMediaType Method
SendResponseUnsupportedURIScheme Method
Subscribe Method
Unregister Method
Unsubscribe Method
Update Method

# SipClient Methods

The SipClient type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AcceptRequest(Request) | Sends "OK" response with status code 200.
| AcceptRequest(Request, String) | Sends "OK" response with status code 200 and the specified description text.
| Ack(Dialog) | Acknowledges final response of INVITE request.
| Ack(RequestResponse) | Acknowledges final response of INVITE request.
| Ack(Response) | Acknowledges final response of INVITE request.
| Ack(Dialog, SessionDescription) | Acknowledges final response of INVITE request.
| Ack(RequestResponse, SessionDescription) | Acknowledges final response of INVITE request.
| Ack(Response, SessionDescription) | Acknowledges final response of INVITE request.
| Authentication | Authentications the specified request.
| Bind | Associates a client with a local endpoint.
| Bind(IPEndPoint) | Associates a client with a local endpoint.
| Bye(Dialog) | Terminates established media session specified with the dialog.
| Bye(RequestResponse) | Terminates established media session specified with the requestResponse parameter.
| Bye(Response) | Terminates established media session specified with the response parameter.
| Cancel | Cancels last pending INVITE attempt.
| Cancel(Dialog) | Cancels pending INVITE attempt specified with the early dialog.
| ClearDialog | Clears the dialog.
| ClearDialogs | Clears the dialogs.
| ClearOldResponses | Clears the old responses.
| Connect | Establishes a connection to a remote host.
| Disconnect | Closes the connection and clean up any resources being used.
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetDialog(RequestResponse) | Gets existing dialog based on the specified RequestResponse.
| GetDialog(Response) | Gets existing dialog based on the specified response.
| GetHashCode | (Inherited from Object.)
| GetOptions(String, String) | Gets capabilities of a client or server.
| GetOptions(ContactInfo, ContactInfo) | Gets capabilities of a client or server.
| GetOptions(String, String, String) | Gets capabilities of a client or server.
| GetOptions(ContactInfo, ContactInfo, Contact) | Gets capabilities of a client or server.
| GetRegisteredContacts | Returns array of all existing registered contacts.
| GetType | (Inherited from Object.)
| Invite(Dialog, SessionDescription) | Changes characteristics of the existing session.
| Invite(Dialog, String, String) | Changes characteristics of the existing session.
| Invite(String, String, String, SessionDescription) | Invites another client to media session.
| Invite(ContactInfo, ContactInfo, Contact, SessionDescription) | Invites another client to media session.
| Invite(String, String, String, String, String) | Invites another client to media session.
| Invite(ContactInfo, ContactInfo, Contact, String, String) | Invites another client to media session.
| MemberwiseClone | (Inherited from Object.)
| ModifyEventState(String, String, String, Int32, PresenceDescription) | Updates existing event state.
| ModifyEventState(ContactInfo, String, String, Int32, PresenceDescription) | Updates existing event state.
| ModifyEventState(String, String, String, Int32, String, String) | Updates existing event state.
| ModifyEventState(ContactInfo, String, String, Int32, String, String) | Updates existing event state.
| Notify(Dialog, String) | Sends notification when particular event occurs.
| Notify(Dialog, String, String, String) | Sends notification when particular event occurs.
| Prack | Acknowledges receipt of reliably transported provisional response. Provisional responses is response with status code 1xx.
| PublishEventState(String, String, Int32, PresenceDescription) | Publishes initial event state.
| PublishEventState(ContactInfo, String, Int32, PresenceDescription) | Publishes initial event state.
| PublishEventState(String, String, Int32, String, String) | Publishes initial event state.
| PublishEventState(ContactInfo, String, Int32, String, String) | Publishes initial event state.
| Refer(Dialog, String) | Transfers call to resource specified with the referTo parameter.
| Refer(Dialog, String, String) | Transfers call to resource specified with the referTo parameter.
| Refer(String, String, String, String) | Transfers call to resource specified with the referTo parameter.
| Refer(ContactInfo, ContactInfo, Contact, String) | Transfers call to resource specified with the referTo parameter.
| Refer(String, String, String, String, String) | Transfers call to resource specified with the referTo parameter.
| Refer(ContactInfo, ContactInfo, Contact, String, String) | Transfers call to resource specified with the referTo parameter.
| RefreshEventState(String, String, String, Int32) | Refreshes previously established publications.
| RefreshEventState(ContactInfo, String, String, Int32) | Refreshes previously established publications.
| RefreshSubscription | Refreshes existing subscription with new expiration time.
| Register(String, ContactInfo) | Registers user to a SIP server. The user informs server of his current contact addresss.
| Register(String, String) | Registers user to a SIP server. The user informs server of his current contact addresss.
| Register(String, ContactInfo, Contact) | Registers user to a SIP server. The user informs server of his current contact addresss.
| Register(String, String, String) | Registers user to a SIP server. The user informs server of his current contact addresss.
| Reinvite(Dialog, SessionDescription) | Changes characteristics of the existing session.
| Reinvite(Dialog, String, String) | Changes characteristics of the existing session.
| RejectRequest(Request) | Sends "Decline" response with status code 603.
| RejectRequest(Request, String) | Sends "Decline" response with status code 603 and the specified description text.
| RemoveEventState(String, String, String) | Removes event state established by a prior publication.
| RemoveEventState(ContactInfo, String, String) | Removes event state established by a prior publication.
| SendAsynchRequest | Sends request to a client or server and does not wait for the response.
| SendInfo | Sends call signaling information to another client with which it has an established media session.
| SendMessage(Dialog, String) | Sends instant message. The content type of the message is "text/plain".
| SendMessage(String, String, String) | Sends instant message. The content type of the message is "text/plain".
| SendMessage(ContactInfo, ContactInfo, String) | Sends plain text instant message. The content type of the message is "text/plain".
| SendMessage(Dialog, String, String) | Sends instant message with the specified content type.
| SendMessage(String, String, String, String) | Sends instant message with the specified content type.
| SendMessage(ContactInfo, ContactInfo, String, String) | Sends instant message with the specified content type.
| SendRequest | Sends request to a client or server.
| SendResponse(Response) | Sends response to a client or server.
| SendResponse(Response, Request) | Sends response to a client or server.
| SendResponseAccepted(Request) | Sends "Accepted" response with status code 202.
| SendResponseAccepted(Request, String) | Sends "Accepted" response with status code 202 and the specified description text.
| SendResponseBadEvent(Request) | Sends "Bad Event" response with status code 489.
| SendResponseBadEvent(Request, String) | Sends "Bad Event" response with status code 489 and the specified description text.
| SendResponseBadExtension(Request) | Sends "Bad Extension" response with status code 420.
| SendResponseBadExtension(Request, String) | Sends "Bad Extension" response with status code 420 and the specified description text.
| SendResponseBadRequest(Request) | Sends "Bad Request" response with status code 400.
| SendResponseBadRequest(Request, String) | Sends "Bad Request" response with status code 400 and the specified description text.
| SendResponseBusyHere(Request) | Sends "Busy Here" response with status code 486.
| SendResponseBusyHere(Request, String) | Sends "Busy Here" response with status code 486 and the specified description text.
| SendResponseCallIsBeingForwarded(Request) | Sends "Call Is Being Forwarded" response with status code 181.
| SendResponseCallIsBeingForwarded(Request, String) | Sends "Call Is Being Forwarded" response with status code 181 and the specified description text.
| SendResponseCallQueued(Request) | Sends "Call Queued" response with status code 182.
| SendResponseCallQueued(Request, String) | Sends "Call Queued" response with status code 182 and the specified description text.
| SendResponseDecline(Request) | Sends "Decline" response with status code 603. It is same method as RejectRequest(Request).
| SendResponseDecline(Request, String) | Sends "Decline" response with status code 603 and the specified description text. It is same method as RejectRequest(Request).
| SendResponseForbidden(Request) | Sends "Forbidden" response with status code 403.
| SendResponseForbidden(Request, String) | Sends "Forbidden" response with status code 403 and the specified description text.
| SendResponseMethodNotAllowed(Request) | Sends "Method Not Allowed" response with status code 405.
| SendResponseMethodNotAllowed(Request, String) | Sends "Method Not Allowed" response with status code 405 and the specified description text.
| SendResponseNotAcceptable(Request) | Sends "Not Acceptable" response with status code 606.
| SendResponseNotAcceptable(Request, String) | Sends "Not Acceptable" response with status code 606 and the specified description text.
| SendResponseNotAcceptableHere(Request) | Sends "Not Acceptable Here" response with status code 488.
| SendResponseNotAcceptableHere(Request, String) | Sends "Not Acceptable Here" response with status code 488 and the specified description text.
| SendResponseOK(Request) | Sends "OK" response with status code 200. It is same method as AcceptRequest(Request).
| SendResponseOK(Request, String) | Sends "OK" response with status code 200 and the specified description text. It is same method as AcceptRequest(Request).
| SendResponseRequestPending(Request) | Sends "Request Pending" response with status code 491.
| SendResponseRequestPending(Request, String) | Sends "Request Pending" response with status code 491 and the specified description text.
| SendResponseRequestTerminated(Request) | Sends "Request Terminated" response with status code 487.
| SendResponseRequestTerminated(Request, String) | Sends "Request Terminated" response with status code 487 and the specified description text.
| SendResponseRinging(Request) | Sends "Ringing" response with status code 180.
| SendResponseRinging(Request, String) | Sends "Ringing" response with status code 180 and the specified description text.
| SendResponseSessionProgress(Request) | Sends "Session Progress" response with status code 183.
| SendResponseSessionProgress(Request, String) | Sends "Session Progress" response with status code 183 and the specified description text.
| SendResponseTrying(Request) | Sends "Trying" response with status code 100.
| SendResponseTrying(Request, String) | Sends "Trying" response with status code 100 and the specified description text.
| SendResponseUnauthorized(Request) | Sends "Unauthorized" response with status code 401.
| SendResponseUnauthorized(Request, String) | Sends "Unauthorized" response with status code 401 and the specified description text.
| SendResponseUnsupportedMediaType(Request) | Sends "Unsupported Media Type" response with status code 415.
| SendResponseUnsupportedMediaType(Request, String) | Sends "Unsupported Media Type" response with status code 415 and the specified description text.
| SendResponseUnsupportedURIScheme(Request) | Sends "Unsupported URI Scheme" response with status code 416.
| SendResponseUnsupportedURIScheme(Request, String) | Sends "Unsupported URI Scheme" response with status code 416 and the specified description text.
| Subscribe(String, String, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| Subscribe(ContactInfo, ContactInfo, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| Subscribe(String, String, String, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| Subscribe(ContactInfo, ContactInfo, Contact, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| Subscribe(String, String, String, String, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| Subscribe(ContactInfo, ContactInfo, Contact, String, String, Int32) | Subscribes in order to receiving notifications about a particular event specified with the event name.
| ToString | (Inherited from Object.)
| Unregister(String, ContactInfo) | Cancels user's registration from the server.
| Unregister(String, String) | Cancels user's registration from the server.
| Unregister(String, ContactInfo, Contact) | Cancels user's registration from the server.
| Unregister(String, String, String) | Cancels user's registration from the server.
| Unsubscribe(Dialog) | Terminates existing subscription specified with the dialog.
| Unsubscribe(RequestResponse) | Terminates existing subscription.
| Unsubscribe(Response) | Terminates existing subscription specified with the response.
| Update(Dialog, SessionDescription) | Modifies the state of a session without changing the state of the dialog.
| Update(Dialog, String, String) | Modifies the state of a session without changing the state of the dialog.

Top
See Also

#### Reference

SipClient Class
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de