4.1 Create a Conference

The following example is an addConference request from a protocol client application to the Focus Factory.

 SERVICE sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory SIP/2.0
 From: sip:alice@contoso.com;tag=f7588dc66124429ab736;epid=1
 To: sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory;tag=ccb81c3509
 Call-ID: 72d6a36a36784cf58e7e7ab1a51deca2
 CSeq: 1 SERVICE
 Content-Type: application/cccp+xml
 ...Other SIP headers...
 <request xmlns="urn:ietf:params:xml:ns:cccp" xmlns:mscp="http://schemas.microsoft.com/rtc/2005/08/cccpextensions" C3PVersion="1" to="sip:mhakim2@clientsemain.rtmp.selfhost.corp.microsoft.com;gruu;opaque=app:conf:focusfactory" from="sip:mhakim2@clientsemain.rtmp.selfhost.corp.microsoft.com" requestId="68537848">
   <addConference>
     <ci:conference-info xmlns:ci="urn:ietf:params:xml:ns:conference-info" entity="" xmlns:msci="http://schemas.microsoft.com/rtc/2005/08/confinfoextensions">
       <ci:conference-description>
         <msci:conference-id>TPDD8VYG</msci:conference-id>
         <msci:admission-policy>openAuthenticated</msci:admission-policy>
         <cis:separator xmlns:cis="urn:ietf:params:xml:ns:conference-info-separator">
         </cis:separator>
         <msci:pstn-access>
         </msci:pstn-access>
         <cis:separator xmlns:cis="urn:ietf:params:xml:ns:conference-info-separator">
         </cis:separator>
         <msci:autopromote>2147483648</msci:autopromote>
         <msci:pstn-lobby-bypass>true</msci:pstn-lobby-bypass>
       </ci:conference-description>
       <ci:conference-state>
         <locked xmlns="urn:ietf:params:xml:ns:conference-info">false</locked>
       </ci:conference-state>
       <msci:conference-view>
         <msci:entity-view entity="chat" />
         <msci:entity-view entity="audio-video" />
         <msci:entity-view entity="applicationsharing" />
         <msci:entity-view entity="data-conf" />
       </msci:conference-view>
     </ci:conference-info>
   </addConference>
 </request>

The following example is a successful addConference response from a Focus Factory to a protocol client application.

 SIP/2.0 200 OK
 From: sip:alice@contoso.com;tag=f7588dc66124429ab736;epid=1
 To: sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory;tag=ccb81c3509
 Call-ID: 72d6a36a36784cf58e7e7ab1a51deca2
 CSeq: 1 SERVICE
 Content-Type: application/cccp+xml
 ...Other SIP headers...
  
 <response C3PVersion="1"
           requestId="1" 
           from="sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory"
           to="sip:alice@contoso.com"
           code="success"
           xmlns="urn:ietf:params:xml:ns:cccp">
    <addConference>
      <conference-info 
                  entity="sip:alice@contoso.com;gruu;opaque=app:conf:focus:id:SDFBSD12"
                  state="partial"
                  version="1"
                  xmlns="urn:ietf:params:xml:ns:conference-info"/>
    </addConference>
 </response>

The following example is a "failure" addConference response from a Focus Factory to a protocol client application.

 SIP/2.0 403 anonymousUsersNotAllowed
 From: sip:alice@contoso.com;tag=f7588dc66124429ab736;epid=1
 To: sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory;tag=ccb81c3509
 Call-ID: 72d6a36a36784cf58e7e7ab1a51deca2
 CSeq: 1 SERVICE
 Content-Type: application/cccp+xml
 ...Other SIP headers...
  
 <response C3PVersion="1"
           requestId="1" 
           from="sip:alice@contoso.com;gruu;opaque=app:conf:focusfactory"
           to="sip:alice@contoso.com"
           code="failure"
           xmlns="urn:ietf:params:xml:ns:cccp">
    <addConference reason="anonymousUsersNotAllowed"/>
 </response>

The following example is an addConference request to create a static meeting.

 <addConference>
     <ci:conference-info xmlns:ci="urn:ietf:params:xml:ns:conference-info" entity=""      xmlns:msci="http://schemas.microsoft.com/rtc/2005/08/confinfoextensions" 
 static="true">
       <ci:conference-description>
         <msci:conference-id>WJ7UVUYO</msci:conference-id>
       </ci:conference-description>
     </ci:conference-info>
 </addConference>