Hi,
I need to know how to schedule a conference which is similar to a Live meeting created by Live meeting add-in on the office communication server. I can obtain the sip by following the uccapi. But cant I connect to the meeting with that sip. I thought the way I configured the UccConferenceInformation
is wrong. Please give any idea.
private UccConferenceInformation CreateConferenceInfo()
{
UccConferenceInformation ci = this.myConfManagerSession.CreateConferenceInformation();
IUccPropertyCollection cPC = ci.Properties;
cPC.AddProperty(
(int)UCC_CONFERENCE_INFORMATION_PROPERTY.UCCCIP_ADMISSION_TYPE,
UCC_CONFERENCE_ADMISSION_TYPE.UCCCAT_ANONYMOUS);
cPC.AddProperty(
(int)UCC_CONFERENCE_INFORMATION_PROPERTY.UCCCIP_SUBJECT,
"Conference Subject");
DateTime dt;
int mins = 59;
TimeSpan ts = new TimeSpan(1, 0, mins, 0);
dt = DateTime.UtcNow;
dt.Add(ts);
cPC.AddProperty(
(int)UCC_CONFERENCE_INFORMATION_PROPERTY.UCCCIP_EXPIRY_TIME,
dt);
IUccPropertyCollection pMCU = new UccPropertyCollectionClass();
IUccPropertyCollection _MCUCollection = new UccPropertyCollectionClass();
pMCU.AddProperty(
(int)UCC_CONFERENCE_ENTITY_SETTING_PROPERTY.UCCCESP_TYPE,
(int)UCC_CONFERENCE_ENTITY_TYPE.UCCCET_CONTROL);
_MCUCollection.AddProperty((int)UCC_CONFERENCE_ENTITY_TYPE.UCCCET_CONTROL, pMCU);
ci.ConferenceKey = "12345678";
if (_MCUCollection.Count > 0)
{
cPC.AddProperty((int)Microsoft.Office.Interop.UccApi.UCC_CONFERENCE_INFORMATION_PROPERTY.UCCCIP_MCUS, _MCUCollection);
}
return ci;
}
Thanks in advance