Help - Search - Members - Calendar
Full Version: Trying to make a call from a browser...
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Koala Media
Hi!

I'm trying for four days now to make a call from out a web script with the Skype API but without any success. I tried everything, PHP, Javascript, VBScript. The only way I achieved to make a call is with VBScript and by executing it through the command prompt (wscript.exe test.vbs). So now I tried to execute this (wscript.exe test.vbs) through PHP with the system() command, but without any luck.

The PHP looks like this:

<?
system("cscript.exe c:\test.vbs");
?>

And the result is this:

Microsoft ® Windows Script Host Version 5.6 Copyright © Microsoft Corporation 1996-2001. All rights reserved. Input Error: There is no file extension in "C:\Program Files\vtigerCRM4.2.4rc2\apache\htdocs\vtigerCRM\koalamedia\callcenter".


Can anyone please help me with this ? I also tried PHP but I get errors all the time sadsmile.png sadsmile.png

Thanks!!!


TheUberOverlord
QUOTE(Koala Media @ Mon Sep 25 2006, 03:41) [snapback]301121[/snapback]

Hi!

I'm trying for four days now to make a call from out a web script with the Skype API but without any success. I tried everything, PHP, Javascript, vb script:


http://testing.onlytherightanswers.com/skypebeta/Client.htm

Do you want it to be in an HTML page? Just by a user clicking a link? always the same #?

I am confused on what you are trying to do, use a client on your web host server, or offer a link on a web page to others?
Koala Media
QUOTE(TheUberOverlord @ Mon Sep 25 2006, 19:09) [snapback]301368[/snapback]

http://testing.onlytherightanswers.com/skypebeta/Client.htm

Do you want it to be in an HTML page? Just by a user clicking a link? always the same #?

I am confused on what you are trying to do, use a client on your web host server, or offer a link on a web page to others?


Thanks for your reply. I want to use my application in PHP, but it doesn't really matter, I can use VBScript, javascript or PHP for it. We have an internal callcenter application in PHP and we want that the phonenumbers are dialed automaticly through skype instead that our employees have to copy-paste the number every time.
TheUberOverlord
QUOTE(Koala Media @ Tue Sep 26 2006, 07:38) [snapback]301657[/snapback]

Thanks for your reply. I want to use my application in PHP, but it doesn't really matter, I can use VBScript, javascript or PHP for it. We have an internal callcenter application in PHP and we want that the phonenumbers are dialed automaticly through skype instead that our employees have to copy-paste the number every time.


Check out my web site on how I do it, I use JavaScript in PHP:

http://testing.onlytherightanswers.com

Also here are the methods I used to do it:

http://testing.onlytherightanswers.com/mod...icle&sid=43

I am however, NOT linking to a Skype client on the web server host, I am just letting the web site visitor use the links to invoke calls and chats using their Skype Client.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.