private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
 {
     Console.WriteLine(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
     _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
     _endpoint.RegisterForIncomingCall<AudioVideoCall>(OnIncomingCall);
     await _endpoint.EstablishAsync();
     Console.WriteLine("Endpoint established");
     await CreateConference();
     LyncServerReady(this, new EventArgs());
 }
Пример #2
0
 private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
 {
     log.Info(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
     _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
     _endpoint.RegisterForIncomingCall<InstantMessagingCall>(OnIncomingIM);
     
     await _endpoint.EstablishAsync();
     log.Info("Endpoint established");
    LyncServerReady(this, new EventArgs());
 }
Пример #3
0
        private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
        {
            Console.WriteLine(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
            _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
            _endpoint.RegisterForIncomingCall <InstantMessagingCall>(OnIncomingCall);
            await _endpoint.EstablishAsync();

            Console.WriteLine("Endpoint established");
            LyncServerReady(this, new EventArgs());
        }