Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Lua access to ESL


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
alex at digitalmail.com
Guest





PostPosted: Fri Mar 04, 2022 7:17 am    Post subject: [Freeswitch-users] Lua access to ESL Reply with quote

Using a freeswitch build from a package and want to access esl from a
lua script. Is this possible? Or do I have to go the compiled route?

FreeSWITCH Version 1.10.7-release-19-883d2cb662~64bit

Cheers,
Alex


_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
Antony.Stone at freesw...
Guest





PostPosted: Fri Mar 04, 2022 8:19 am    Post subject: [Freeswitch-users] Lua access to ESL Reply with quote

On Friday 04 March 2022 at 12:37:35, Alex Lake wrote:

Quote:
Using a freeswitch build from a package and want to access esl from a
lua script. Is this possible?

Yes, depending on who packaged it for you. Which Linux distribution do you
use?

Quote:
FreeSWITCH Version 1.10.7-release-19-883d2cb662~64bit

In summary, you can use ESL from anything which can talk over a network socket
https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library

For Lua I believe
https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference
is what you need, although
https://freeswitch.org/confluence/display/FREESWITCH/mod_lua
may be useful as well.


Antony.

--
I don't know, maybe if we all waited then cosmic rays would write all our
software for us. Of course it might take a while.

- Ron Minnich, Los Alamos National Laboratory

Please reply to the list;
please *don't* CC me.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
botelist at gmail.com
Guest





PostPosted: Fri Mar 04, 2022 3:55 pm    Post subject: [Freeswitch-users] Lua access to ESL Reply with quote

I don't know how the packages handle it, but I'm guessing they don't provide the necessary ESL libraries for each and every language.

Even when you build from source you still must explicitly visit the directory containing the desired ESL language and run "make" from there, then it compiles and installs it for you. It's not intuitive, but it is documented well enough for perl (because that's what I used and fleshed out the wiki page for it). It should be the same for other languages.

Here's the ESL installation wiki instructions
https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library#EventSocketLibrary-Installation

It says there were packages for ancient Debian, so I would assume they have been kept up to date.


John Boteler
Bote Communications


-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Antony Stone
Sent: Friday, 4 March, 2022 07:43
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Lua access to ESL

On Friday 04 March 2022 at 12:37:35, Alex Lake wrote:

Quote:
Using a freeswitch build from a package and want to access esl from a
lua script. Is this possible?

Yes, depending on who packaged it for you. Which Linux distribution do you use?

Quote:
FreeSWITCH Version 1.10.7-release-19-883d2cb662~64bit

In summary, you can use ESL from anything which can talk over a network socket https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library

For Lua I believe
https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference
is what you need, although
https://freeswitch.org/confluence/display/FREESWITCH/mod_lua
may be useful as well.


Antony.

--
I don't know, maybe if we all waited then cosmic rays would write all our
software for us. Of course it might take a while.

- Ron Minnich, Los Alamos National Laboratory

Please reply to the list;
please *don't* CC me.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com


_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services