Help - Search - Members - Calendar
Full Version: Skype through web
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
robish_
Hello!

I have some problems. Maybe someone can help me.

I want to create tool for users in my portal. With this tool they can login in their skype account and use Skype through my webpage without Skype setup on the PC. Is there any possibility for that kind tool?

Thank you!
R.
TheUberOverlord
[quote=robish]Hello!

I have some problems. Maybe someone can help me.

I want to create tool for users in my portal. With this tool they can login in their skype account and use Skype through my webpage without Skype setup on the PC. Is there any possibility for that kind tool?

Thank you!
R.[/quote]

It could be done, but....many people would be fearful of using this because you would be able to see their passwords.

It would depend of what operating system your server runs that hosts your web site, and you would have many problems with needing to run multiple Skype clients for each person using this on your web site depending on how many users were trying to do this at the same time.
AaronL
Awesome! I've been looking for the right place to post my question...this is the place, I'm quite sure...

I operate a project management solution run as an "intranet" for my company. All users have Skype already on their machines (FYI). I want to be able to automate the sending of chat messages to them via ASP code on thr web server (also has Skype client installed).

An example of WHY is...

The system (among many other things) allows people to open new projects and close projects. When a project opens, things around the building need to happen. Right now, when the FORM that requests the information about the new project POSTS, an ASP function executes that updates some things in a database..it also sends some emails out. My people here asked a great question, can this function also send a quick Skype message that says "A JOB JUST OPENED..."

This is, of course, only one example.

I've tried to use the VBS code I found on the Skype developer website, but WScript VBS files cannot be used on ASP easily. The object does somewhat "function" when I use:

Set oSkype = Server.CreateObject("Skype4COM.Skype")

...but I get a...

Error Type:
Skype4COM.Skype.1 (0x80040207)
Skype client is not installed.
/skype/makecall.asp, line 8


Line 8 is: If Not oSkype.Client.IsRunning Then oSkype.Client.Start() End If
(directly pasted from the vbs code on the Skype developer website)

so when I comment out line 8 I get:

Error Type:
Skype4COM.Skype.1 (0x80040201)
Wait timeout.
/skype/makecall.asp, line 17

line 17 is: Set oChat = oSkype.CreateChatWith("aaronluckette")

In summary, the .vbs file when run directly from the server, (double-clicked on) runs fine and the user gets the message wonderfully, so I though it might be a permissions thing...my IIS (unsecure as this is) is now set to "Administrator" account with "Low" security setting and all that, just to be sure.

I'm very frustrated although confident I'm right on the edge of having this thing beat.

I appreciate any help I can get, particualarly from an advance Skye Developer. I have been an ASP'r since that term was invented in the 90's.

Thanks again,

aaronluckette
Skype Me
TheUberOverlord
QUOTE(AaronL @ Aug 23 2006, 03:35 PM) [snapback]290510[/snapback]

Awesome! I've been looking for the right place to post my question...this is the place, I'm quite sure...

I operate a project management solution run as an "intranet" for my company. All users have Skype already on their machines (FYI). I want to be able to automate the sending of chat messages to them via ASP code on thr web server (also has Skype client installed).

An example of WHY is...

The system (among many other things) allows people to open new projects and close projects. When a project opens, things around the building need to happen. Right now, when the FORM that requests the information about the new project POSTS, an ASP function executes that updates some things in a database..it also sends some emails out. My people here asked a great question, can this function also send a quick Skype message that says "A JOB JUST OPENED..."

This is, of course, only one example.

I've tried to use the VBS code I found on the Skype developer website, but WScript VBS files cannot be used on ASP easily. The object does somewhat "function" when I use:

Set oSkype = Server.CreateObject("Skype4COM.Skype")

...but I get a...

Error Type:
Skype4COM.Skype.1 (0x80040207)
Skype client is not installed.
/skype/makecall.asp, line 8
Line 8 is: If Not oSkype.Client.IsRunning Then oSkype.Client.Start() End If
(directly pasted from the vbs code on the Skype developer website)

so when I comment out line 8 I get:

Error Type:
Skype4COM.Skype.1 (0x80040201)
Wait timeout.
/skype/makecall.asp, line 17

line 17 is: Set oChat = oSkype.CreateChatWith("aaronluckette")

In summary, the .vbcs file when run directly from the server, (double-clicked on) runs fine and the user gets the message wonderfully, so I though it might be a permissions thing...my IIS (unsecure as this is) is now set to "Administrator" account with "Low" security setting and all that, just to be sure.

I'm very frustrated although confident I'm right on the edge of having this thing beat.

I appreciate any help I can get, particualarly from an advance Skye Developer. I have been an ASP'r since that term was invented in the 90's.

Thanks again,

aaronluckette
Skype Me


If you are placing this in the web page that is being served to the end user, than the script code would be executing on the end user computer correct?
AaronL
No, this is server-side code that executes before the html is sent down to the client. The only html I have on the page is one line at the very bottom of my code that says "Response.write "All done."

Keep in mind that I do indeed have the Skype client installed on the server, to "supplement" the API installed as well.
Rubén
QUOTE(robish @ Wed Jul 19 2006, 16:37) [snapback]276460[/snapback]

Hello!
I have some problems. Maybe someone can help me.
I want to create tool for users in my portal. With this tool they can login in their skype account and use Skype through my webpage without Skype setup on the PC. Is there any possibility for that kind tool?
Thank you!
R.


Did you found out how to develop a tool like that?
ramik
Has anybody found a solution to use Skype4Com from web server?
I got the same errors as AaronL, but now I'm thinking they have to do with permissions on the server, but no solution still..
Starbuck
I've just started using the Skype API and I'm actually writing a prototype for an application like this now. In my case a customer service rep has their browser polling a server for new inbound service calls. When a call comes in, the PBX runs a program to check which reps are available. It then forwards the call to the rep and gets data from a database regarding the person who's calling. So the reps web page gets loaded with caller info just as their Skype phone rings to take the call. The rep can be anywhere in the world. The web page and Skype are not linked but to the rep it looks like they are.

The trigger I'm setting up is an inbound phone call but of course the trigger can be any event like a file being saved on a server, someone accessing a database record. Heck, based on some of the work I've done I can get Skype voice/chat to get invoked in response to motion detectors, sales data, server errors, appointments, weather and traffic issues.

Holy cow, I'm enjoying this stuff. Reply here and/or PM me for services: Reputable company, lots of clients and worldwide partnerships.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.