I sent a mail with that - in case you didn't see it:https://wiki.freeswitch.org/wiki/Mod_lua#Lua_scripts_at_startup
https://wiki.freeswitch.org/wiki/Mod_lua#Make_API_calls_directly_from_Lua_codeCheck the first link.
On 3 April 2014 13:11, <bruce@sqls.net> wrote:
Steven thanks for the idea. I was curious if you could tell me how to configure FS to do this? Is there a configuration build into FS where you can add init scripts?Thanks :)------ Original Message ------From: "Steven Ayre" <steveayre@gmail.com>To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>Sent: 3/27/2014 5:26:39 PMSubject: Re: [Freeswitch-users] Configure aliases and auto-complete on start up.You could configure FS to execute a lua script on startup that adds them.On 27 March 2014 10:16, <bruce@sqls.net> wrote:Thanks Brian. I see with alias there's a sticky add option. But I don't see that for the "complete" command. Or maybe it is there and I'm just not seeing it. Is there a way to get "complete" commands to persist through restarts?------ Original Message ------From: "Brian West" <brian@freeswitch.org>To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>Sent: 3/25/2014 4:51:19 PMSubject: Re: [Freeswitch-users] Configure aliases and auto-complete on start up.--Brian WestFreeSWITCH Solutions, LLCPO BOX 2531Brookfield, WI 53008-2531Twitter: @FreeSWITCH , @briankwestT: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WESTiNUM: +883 5100 1420 9001ISN: 410*543Skype:briankwestPGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)On Mar 25, 2014, at 11:20 AM, bruce@sqls.net wrote:Right now I'm building a lua based fax server for fs which includes a handy management script that can be used from the console.What I've done to make using my management tool easier is created aliases and auto-complete's for it from the fs_cli console.Anytime I restart freeswitch the aliases and auto-complete seem to get reset.Is there a configuration file that I can configure these in so they are loaded on start up?Thank you :)
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com/
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com/
Official FreeSWITCH Sites
http://www.freeswitch.org/
http://wiki.freeswitch.org/
http://www.cluecon.com/
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/