Share via


imSessionReceived Element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Indicates that an instant messaging (IM) session invitation is received.

Syntax

<imSessionReceived/>

Element Information

Parent Element

Element

Description

conference

Grouping for conference-related events.

Child Elements

Element

Occurrences

Description

message

0 or more

The first message that the session initiator sends.

inviter

1

The URI inviting the logged-on user to the conference.

role

1

Your level of participation in the conference.

escalationMode

1

The current mode the conference is in. Possible values are invitingPeer, peer, escalating, or escalated.

subject

0 or more

The subject of the conference.

Remarks

You receive this element when another user wants to invite you to an IM Session. The data contains all information pertaining to the inviter and session information. The message element contains format information only in the case of a one-to-one IM session.

Examples

In the example below, the IM invitation was received from another user to join a one-to-one conference. The format element contains formatting codes so that the messages can be displayed in the sender's text format.

Note

In the case of a focus topology based conference invitation (more than two participants), the format element would not be filled.

<imSessionReceived>
   <inviter uri="sip:sallyG@contoso.com" name="Sally"
    sourceNetwork="sameEnterprise" />
   <role>attendee</role>
   <escalationMode>invitingPeer</escalationMode>
   <subject />
   <message>
      <format>X-MMS-IM-Format: FN=Arial; EF=; CO=000000; CS=1; PF=00
      </format>
      <content>hi</content>
   </message>
</imSessionReceived>

See Also

Concepts

conference Element