You can simply connect to the esl socket (port 8021) on fs from Box A. No need for that lua script.
You simply need to configure the ESL socket to listen on (I.e.: 0.0.0.0) and iptables it to only allow your box A.
As far as the library is concerned, in my experience, yes. The simplest is to have the source, so You need the whole fs source and compile. You can afterwards remove it.
Hope that helps.
If all you need is to originate (meaning you don’t care about events afterwards) there is another way of originating, and that’s via the httapi:
https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/3966423
With httapi you can all any api in fs.
Hope that helps
Hi All,
I know I'm a little late to the ESL party, but I have a use for it and I want to
try it out.
As the inbound diagram depicts, I would like a perl script on a remote machine
to trigger a simple lua script on the FreeSWITCH machine that generates an outbound call.
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket
-----------
Machine A -
perl esl
-----------
|
|
\/
----------
Freeswitch -
lua originate
----------
|
|
\/
----------
phone call
---------
The perl esl page states the module must be compiled. Does this mean machine
A needs to have the entire FS source code to compile the module?
https://freeswitch.org/confluence/display/FREESWITCH/Perl+ESL
If the entire src isn't needed, what's it take to install the ESL module
successfully on machine A?
Thanks,
sean
_________________________________________________________________________
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