[Freeswitch-users] Start FreeSWITCH as a Windows service with -nonat option

Aleš Zelenik ales.zelenik at it-tim.si
Thu Sep 1 11:27:36 MSD 2011


It works, thank you for quick reply


On sre, 2011-08-31 at 18:09 +0200, Peter Olsson wrote:
> 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!
> 
> 
> 
> 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

-- 
Aleš Zelenik,

sistemski inženir:: system engineer

tel: +386 (0) 2 251 34 44
     +386 (0) 59 210 263
sip: ales at voip.it-tim.si
fax: +386 (0) 2 251 34 45
gsm: +386 (0) 40 556 982
eml: ales.zelenik at it-tim.si
www: www.it-tim.si


I.T. tim d.o.o. ::  Ulica heroja Šaranoviča 37 :: 2000 Maribor
ID zavezanca za DDV: SI33519439
TRR: 03121-1000371323




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list