SubscriptionManagerCreateActiveSubscription Method |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public Subscription CreateActiveSubscription(
IUserAgentInstance owner,
SIPAddress account,
SIPAddress contact,
TransportInfo transportInfo,
string eventType,
SIPDialogSide side,
DialogID dialogID,
int expires = 30,
int eventId = 0,
bool refresh = true
)
Public Function CreateActiveSubscription (
owner As IUserAgentInstance,
account As SIPAddress,
contact As SIPAddress,
transportInfo As TransportInfo,
eventType As String,
side As SIPDialogSide,
dialogID As DialogID,
Optional expires As Integer = 30,
Optional eventId As Integer = 0,
Optional refresh As Boolean = true
) As Subscription
public:
virtual Subscription^ CreateActiveSubscription(
IUserAgentInstance^ owner,
SIPAddress^ account,
SIPAddress^ contact,
TransportInfo^ transportInfo,
String^ eventType,
SIPDialogSide side,
DialogID^ dialogID,
int expires = 30,
int eventId = 0,
bool refresh = true
) sealed
abstract CreateActiveSubscription :
owner : IUserAgentInstance *
account : SIPAddress *
contact : SIPAddress *
transportInfo : TransportInfo *
eventType : string *
side : SIPDialogSide *
dialogID : DialogID *
?expires : int *
?eventId : int *
?refresh : bool
(* Defaults:
let _expires = defaultArg expires 30
let _eventId = defaultArg eventId 0
let _refresh = defaultArg refresh true
*)
-> Subscription
override CreateActiveSubscription :
owner : IUserAgentInstance *
account : SIPAddress *
contact : SIPAddress *
transportInfo : TransportInfo *
eventType : string *
side : SIPDialogSide *
dialogID : DialogID *
?expires : int *
?eventId : int *
?refresh : bool
(* Defaults:
let _expires = defaultArg expires 30
let _eventId = defaultArg eventId 0
let _refresh = defaultArg refresh true
*)
-> Subscription
Parameters
- owner
- Type: Ozeki.VoIPIUserAgentInstance
- account
- Type: Ozeki.VoIPSIPAddress
- contact
- Type: Ozeki.VoIPSIPAddress
- transportInfo
- Type: Ozeki.NetworkTransportInfo
- eventType
- Type: SystemString
- side
- Type: Ozeki.VoIPSIPDialogSide
- dialogID
- Type: Ozeki.VoIPDialogID
- expires (Optional)
- Type: SystemInt32
- eventId (Optional)
- Type: SystemInt32
- refresh (Optional)
- Type: SystemBoolean
Return Value
Type:
SubscriptionImplements
ISubscriptionManagerCreateActiveSubscription(IUserAgentInstance, SIPAddress, SIPAddress, TransportInfo, String, SIPDialogSide, DialogID, Int32, Int32, Boolean)See Also