//------------------------ Tc_OnInviteReceived ---------------------// // Invite received private void Tc_OnInviteReceived(object sender, AxTrueConf_CallXLib._ITrueConfCallXEvents_OnInviteReceivedEvent e) { WriteLog(String.Format("Info : {0} : InviteReceived !!!", DateTime.Now.ToString("g"))); labelInfo.Content = "Invite is received"; // accept incoming invitation tc.accept(); }
private void Tc_OnInviteReceived(object sender, _ITrueConfCallXEvents_OnInviteReceivedEvent e) { if (appState != 5) { tc.accept(); } WriteLog(String.Format("Info : {0} : Incoming call or invitation. Event details - {1}", DateTime.Now.ToString("g"), e.eventDetails)); }
private void Sdk_OnInviteReceived(object sender, _ITrueConfCallXEvents_OnInviteReceivedEvent e) { sdk.accept(); //accept incoming calls and invitations dynamic data = JsonConvert.DeserializeObject(e.eventDetails); mainModel.PeerID = (string)data.peerId; //get call interlocutor ID mainModel.SelectedID = mainModel.PeerID; }