tout-bien
Wed Jun 11 2008, 20:38
Hi,
I'm trying to do the following :
I have a server (suse 10.3, apache2, php5, mysql 5, ..) with a website on it.
In the website i would like to implement a call button for end-users.
Basically it should work as followes:
When they press the button, they are asked for a phone number. After some checks i would like to use skype conference call to make a phone contact between someone in the company (somewhere else, not where the server is located) and the person who pressed the button.
Does anyone know of this kind of application, or has any ideas how to attack this problem ?
I probably have to write a bit of php code, that's no problem, however I donnot know how to link to the api libs.
Thanks in advance,
Steven
Avo Nappo
Thu Jun 12 2008, 13:09
> using skype on server
Skype is not a server-side program. To use Skype functionality a Skype client has to run in client's local machine. Assuming the user who comes to your website has Skype installed on his machine, you can have "sort of server-side" logic in form of javascript for example, in your web page. That javascript could implement a web UI element that enables the user to call someone in your company. But it would a) run on user's computer, and require Skype installed on user's machine.
> however I donnot know how to link to the api libs.
Skype public API is not so much a lib as a text protocol that is used over a platform-dependant transport layer. However, there are several wrapper libraries you can use to make coding easier. There is, for example, Skype ActiveX component - Skype4Com, that comes in a dll that gets distributed with Windows Skype clients. This can be used from within javascript code.