Partager via


4.11 Extension for Call Context

This section follows the product behavior described in endnote <80>.

The following examples show the extension content type application/ms-conversation-context+xml. The format for this content type is specified in section 2.2.20.

The following example shows an INVITE request containing the application/ms-conversation-context+xml content type in the message body of the request.

INVITE sip:192.0.2.3:59682;transport=tls;ms-opaque=f297889669;ms-received-cid=4EA600 SIP/2.0From: <sip:alice@contoso.com>;epid=42933B3A88;tag=f962b589a8To: <sip:marco@contoso.com>;epid=7913c4c11dContent-Length: ...
Content-Type: multipart/mixed;boundary=0VUf5fZQGOkBjYIfaZ2yOZCi5OdMrt2A

--0VUf5fZQGOkBjYIfaZ2yOZCi5OdMrt2A CONTENT-TYPE: multipart/alternative; boundary=4FqyUUSfl7GyNwhB0PABKoF6PTFb6Ovl

--4FqyUUSfl7GyNwhB0PABKoF6PTFb6OvlContent-Type: ...Content-ID: e22b7561-b5df-4b86-89c0-b20702e2de83Content-Disposition: ...

...

--4FqyUUSfl7GyNwhB0PABKoF6PTFb6OvlContent-Type: ...Content-ID: 8a09b2b6-afdc-47d3-bc33-5fda39d66463

...

--4FqyUUSfl7GyNwhB0PABKoF6PTFb6Ovl--

--0VUf5fZQGOkBjYIfaZ2yOZCi5OdMrt2AContent-ID: 5c44530a-8955-4514-8527-eaddf24b30aeContent-Type: application/ms-conversation-context+xmlContent-Disposition: render;handling=optional

<cc:XmlConvContext xmlns:cc="http://schemas.microsoft.com/2008/03/sip/conversationContext"> <cc:id>0734aae0-a714-45d9-87bc-20ed9d432b80</cc:id> <cc:from><cc:uri>sip:alice@contoso.com</cc:uri></cc:from> <cc:to><cc:uri>sip:marco@contoso.com</cc:uri></cc:to> <cc:participants> <cc:participant> <cc:uri>sip:alice@contoso.com</cc:uri> <cc:displayName>Alice</cc:displayName> </cc:participant> <cc:participant> <cc:uri>sip:bob@contoso.com</cc:uri> </cc:participant> </cc:participants> <cc:date>2008-09-03T21:34:55.831063Z</cc:date> <cc:mode>audio</cc:mode> <cc:conversationId>a4f266f1a6914acb99cddef15659e38c</cc:conversationId> <cc:dataFormat>text/plain</cc:dataFormat> <cc:contextData>Waiting time: 00:00:18

Bob is calling, it’s his birthday today. </cc:contextData></cc:XmlConvContext>--0VUf5fZQGOkBjYIfaZ2yOZCi5OdMrt2A--