[Freeswitch-users] Which Lua script am I?

Seven Du dujinfang at gmail.com
Fri Mar 5 19:28:41 PST 2010


and also you can get the script name from argv[0] if you name you
script in different names

2010/3/6 Mike van Lammeren <mike at van.lammeren.net>:
> In case anyone's interested, I just found something cool. You can pass
> parameters to the Lua script from the lua.conf.xml file, like so:
>     <param name="startup-script" value="temp.lua script1"/>
>     <param name="startup-script" value="temp.lua script2"/>
>     <param name="startup-script" value="temp.lua script3"/>
> I can see that being useful.
> Mike van Lammeren
>
> On Fri, Mar 5, 2010 at 2:59 PM, Mike van Lammeren <mike at van.lammeren.net>
> wrote:
>>
>> Thanks so much, everyone! Awesome advice, as usual!
>> Due to a deadline situation, I'm going with the Lua script idea. However,
>> if it gives us any trouble after the looming deadline, then I will
>> definitely go the C route.
>> Thanks again!
>> Mike van Lammeren
>>
>> On Fri, Mar 5, 2010 at 2:42 PM, Brian West <brian at freeswitch.org> wrote:
>>>
>>> Write it in C and use the FreeSWITCH task scheduler API.
>>>
>>> /b
>>>
>>> On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote:
>>>
>>> > All the same, I'm still open to suggestions on better ways to achieve
>>> > my ultimate goals!
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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
>
>




More information about the FreeSWITCH-users mailing list