[Freeswitch-users] Start FreeSWITCH as a Windows service with -nonat option
Peter Olsson
peter.olsson at visionutveckling.se
Wed Aug 31 20:09:52 MSD 2011
Change the command line for the service, from "-service FreeSWITCH" to "-service FreeSWITCH -nonat" - I believe that the extra options must come after the service argument.
/Peter
________________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Aleš Zelenik [ales.zelenik at it-tim.si]
Skickat: den 31 augusti 2011 11:45
Till: freeswitch-users at lists.freeswitch.org
Ämne: [Freeswitch-users] Start FreeSWITCH as a Windows service with -nonat option
Hello all,
I am having trouble starting fs as a windows service with -nonat option
If I run from command prompt "FreeSwitchConsole -nonat" it works ok, but
I am left with open window in logged-in session.
Command to run as a service is "...path...\FreeSwitchConsole.exe
-service FreeSWITCH", which can be also verified with "sc qc FreeSWITCH"
If I want to add an argument -nonat with command:
sc config FreeSWITCH binPath= "C:\Program Files (x86)\FreeSWITCH
\FreeSwitchConsole.exe -nonat -service FreeSWITCH"
service won't start anymore
also, fs cannot be installed as a service with optional arguments, eg
FreeSwitchConsole -install -nonat
Anyone managed to run fs like this?
Thanks,
--
Ales Zelenik,
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
!DSPAM:4e5e50df32763458912694!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list