[Freeswitch-users] ESL help on remote machines
David Villasmil
david.villasmil.work at gmail.com
Tue Jan 15 12:44:31 UTC 2019
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
On Tue, 15 Jan 2019 at 00:50, Jungle Boogie <jungleboogie0 at gmail.com> wrote:
> 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190115/65b6ceb2/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list