uv at yuvalhertzog.com Guest
|
Posted: Sun Apr 19, 2009 7:54 am Post subject: [Freeswitch-users] Skypiax as a windows service |
|
|
The service creation steps you described are identical to what we've done.
The only difference, as having the Skype service running on "local system"
doesn't seem to work on Win2K3 server...
Maybe this works on XP but on Win2K3 it behaves as if it doesn't find the
audio devices.
It does work on a user (such as administrator) account.
We tried it on few servers.
Any insight?
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Giovanni
Maruzzelli
Sent: Saturday, April 18, 2009 8:11 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Skypiax as a windows service
On Fri, Apr 17, 2009 at 11:58 PM, Giovanni Maruzzelli
<gmaruzz@celliax.org> wrote:
Quote: | Then you install FS as service (freeswitch.exe -install servicename),
start FS as a service (under "local system"), manually (again, from
the "services" applet).
|
make sure the FS service is owned by "local system" and that "Access
desktop" is ticked.
gm
On Fri, Apr 17, 2009 at 11:58 PM, Giovanni Maruzzelli
<gmaruzz@celliax.org> wrote:
Quote: | Quote: | On Fri, Apr 17, 2009 at 4:02 PM, UV <uv@yuvalhertzog.com> wrote:
Quote: | Give a shout if you get Skypiax working as a service.
I'll be happy to contribute to its wiki about it once you get it
|
|
| working.
Quote: |
<shout>got Skypiax working as a service</shout>
I will document this better in the future, but following is the
general idea, from a Vista Home machine:
I assume you have FS configured and working with mod_skypiax (if run
from the command line). I mean, first you have to make sure all is
working as a "normal non-service application", as documented in the
wiki here http://wiki.freeswitch.org/wiki/Skypiax#Skypiax_on_Windows
and in the video here
http://wiki.freeswitch.org/wiki/Skypiax#Windows_Video_How_To
To start the Skype client instances as services, you need to use
instsrv and srvany from "Windows Server 2003 Resource Kit Tools":
| http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-
96EE-B18C4790CFFD&displaylang=en
http://www.sixxs.net/wiki/Configuring_Windows_Vista#.2816.29__Installing_AIC
CU_Utility_as_a_Service
Quote: | )
You create an (empty) service with those tools, then you follow the
procedure steps and as "Parameters" ->"Application" you put the string
"C:\Program Files\Skype\Phone\Skype.exe /secondary /username:skypiax1
/password:xxx"
*use your username and password in the string*
Then, from the "services" applet in Control Center ->administrative
tools, you make sure the service is owned by "local system" and that
"Access desktop" is ticked.
Start the service manually from the "services" applet.
Maybe it will appear a "the service wants to access the desktop". Go
to "show message" to see what Skype wants, and give some
configurations if needed.
Then you install FS as service (freeswitch.exe -install servicename),
start FS as a service (under "local system"), manually (again, from
the "services" applet).
It will appear "the service wants to access the desktop". Go there and
give Skype authorization to be connected by FS, forever.
Stop both services.
Restart both services, manually. First the Skype clients, then after
a while, FS.
From another machine, make a Skype call to FS.
If all works as expected, stop both services, make sure (via
"services" applet) the FS service will retry three times to start,
with a minute pause (just to allow for the Skype clients to start and
settle their connection with the network, to be on the safe side).
Make the services to start "automatic".
Reboot the machine, don't log in, make another test call to FS via
Skype, and... shout
PS: instead of having the service to start one only instance of skype,
you can probably make the service to start a .CMD file that will start
many instances, a la startskype.bat
I'll look into this soon.
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|