lync

UCMA Send File & File Transfer Sample

烈酒焚心 提交于 2021-02-08 13:08:15
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(

UCMA Send File & File Transfer Sample

一个人想着一个人 提交于 2021-02-08 13:06:15
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(

UCMA Send File & File Transfer Sample

北城以北 提交于 2021-02-08 13:06:06
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(

UCMA Send File & File Transfer Sample

青春壹個敷衍的年華 提交于 2021-02-08 13:05:57
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(

UCMA Send File & File Transfer Sample

☆樱花仙子☆ 提交于 2021-02-08 13:05:25
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(

Lync 2010开发环境建立和开发参考资料

你。 提交于 2020-03-26 09:12:36
lync开发的时候,可以内部共享一个开发服务器虚拟机环境,这样小组人员的调试和重新部署等都很方便 安装参考 网上别人截图的安装过程:(如下是目前发现最好的) 搭建标准版Lync2010开发环境(1):环境准备 http://just4fun.cn/?p=411 搭建标准版Lync2010开发环境(2):域控制器搭建 http://just4fun.cn/?p=453 搭建标准版Lync2010开发环境(3):Lync服务器准备 http://just4fun.cn/?p=489 搭建标准版Lync2010开发环境(4):搭建Lync服务器 http://just4fun.cn/?p=585 安装注意 1、AD和Lync Server必须独立安装,准备安在一个机器上会出错 2、虚拟机:注意如果拷贝的虚拟机,需要把机器的标示唯一处理, %WINDIR%System32\sysprep\sysprep //oobe /generalize /rebbot 用户设置为需要密码登陆: net user Administrator *** /passwordreq:yes 3、DNS: 把AD、server的域名加对;加入SRV记录 _sipinternaltls 4、标准版的数据库是Sql Express,安装设置的时候注意数据库实例的填写,否则会出错;企业版可以安装独立的数据库 5

Lync 手机客户端登录过程

人盡茶涼 提交于 2020-03-13 20:55:32
近日一直在做让Lync 手机客户端在内、外网正常登录的配置,在经过同微软工程师的探讨与分析后,在这里也将 Lync 手机客户端登录的过程分享出来,以便大家可以了解整个登录的过程。 手机根据你输的SIP地址获得到SIP的域名,然后查找以下地址: https://lyncdiscoverinternal.<SIP 域名>/autodiscover/autodiscoverservice.svc/root 或https://lyncdiscover.<SIP 域名>/autodiscover/autodiscoverservice.svc/root 来获得到我们Lync手机web服务的地址。 由于目前我们在前端上开放的手机web服务在IIS的一个绑定在4443端口的网站上,所以当手机尝试通过https 443访问web服务的时候,我们需要通过一个反向代理将其访问443端口的请求重定向到前端服务器的4443端口。 Lync手机访问web服务的webticket目录来进行身份验证工作。 通过验证之后,Lync 2013的手机客户端访问web服务的ucwa目录来进行登陆。 Lync 2010的手机客户端通过访问web服务的mcx目录来进行登陆。 之后Lync 2013手机客户端通过访问web服务的ucwa来进行基本功能的使用。Lync

Not able to capture “NeedsSize” change event for Lync conversation window

最后都变了- 提交于 2020-01-25 06:53:11
问题 I am developing sample application using Lync 2010 SDK. In that application i want to capture Lync IM window resize event. As I know Lync 2010 SDK do provides API's to capture re-size event for the Lync IM window. The application is launched successfully and on launching an IM window i do get the Lync Conversation Added event, but after that i don't get resize event for it on resizing the same Lync IM window. Here is the code of sample application. Please review the code and let me know if

Displaying a photo for an Application endpoint

做~自己de王妃 提交于 2020-01-11 11:08:58
问题 Here is my problem : I work on a big UCMA project since 3 month and now I would like to add a little feature. I have a lot of ApplicationEndpoints which can be added, modified or deleted dynamically and I would like, each time that I create an ApplicationEndpoint, to specify a picture which will be displayed on Microsoft Lync. I already have a lot of other functionnalities but I'd really like to have this one. I searched for days but I didn't find anything so before telling myself that it can

Displaying a photo for an Application endpoint

巧了我就是萌 提交于 2020-01-11 11:07:54
问题 Here is my problem : I work on a big UCMA project since 3 month and now I would like to add a little feature. I have a lot of ApplicationEndpoints which can be added, modified or deleted dynamically and I would like, each time that I create an ApplicationEndpoint, to specify a picture which will be displayed on Microsoft Lync. I already have a lot of other functionnalities but I'd really like to have this one. I searched for days but I didn't find anything so before telling myself that it can