RCC使用OCS Automation API调用 [英] RCC Calls using OCS Automation API

查看:91
本文介绍了RCC使用OCS Automation API调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



推荐答案


MsgClass.OnIMWindowCreated += new CommunicatorAPI.DMessengerEvents_OnIMWindowCreatedEventHandler(MsgClass_OnIMWindowCreated);

        void MsgClass_OnIMWindowCreated(object pIMWindow)
        {
            CommunicatorAPI.IMessengerConversationWndAdvanced conv;
            conv = pIMWindow as CommunicatorAPI.IMessengerConversationWndAdvanced;

            conv.Close();

        }


private void button2_Click(object sender,EventArgs e){CommunicatorAPI.IMessengerAdvanced MsgAdvanced; MsgAdvanced =(CommunicatorAPI.IMessengerAdvanced)MsgClass; object [] sipUris = {" tel:14255551212"};尝试{MsgAdvanced.StartConversation(CommunicatorAPI.CONVERSATION_TYPE.CONVERSATION_TYPE_PHONE,sipUris,null," Title",null,null); } catch {//可能没有第三方通话控制}}

private void button2_Click(object sender, EventArgs e) { CommunicatorAPI.IMessengerAdvanced MsgAdvanced; MsgAdvanced = (CommunicatorAPI.IMessengerAdvanced)MsgClass; object[] sipUris = { "tel:14255551212"}; try { MsgAdvanced.StartConversation( CommunicatorAPI.CONVERSATION_TYPE.CONVERSATION_TYPE_PHONE, sipUris, null, "Title", null, null); } catch { // Probably no 3rd party call control available } }



 


这篇关于RCC使用OCS Automation API调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆