LumiSoft Net Help
CreateResponse Method (statusCode_reasonText, request, flow)
NamespacesLumiSoft.Net.SIP.StackSIP_StackCreateResponse(String, SIP_Request, SIP_Flow)
Creates response for the specified request.
Declaration Syntax
C#Visual BasicVisual C++F#
public SIP_Response CreateResponse(
	string statusCode_reasonText,
	SIP_Request request,
	SIP_Flow flow
)
Public Function CreateResponse ( 
	statusCode_reasonText As String,
	request As SIP_Request,
	flow As SIP_Flow
) As SIP_Response
public:
SIP_Response^ CreateResponse(
	String^ statusCode_reasonText, 
	SIP_Request^ request, 
	SIP_Flow^ flow
)
member CreateResponse : 
        statusCode_reasonText : string * 
        request : SIP_Request * 
        flow : SIP_Flow -> SIP_Response 
Parameters
statusCode_reasonText (String)
Status-code reasontext.
request (SIP_Request)
SIP request.
flow (SIP_Flow)
Data flow what sends response. This value is used to construct Contact: header value. This value can be null, but then adding Contact: header is response sender responsibility.
Return Value
SIP_Response
Returns created response.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when statusCode_reasonText or request is null reference.
InvalidOperationExceptionIs raised when request is ACK-request. ACK request is response less.

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