Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public CallSession(
ISessionCall caller,
ISessionCall callee,
SessionMode mode,
SessionDependencies dependencies,
int ringTime = 60,
SessionIds sessionIds = null
)
Public Sub New (
caller As ISessionCall,
callee As ISessionCall,
mode As SessionMode,
dependencies As SessionDependencies,
Optional ringTime As Integer = 60,
Optional sessionIds As SessionIds = Nothing
)
public:
CallSession(
ISessionCall^ caller,
ISessionCall^ callee,
SessionMode mode,
SessionDependencies^ dependencies,
int ringTime = 60,
SessionIds^ sessionIds = nullptr
)
new :
caller : ISessionCall *
callee : ISessionCall *
mode : SessionMode *
dependencies : SessionDependencies *
?ringTime : int *
?sessionIds : SessionIds
(* Defaults:
let _ringTime = defaultArg ringTime 60
let _sessionIds = defaultArg sessionIds null
*)
-> CallSession
Parameters
- caller
- Type: Ozeki.VoIPISessionCall
The call of the caller. - callee
- Type: Ozeki.VoIPISessionCall
The call of the callee. - mode
- Type: Ozeki.VoIPSessionMode
Mode for switching betweeen P2P and relay calls. - dependencies
- Type: Ozeki.VoIPSessionDependencies
Other services that the session depends on. - ringTime (Optional)
- Type: SystemInt32
Ringing interval in seconds. - sessionIds (Optional)
- Type: Ozeki.VoIPSessionIds
The session identifiers can be specified. If no session identifiers given, the session will generate them automatically.
See Also