Partager via


4.4.2 Self SUBSCRIBE 200 OK Response

The server then sends a 200 OK response, as follows:

SIP/2.0 200 OK
Contact:...
Authentication-Info: ...
Content-Length: …
From: "Alice"<sip:alice@contoso.com>;tag=1415cd9c08;epid=ffad8b59dc
To: <sip:alice@contoso.com>;tag=F63B0080
Call-ID: 0599fe5e383644229740f1afefa5b456
CSeq: 1 SUBSCRIBE
Via: SIP/2.0/TLS 172.24.32.208:2140;ms-received-port=2140;ms-received-cid=5E00
Expires: 47519
Require: eventlist
Content-Type: application/vnd-microsoft-roaming-self+xml
Event: vnd-microsoft-roaming-self
subscription-state: active;expires=47519
ms-piggyback-cseq: 1
Supported: ms-benotify, ms-piggyback-first-notify
 
<roamingData xmlns="http://schemas.microsoft.com/2006/09/sip/roaming-self" 
      xmlns:cat="http://schemas.microsoft.com/2006/09/sip/categories"
      xmlns:con="http://schemas.microsoft.com/2006/09/sip/containers"
      xmlns:sub="http://schemas.microsoft.com/2006/09/sip/presence-subscribers"
      xmlns:del="http://schemas.microsoft.com/2007/09/sip/delegates">
  <categories xmlns="http://schemas.microsoft.com/2006/09/sip/categories" uri="sip:alice@contoso.com">
    <category name="calendarData" instance="0" publishTime="2008-01-11T17:10:45.107" container="32000" version="1" expireType="static"/>
    <category name="calendarData" instance="0" publishTime="2008-01-11T17:10:45.107" container="100" version="1" expireType="static"/>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="32000" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="400" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="300" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="200" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="100" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="contactCard" instance="0" publishTime="2008-01-11T17:06:07.890" container="0" version="1" expireType="static">
      <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
        <identity>
          <name>
            <displayName>Alice</displayName>
          </name>
        </identity>
      </contactCard>
    </category>
    <category name="note" instance="0" publishTime="2008-01-11T17:10:45.107" container="32000" version="1" expireType="static"/>
    <category name="note" instance="0" publishTime="2008-01-11T17:10:45.107" container="100" version="1" expireType="static"/>
    <category name="state" instance="0" publishTime="2008-01-11T17:10:45.107" container="32000" version="1" expireType="static">
      <state xmlns="http://schemas.microsoft.com/2006/09/sip/state" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             manual="false" xsi:type="aggregateState">
        <availability>18500</availability>
          <endpointLocation></endpointLocation>
      </state>
   </category>
    <category name="state" instance="0" 
              publishTime="2008-01-22T23:40:49.543"
              container="400" version="1" expireType="static">
      <state xsi:type="aggregateState" lastActive="2008-01-22T23:40:49"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="state" instance="0" publishTime="2008-01-22T23:40:49.543" container="300" version="1" expireType="static">
      <state xsi:type="aggregateState" lastActive="2008-01-22T23:40:49"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="state" instance="0"
              publishTime="2008-01-22T23:40:49.543"
              container="200" version="1" expireType="static">
      <state xsi:type="aggregateState"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="state" instance="0"
              publishTime="2008-01-22T23:40:49.543"
              container="100" version="1" expireType="static">
      <state xsi:type="aggregateState"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="state" instance="0"
              publishTime="2008-01-22T23:40:49.543"
              container="3" version="1" expireType="static">
      <state xsi:type="aggregateState" lastActive="2008-01-22T23:40:49"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="state" instance="0"
              publishTime="2008-01-22T23:40:49.543"
              container="2" version="1" expireType="static">
      <state xsi:type="aggregateState" lastActive="2008-01-22T23:40:49"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="http://schemas.microsoft.com/2006/09/sip/state">
        <availability>18000</availability>
      </state>
    </category>
    <category name="routing" instance="0"
              publishTime="2008-01-11T17:10:41.280" container="32000"
              version="1" expireType="static">
      <routing xmlns="http://schemas.microsoft.com/02/2006/sip/routing" name="rtcdefault" version="1">
        <preamble>
          <flags name="protocol clientflags" value="block">
          </flags>
        </preamble>
      </routing>
    </category>
    <category name="legacyInterop" instance="0"
              publishTime="2008-01-11T17:06:07.890" container="32000"
              version="1" expireType="static">
      <legacyInterop availability="18500"/>
    </category>
    <category name="legacyInterop" instance="0"
              publishTime="2008-01-22T23:40:49.543" container="400"
              version="1" expireType="static">
      <legacyInterop availability="18000"/>
    </category>
    <category name="legacyInterop" instance="0"
              publishTime="2008-01-22T23:40:49.543" container="300"
              version="1" expireType="static">
      <legacyInterop availability="18000"/>
    </category>
    <category name="legacyInterop" instance="0"
              publishTime="2008-01-22T23:40:49.543" container="200"
              version="1" expireType="static">
      <legacyInterop availability="18000"/>
    </category>
    <category name="legacyInterop" instance="0"
              publishTime="2008-01-22T23:40:49.543" container="100"
              version="1" expireType="static">
      <legacyInterop availability="18000"/>
    </category>
    <category name="services" instance="0"
              publishTime="2008-01-11T17:10:45.107" container="32000"
              version="1" expireType="static">
      <services xmlns="http://schemas.microsoft.com/2006/09/sip/service">
      </services>
    </category>
    <category name="userProperties" instance="0"
              publishTime="2008-01-11T17:06:07.890" container="1"
              version="1" expireType="static">
      <userProperties>
        <telephonyMode>None</telephonyMode>
      </userProperties>
   </category>
   <category name="linkedPICContacts" instance="0" publishTime="2015-01-27T21:39:25.927" container="1" version="57" expireType="static">
      <LinkedPicContactList>
        <LinkedPicContactEntry primary-Identity="bob@hotmail.com">     
          <secondary-identities>
            <secondary-identity>bob@skypeids.net</secondary-identity>
            <secondary-identity>8d9a9d943984476c@skypecid.net</secondary-identity>
          </secondary-identities>
        </LinkedPicContactEntry>
        <LinkedPicContactEntry primary-Identity="alice@hotmail.com">
          <secondary-identities>
            <secondary-identity>alice@skypeids.net</secondary-identity>
            <secondary-identity>445abd8439841238@skypecid.net</secondary-identity>
          </secondary-identities>
        </LinkedPicContactEntry>
      </LinkedPicContactList>
    </category>
  </categories>
  <containers xmlns="http://schemas.microsoft.com/2006/09/sip/containers">
    <container id="32000" version="0"/>
    <container id="400" version="0"/>
    <container id="300" version="0"/>
    <container id="200" version="1">
      <member type="sameEnterprise"/>
    </container>
    <container id="100" version="1">
      <member type="federated"/>
    </container>
    <container id="3" version="0"/>
    <container id="2" version="0"/>
    <container id="1" version="0"/>
    <container id="0" version="0">
      <member type="everyone"/>
    </container>
  </containers>
  <subscribers xmlns="http://schemas.microsoft.com/2006/09/sip/presence-subscribers">
    <subscriber user="bob@contoso.com" displayName="Bob" acknowledged="false" type="sameEnterprise"/>
  </subscribers>
  <delegates xmlns="http://schemas.microsoft.com/2007/09/sip/delegates" version="1"/>
</roamingData>