Partager via


RegistrarEndpoint

Applies to: Lync 2013 | Lync Server 2013

RegistrarEndpoint (MSPL)

The RegistrarEndpoint built-in class defines a SIP endpoint stored in the registrar database of the Microsoft Lync Server 2013 instance. 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 2013.

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.

Flag

Description

"REGISTER"
0x00000001

The SIP REGISTER method.

"SUBSCRIBE"
0x00000002

The SIP SUBSCRIBE method.

"NOTIFY"
0x00000004

The SIP NOTIFY method.

"ACK"
0x00000008

The SIP ACK method.

"BYE"
0x00000010

The SIP BYE method.

"INVITE"
0x00000040

The SIP INVITE method.

"OPTIONS"
0x00000080

The SIP OPTIONS method.

"MESSAGE"
0x00000100

The SIP MESSAGE method.

"SERVICE"
0x00000400

The SIP SERVICE method.

"INFO"
0x00000800

The SIP INFO method.

"REFER"
0x00001000

The SIP REFER method.

"BENOTIFY"
0x00004000

The 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.

See also

Concepts

MSPL built-in classes

MSPL scripting reference