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@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Aleš Zelenik [ales.zelenik@it-tim.si] Skickat: den 31 augusti 2011 11:45 Till: freeswitch-users@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@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@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@voip.it-tim.si fax: +386 (0) 2 251 34 45 gsm: +386 (0) 40 556 982 eml: ales.zelenik@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