LumiSoft Net Help
CreateRegistration Method (server, aor, contact, expires)
NamespacesLumiSoft.Net.SIP.StackSIP_StackCreateRegistration(SIP_Uri, String, AbsoluteUri, Int32)
Creates new registration.
Declaration Syntax
C#Visual BasicVisual C++F#
public SIP_UA_Registration CreateRegistration(
	SIP_Uri server,
	string aor,
	AbsoluteUri contact,
	int expires
)
Public Function CreateRegistration ( 
	server As SIP_Uri,
	aor As String,
	contact As AbsoluteUri,
	expires As Integer
) As SIP_UA_Registration
public:
SIP_UA_Registration^ CreateRegistration(
	SIP_Uri^ server, 
	String^ aor, 
	AbsoluteUri^ contact, 
	int expires
)
member CreateRegistration : 
        server : SIP_Uri * 
        aor : string * 
        contact : AbsoluteUri * 
        expires : int -> SIP_UA_Registration 
Parameters
server (SIP_Uri)
Registrar server URI. For example: sip:domain.com.
aor (String)
Registration address of record. For example: user@domain.com.
contact (AbsoluteUri)
Contact URI.
expires (Int32)
Gets after how many seconds reigisration expires.
Return Value
SIP_UA_Registration
Returns created registration.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
ArgumentNullExceptionIs raised when server,aor or contact is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119