Click or drag to resize
MessageFactoryGenerateResponse Method (Request, Int32, String, Boolean, String, SIPAddress)
8.2.6 UAS Behavior / Generating the Response

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public Response GenerateResponse(
	Request req,
	int code,
	string reasonPhrase,
	bool newToTag = true,
	string toTag = null,
	SIPAddress contact = null
)

Parameters

req
Type: Ozeki.VoIPRequest
code
Type: SystemInt32
reasonPhrase
Type: SystemString
newToTag (Optional)
Type: SystemBoolean
toTag (Optional)
Type: SystemString
contact (Optional)
Type: Ozeki.VoIPSIPAddress

Return Value

Type: Response
See Also