Sends specified response back to request maker using RFC 3261 18. rules.

C# | Visual Basic | Visual C++ | F# |
public void SendResponse( SIP_Response response, IPEndPoint localEP )
Public Sub SendResponse ( response As SIP_Response, localEP As IPEndPoint )
public: void SendResponse( SIP_Response^ response, IPEndPoint^ localEP )
member SendResponse : response : SIP_Response * localEP : IPEndPoint -> unit

- response (SIP_Response)
- SIP response.
- localEP (IPEndPoint)
- Local IP end point to use for sending resposne. Value null means system will allocate it.

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

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