RegistrarEndpoint

RegistrarEndpoint (MSPL)

The RegistrarEndpoint built-in class defines a SIP endpoint stored in the registrar database of Microsoft Lync Server 2010. This class can be used to determine the availability and activity level of an endpoint.

Syntax

class RegistrarEndpoint {
string EPID;
string Instance;

int StandardMethods;
string ExtraMethods;
string ContactInfo;

}

Fields

The RegistrarEndpoint class defines the following fields.

Field

Description

EPID

Data type: string

Specifies an endpoint identifier (EPID) that uniquely identifies this endpoint as registered on Lync Server 2010.

Instance

Data type: string

Specifies the unique identifier (GRUU) that is registered by the endpoint. This can be NULL.

StandardMethods

Data type: int

Specifies the SIP methods supported by the endpoint as a bit mask. This property is useful only as a parameter to SupportsMethod.

FlagDescription
"REGISTER"
0x00000001The SIP REGISTER method.
"SUBSCRIBE"
0x00000002The SIP SUBSCRIBE method.
"NOTIFY"
0x00000004The SIP NOTIFY method.
"ACK"
0x00000008The SIP ACK method.
"BYE"
0x00000010The SIP BYE method.
"INVITE"
0x00000040The SIP INVITE method.
"OPTIONS"
0x00000080The SIP OPTIONS method.
"MESSAGE"
0x00000100The SIP MESSAGE method.
"SERVICE"
0x00000400The SIP SERVICE method.
"INFO"
0x00000800The SIP INFO method.
"REFER"
0x00001000The SIP REFER method.
"BENOTIFY"
0x00004000The BENOTIFY method

ExtraMethods

Data type: string

Specifies any nonstandard, infrastructure-specific SIP methods supported by the endpoint as a comma-delimited list of method names. For example, "CUSTOM1,CUSTOM2,CUSTOM3".

ContactInfo

Data type: string

Specifies the request URI associated with this endpoint.