使用UCMA进行简单的通话 [英] Making a simple phone call using UCMA

查看:65
本文介绍了使用UCMA进行简单的通话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我开始使用UCMA API,我最初的目标是公开一个功能,用户可以通过点击URL拨打电话。我知道Office Communicator可以执行此操作,但这适用于我正在处理的CRM应用程序,因此用户可以通过单击URL向其他公司的不同联系人拨打外部
电话。


我经历了很多事情,包括几个Chris Mayo在MSDN上的精彩网络广播。我正在使用UCMA API提供的基本audiovideocall示例。我将两个SIP指定为: - [sip:me@mycompany.com],AND,[sip:2012333333@mycompany.com; user = phone]。


代码抛出一个404未找到错误。你能帮我弄清楚如何实现这个目标 - 我想做的就是从办公室通信环境中的用户拨打电话到外部PSTN号码。


Thx 。

解决方案

如果用户已在桌面上运行客户端(Lync或Office Communicator),那么您的应用程序(也在运行)桌面)可以使用客户端自动化API拨打电话。 只需使用客户端支持的shell快捷方式即可。 对于桌面上显示的网页上的
示例,您可以输入表单调用的超链接:2012333333,当单击该超链接时,客户端将打开一个调用对话框。


如果您的CRM应用程序在桌面上运行,您可以使用超链接调用ShellExecute(),客户端将启动对话框。


 


hello,

I am getting started with UCMA API, and my initial goal is to expose a functionality where a user can make a phone call by clicking on a URL. I know Office Communicator can do it, but this is for a CRM app I am working on, so that a user can make external phone calls to different contacts at other companies by clicking on a URL.

I went through a lot of stuff, including a couple of Chris Mayo's awesome webcasts on MSDN. I'm using the basic audiovideocall sample provided with the UCMA API. I am specifying the two SIPs as :- [sip:me@mycompany.com], AND, [sip:2012333333@mycompany.com;user=phone].

The code throws a 404 not found error. Can you please help me figure out how to make this happen - all I want to do is make a phone call from a user in my Office communications environment, to an external PSTN number.

Thx.

解决方案

If the user is already running the client on there desktop (Lync or Office Communicator), then your app (also running on the desktop) can use the client automation API to make a call.  Just use the shell shortcuts that the client supports.  For example on a web page displayed on the desktop, you can put in a hyperlink of the form call:2012333333 and when that is clicked a call dialog will be put up by the client.

If your CRM app is running on the desktop, you can call ShellExecute() with the hyperlink and the client will launch the dialog.

 


这篇关于使用UCMA进行简单的通话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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