https://wiki.freeswitch.org/wiki/Mod_lua#Lua_scripts_at_startup https://wiki.freeswitch.org/wiki/Mod_lua#Make_API_calls_directly_from_Lua_co... On 28 March 2014 09:29, <bruce@sqls.net> wrote:
Great idea. How do I configure FS to run a script? And, I'm sorry but I'm very very new to both FreeSWITCH and LUA. I just started toying with them about a week ago. Do you know what command I would use inside LUA? 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 PM Subject: 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 PM Subject: Re: [Freeswitch-users] Configure aliases and auto-complete on start up.
https://wiki.freeswitch.org/wiki/Mod_commands#alias
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com/ http://www.freeswitchcookbook.com/
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP 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
_________________________________________________________________________ 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