0
누군가가 화상 통화를 시작하기 위해 '나'를 호출하면 C# API로 프로그래밍 된 호출을 자동으로 수락 할 수 있습니까? 이 API와 화상 통화를 시작Office Communicator C# API로 자동 수락
은 간단합니다 :
var contactArray = new ArrayList();
contactArray.Add("[email protected]");
object[] sipUris = new object[contactArray.Count];
int currentObject = 0;
foreach (object contactObject in contactArray)
{
sipUris[currentObject] = contactObject;
currentObject++;
}
var communicator = new Messenger();
communicator.OnIMWindowCreated += new DMessengerEvents_OnIMWindowCreatedEventHandler(communicator_OnIMWindowCreated);
IMessengerAdvanced msgrAdv = communicator as CommunicatorAPI.IMessengerAdvanced;
if (msgrAdv != null)
{
try
{
object obj = msgrAdv.StartConversation(CommunicatorAPI.CONVERSATION_TYPE.CONVERSATION_TYPE_VIDEO, sipUris, null, "Conference Wall CZ - Conversation", "1", null);
}
catch (COMException ex)
{
Console.WriteLine(ex.Message);
}
}
그러나
내가 자동으로 전화를 받고 싶은 다른면 .... 지금까지 내가 '으로 OC와
친구, 나는 똑같은 의혹을 가지고 있습니다. 너 뭔가있어? –
아직이 문제에 대한 해결책을 찾지 못했습니다. 다행히 누군가가 해결책을 가지고 있으며 내 질문에 답할 것입니다. – Dennis
그 문제를 해결 했습니까? 일부 Windows API를 사용해 보겠습니다. http://www.pinvoke.net/index.aspx –