Is it possible to open a new Lync conversation from a webpage?

落花浮王杯 提交于 2019-12-05 00:51:02

问题


I would like to open a new conversation in a users Lync client, with a pre-determined message text but with the reciepients of the message to be selected by the user, with this process starting from the user clicking a link on a web site.

Is that possible?


回答1:


Part of the problem here is that you can't open a conversation window without knowing who you want to start a conversation with, if that makes sense.

From a web-page, there are various different things you could do to start an IM with someone, for instance, Lync has a shell extension so you could start the process im:<sip:user@domain.com> and it will open a new conversation window with that user. However, there's no way to supply a default message text.

I'm assuming that, given you're assuming the Lync Client is available, this is for an internal environment you have some control over? If that's the case, if you can find out the recipient's address ahead of time (see first sentence) then you could write a really small console application which took the SIP address as a parameter, and started a new conversation sending the default message as well. You could then call this from your webpage. You'd have to deal with deployment of your console app etc, but it would get you where you need to be.

This MSDN article is a walk-through of starting a conversation, though you won't need all of it as you won't need to deal with receiving messages.



来源:https://stackoverflow.com/questions/10704811/is-it-possible-to-open-a-new-lync-conversation-from-a-webpage

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!