Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

open lync chat window in javascript

I found the same question I'm about to ask on stackoverflow, but the answer didn't help as the link didn't deal with javascript as far as I can tell. Is it possible to open a new Lync conversation from a webpage?

In a nutshell, I want to programmatically open a Lync chat window using javascript. I've done this with a simple link:

<a href="sip:[email protected]">IM</a>

Clicking the link would open the window as expected. I'm looking for a way to duplicate that behavior in javascript:

function doImDeveloper() {
    //Javascript to open a Lync window
}

This is in an internal environment. I want people at my company to be able to click a button and have it launch a Lync conversation with me. Any help would be appreciated.

like image 451
Anthony Avatar asked Dec 20 '12 03:12

Anthony


1 Answers

This works for me.

window.location = "sip:[email protected]"​
like image 132
RAS Avatar answered Oct 11 '22 19:10

RAS