[Freeswitch-users] Run LUA script in different server

Michael Collins msc at freeswitch.org
Fri May 18 08:27:24 MSD 2012


If I understand your question correctly, yes you can do this. You can send
calls from one FreeSWITCH server to another. Start here:
http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes

Best way to learn is to get the FreeSWITCH books from Packt Publishing and
just start hacking code.

-MC

On Thu, May 17, 2012 at 9:07 PM, Sanath Prasanna <ahe.sanath at gmail.com>wrote:

> Tx for advice MC & Anita. Can I do work around like this .
> Another freeswitch instant will be start in other server & calls will be
> transfer from operator connected freeswitch instance to this new freeswitch
> instance & vise versa. Pls advice.
>
>
> On Thu, May 17, 2012 at 5:05 PM, Anita Hall <anita.hall at simmortel.com>wrote:
>
>> You could run a Lua ESL server on a different machine but this will not
>> be the same as running a Lua script.
>> http://wiki.freeswitch.org/wiki/Event_Socket_Library
>>
>> regards,
>> Anita
>>
>>
>>
>> On Thu, May 17, 2012 at 4:37 AM, Michael Collins <msc at freeswitch.org>wrote:
>>
>>> I don't think you can directly do what you are describing. However, you
>>> might be able to use mod_httapi for this. There's some documentation on the
>>> wiki and in the module. Keep in mind that this is a relatively new module
>>> so we don't have lots of examples yet, so you'll probably be doing a fair
>>> amount of research and testing.
>>>
>>> -MC
>>>
>>>
>>> On Wed, May 16, 2012 at 5:59 AM, Sanath Prasanna <ahe.sanath at gmail.com>wrote:
>>>
>>>> Hi all,
>>>> I have 2 servers. One server has SIP GW connection From Operator & IVR
>>>> applications need to build in other server. How to call distributed LUA
>>>> applications with Mysql Databases  from the SIP GW server ? Pls advice.
>>>> Main idea is, maintaining SIP connection in one server & all the IVR
>>>> applications in other server.
>>>> Br,
>>>> Sanath
>>>>
>>>>
>>>>
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120517/dbfa2f2b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list