<div dir="ltr"><a href="https://wiki.freeswitch.org/wiki/Mod_lua#Lua_scripts_at_startup">https://wiki.freeswitch.org/wiki/Mod_lua#Lua_scripts_at_startup</a><br><div><a href="https://wiki.freeswitch.org/wiki/Mod_lua#Make_API_calls_directly_from_Lua_code">https://wiki.freeswitch.org/wiki/Mod_lua#Make_API_calls_directly_from_Lua_code</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 March 2014 09:29, <span dir="ltr"><<a href="mailto:bruce@sqls.net" target="_blank">bruce@sqls.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>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.</div>
<div class="">
<div> </div>
<div> </div>
<div>------ Original Message ------</div>
<div>From: "Steven Ayre" <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></div>
<div>To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>></div>
</div><div class=""><div>Sent: 3/27/2014 5:26:39 PM</div>
<div>Subject: Re: [Freeswitch-users] Configure aliases and auto-complete on start up.</div>
<div> </div>
</div><div>
<blockquote cite="http://CAFiqYu=P2GP_51Rhnzt+WcV5dtH6jWG_oRkMvt8bfyf2vHqmJg@mail.gmail.com" type="cite">
<div dir="ltr"><div class="">
<div class="gmail_extra">You could configure FS to execute a lua script on startup that adds them.</div>
<div class="gmail_extra"><br></div>
</div><div class="gmail_extra">
<div class="gmail_quote"><br></div>
<div class="gmail_quote"><div class="">On 27 March 2014 10:16, <span dir="ltr"><<a href="mailto:bruce@sqls.net" target="_blank">bruce@sqls.net</a>></span> wrote:<br>
</div><blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div><div class="">
<div>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?</div>
</div><div>
<div><div class="">
<div> </div>
<div> </div>
<div>------ Original Message ------</div>
<div>From: "Brian West" <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></div>
<div>To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>></div>
<div>Sent: 3/25/2014 4:51:19 PM</div>
<div>Subject: Re: [Freeswitch-users] Configure aliases and auto-complete on start up.</div>
<div> </div>
</div><div>
<blockquote cite="http://74F8A868-FF9E-4098-A3B0-260D682F543A@freeswitch.org" type="cite"><tt style="WORD-WRAP:break-word"><div class="">
<div><a href="https://wiki.freeswitch.org/wiki/Mod_commands#alias" target="_blank">https://wiki.freeswitch.org/wiki/Mod_commands#alias</a> </div>
<div> </div>
<div>-- </div>
<div>Brian West </div>
<div><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a> </div>
<div>FreeSWITCH Solutions, LLC </div>
<div>PO BOX 2531 </div>
<div>Brookfield, WI 53008-2531 </div>
<div>Twitter: @FreeSWITCH , @briankwest </div>
</div><div><a href="http://www.freeswitchbook.com/" target="_blank">http://www.freeswitchbook.com/</a> </div>
<div><a href="http://www.freeswitchcookbook.com/" target="_blank">http://www.freeswitchcookbook.com/</a> </div><div><div class="h5">
<div> </div>
<div>T: <a href="tel:%2B1.918.420.9001" value="+19184209001" target="_blank">+1.918.420.9001</a> | F: <a href="tel:%2B1.918.420.9002" value="+19184209002" target="_blank">+1.918.420.9002</a> | M: +1.918.424.WEST </div>
<div>iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a> </div>
<div>ISN: 410*543 </div>
<div>Skype:briankwest </div>
<div>PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED) </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>On Mar 25, 2014, at 11:20 AM, <a href="mailto:bruce@sqls.net" target="_blank">bruce@sqls.net</a> wrote: </div>
<div> </div>
<blockquote type="cite">
<div> </div>
<div> 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. </div>
<div> </div>
<div> 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. </div>
<div> </div>
<div> Anytime I restart freeswitch the aliases and auto-complete seem to get reset. </div>
<div> </div>
<div> Is there a configuration file that I can configure these in so they are loaded on start up? </div>
<div> </div>
<div> Thank you :) </div></blockquote>
<div> </div></div></div></tt></blockquote></div></div></div></div><div><div class="h5"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></div></div></blockquote></div><br></div></div></blockquote></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>