mabu mabu - 1 year ago 227
Javascript Question

How can I use skype-uri.js with Skype for Business?

I got the following code to create a button on my webpage to start a Skypecall:

<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<div id="SkypeButton_Call_dhruv_1">
<script type="text/javascript">
"name": "call",
"element": "SkypeButton_Call_dhruv_1",
"participants": ["echo123"],
"imageSize": 32

Every time I click the button an error message appears which forwards to the skype download page. Error message:

enter image description here

Says no Skype's installed. I've installed the latest version of Skype for Business.

How do I get this to work with Skype for Business?

Answer Source

I tried some stuff. The best way would be what Joe Clay commented above. But I still got the problem that I couldn't make calls to classical phone numbers like +0123456789.

After some research I found out that I simply could use tel:.

<a href="tel:+0123456789">Call</a>

This makes Skype4Business to ask if you want to call the given number. Notice that Skype for Business must be your default application to deal with tel: links. You can change that by searching for "default programs" on your computer.

I hope this also helps some other people.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download