[Freeswitch-users] Run LUA script in different server
Sanath Prasanna
ahe.sanath at gmail.com
Mon May 21 09:45:18 MSD 2012
Hi MC,
I did the change according to ure instruction. But error is coming. Here I
attached freeswitch.log file
I change the confs as follows in BOX A. (Operator connected Freeswitch box)
BOX B ip is 10.22.29.253
vi /usr/local/freeswitch/conf/dialplan/default.xml
<extension name="dtl-imoved-inbound">
<condition field="destination_number" expression="^(\d{8}[1,2])$">
<action application="bridge" data="sofia/internal/$1 at 10.22.29.253"/>
</condition>
</extension>
Also add following to ACL file in BOX B
<node type="allow" cidr="BOX A IP/32"/>
Pls advice to solve the problem here.
Br,
Sanath
On Fri, May 18, 2012 at 9:57 AM, Michael Collins <msc at freeswitch.org> wrote:
> 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
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120521/ce4132bc/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.log
Type: application/octet-stream
Size: 15732 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120521/ce4132bc/attachment-0001.obj
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list