LumiSoft Net Help
SendResponse Method (response)
Namespaces ► LumiSoft.Net.SIP.Stack ► SIP_TransportLayer ► SendResponse(SIP_Response)
Sends specified response back to request maker using RFC 3261 18. rules.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void SendResponse(
    	SIP_Response response
    )

    Public Sub SendResponse (
    	response As SIP_Response
    )

    public:
    void SendResponse(
    	SIP_Response^ response
    )

    member SendResponse :
            response : SIP_Response -> unit

Parameters

response (SIP_Response)
  SIP response.

Remarks
Use this method to send SIP responses from stateless SIP elements, like stateless proxy. Otherwise SIP_ServerTransaction.SendResponse method should be used.
Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
InvalidOperationException | Is raised when stack ahs not been started and this method is accessed.
ArgumentNullException | Is raised when response is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
SIP_TransportException | Is raised when response sending has failed.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119