You could expose your java funcions as a web service and then call them from lua. Kenny On 4/21/2010 1:13 PM, Jan Berger wrote:
I can make it run from shell - but it's bascally a collection of routines that I would like to use.
I know javascript has a Java intereface (JNI), but might be that working on the Java module makes more sence.
Jan
------------------------------------------------------------------------ Date: Wed, 21 Apr 2010 08:43:50 -0500 From: anthony.minessale@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Java from Lua
is the java app run from the shell?
On Wed, Apr 21, 2010 at 8:30 AM, Jan Berger <janvb@live.com <mailto:janvb@live.com>> wrote:
hi folks,
I am working on a IVR demo and need to call some Java code from within a Lua. Basically i just want to run a Java app and pass some parameters forth and back.
I assume this might be easier using JavaScript or Java itself ???
Jan
------------------------------------------------------------------------ Hotmail: Trusted email with powerful SPAM protection. Sign up now. <https://signup.live.com/signup.aspx?id=60969>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/>
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN:anthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL:anthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net/> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip:888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk:conf%2B888@conference.freeswitch.org> pstn:+19193869900
------------------------------------------------------------------------ Hotmail: Free, trusted and rich email service. Get it now. <https://signup.live.com/signup.aspx?id=60969>
_______________________________________________ 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