[Freeswitch-users] Run LUA script in different server

Michael Collins msc at freeswitch.org
Mon May 21 23:23:39 MSD 2012


Look at line #186 of your trace:
2012-05-21 07:56:49.735660 [ERR] mod_sofia.c:3957 Invalid Profile

You need to figure out why your internal profile isn't running. Try "sofia
profile internal restart" and see what happens.

-MC

On Sun, May 20, 2012 at 10:45 PM, Sanath Prasanna <ahe.sanath at gmail.com>wrote:

> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120521/3b985269/attachment.html 


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