1. Start the meeting.
This is actually pretty simple, lets again assume we have the Lync libraries added to a VS c# project, and the following declaration.
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.Sharing;
Microsoft.Lync.Model.LyncClient _LyncClient;
_LyncClient = LyncClient.GetClient();
Once everything is declared we make the following command.
try
{
LyncClient.GetAutomation().BeginMeetNow(mymeet =>
{
LyncClient.GetAutomation().EndMeetNow(mymeet);
}, null);
}
catch { }
Now we have started a new meeting.
2. From here we can use Lync or code to add others too it, presuming you don't want to sit in a conference room alone.
Let's say our conversation is variable c.
c.AddParticipant("sip:joe@somecompany.com");
Thanks for tuning in.
Doug Routledge, C# Lync, Skype for Business, SQL, Exchange, UC Developer BridgeOC
Bridge Operator Console - For Lync and Skype for Business
No comments:
Post a Comment
Any spam comments will be deleted and your user account will be disabled.