MessageFactoryGenerateResponse Method (Request, Int32, String, Boolean, String, SIPAddress) |
8.2.6 UAS Behavior / Generating the Response
Namespace: Ozeki.VoIPAssembly: 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
)
Public Function GenerateResponse (
req As Request,
code As Integer,
reasonPhrase As String,
Optional newToTag As Boolean = true,
Optional toTag As String = Nothing,
Optional contact As SIPAddress = Nothing
) As Response
public:
Response^ GenerateResponse(
Request^ req,
int code,
String^ reasonPhrase,
bool newToTag = true,
String^ toTag = nullptr,
SIPAddress^ contact = nullptr
)
member GenerateResponse :
req : Request *
code : int *
reasonPhrase : string *
?newToTag : bool *
?toTag : string *
?contact : SIPAddress
(* Defaults:
let _newToTag = defaultArg newToTag true
let _toTag = defaultArg toTag null
let _contact = defaultArg contact null
*)
-> Response
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:
ResponseSee Also