Here is the scenario of my question:
- There is a Two-party call between Roger and Regina, they are common Lync user. and they have send several IMs to each other. Now I would like to send a message(like a notification ) to them in their conversation window, but not open a new conversation window which contain the message I send to them.
Here is my effort:
First, I read Michael Greenlee’s blog “Invisible OCS conference participants”, then I try to achieve my goal in that way. But it seems the Result is not what I want.
- This is “group conversation ”, but not conversation just between two normal Lync user;
- when the invisible application endpoint send a message in the “group conversation window”, it will not invisible now.
So, can anybody give me some advice, I really appreciate that.
BR
Rainbow Zhou
This is not possible. There is a direct message flow between two Lync endpoints, you cannot touch that.
For a third endpoint (be it a user or an application) to be able to communicate with your two users, you will need a conference. And then still, messages will show as being send from your application.
You can hide the application from the participant list, or you could BackToBack both Roger and Regina in the conference so they do not even know theyre in one. The application can impersonate any name/sipuri and send messages pretending to be someone else.
Your main problem, however, will be getting "in between" the conversation between Roger and Regina. You could use MSPL scripts to redirect SIP Invites to your endpoint, then use your endpoint to create a conference, and invite the second participant. This is not trivial, and depending on why and how you want to send a "notification", probably completely overkill. If in any way possible, I would look for a different way to notify your users.
One option could be to use the Lync Client SDK to create an application that interacts with the client's Lync instance. Send messages to your application and have it try to inject them into the conversation. This would require the app to be installed on each client PC though, and you will need to think of a way to push messages to your application.