Click or drag to resize
ISubscriptionManagerCreateNewSubscription Method
Creates a new initial subscription.

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
Subscription CreateNewSubscription(
	IUserAgentInstance owner,
	SIPAddress account,
	SIPAddress contact,
	TransportInfo transportInfo,
	string eventType,
	SIPDialogSide side,
	string phoneNumber = "",
	DialogID dialogID = null,
	int expires = 30,
	int eventId = 0,
	bool refresh = true
)

Parameters

owner
Type: Ozeki.VoIPIUserAgentInstance
account
Type: Ozeki.VoIPSIPAddress
contact
Type: Ozeki.VoIPSIPAddress
transportInfo
Type: Ozeki.NetworkTransportInfo
eventType
Type: SystemString
side
Type: Ozeki.VoIPSIPDialogSide
phoneNumber (Optional)
Type: SystemString
dialogID (Optional)
Type: Ozeki.VoIPDialogID
expires (Optional)
Type: SystemInt32
eventId (Optional)
Type: SystemInt32
refresh (Optional)
Type: SystemBoolean

Return Value

Type: Subscription
See Also