Skype and SipToSis as service on Windows 7

Posted by Max Power | Posted in VOIP | Posted on 25-10-2011-05-2008

1

If you are having difficulty getting XYNTService to run Skype and SipToSis on Windows 7 then this article will hopefully clear things up for you.

Edit: I was not able to get this working after a few hours of tinkering around with it and so I just purchased Appicus from MHSpot.com.  This application is cheap ($7.50) and makes it all work.  If you are able to get things working please let me know how you did it.

Windows 7 runs it services in session 0 which does not allow user interaction when they are running.  This means that we will not be able to accept the api call once the service is started (in Windows XP this didn’t matter since we could see the services running and accept the api call).  In order to get it all working we will explicitly specify the path to java in both the locateJava.bat file (SipToSis) and XYNTService.ini file.  This way when we accept the api call during testing it will still be accepted when we install it as a service.

If you have not already read my post about running all of this on Windows XP (Cheap VOIP with Skype and SipToSis) you may want to since it might fill in the gaps.

Set the java path in locateJava.bat

set JAVAEXEPATH="C:\Program Files (x86)\Java\jre6\bin\"

Modify the XYNTService.ini file to include the Java path in the command line for SipToSis

[Settings]
ServiceName = SipToSis
CheckProcessSeconds = 300
[Process0]
CommandLine = C:\Program Files (x86)\Java\jre6\bin\java.exe -Xms24m -Xmx24m -Djava.library.path=. -classpath tritonus_gsm-0.3.6.jar;tritonus_share-0.3.6.jar;jmf.jar;jspeex.jar;sip.jar;ua.jar;mailapi.jar;smtp.jar;activation.jar;skype.jar;log4j-1.2.15.jar;siptosis.jar;. "local.ua.SkypeUA"
WorkingDir = "C:\VOIP\SipToSis_20101005"
PauseStart = 1000
PauseEnd = 1000
UserInterface = No
Restart = Yes
UserName = user
Domain =
Password = pass

[Process1]
CommandLine = ""C:\Program Files (x86)\Skype\Phone\Skype.exe" /minimized /nosplash /secondary"
WorkingDir = "C:\Program Files (x86)\Skype\Phone"
PauseStart = 1000
PauseEnd = 2000
UserInterface = Yes
Restart = Yes
UserName =
Domain =
Password =

Run Skype and SipToSis_win.bat to setup the api connection and test things out

When it asks you to accept the api call in Skype click “allow”

Check the SipToSis log file and make sure that things connected as they should

Once we have Skype and SipToSis talking to each other we can now install them as a service using XYNTService.exe -i

Remember to make sure that the user has “Log on as service rights”

Comments posted (1)

I am trying to use the SipToSis but it doesn’t even start. Do you know whether it can be used with Skype version 6?

Write a comment