[Freeswitch-users] Python based Event Socket Library doesn't connect to remote FreeSWITCH

acheraime at gmail.com acheraime at gmail.com
Tue Sep 1 21:25:40 MSD 2015


Carlos,

It's the same thing for default MySQL setup on Debian. It only bind to localhost to in order bind it to another address you need to change it in my.cnf. So freeswitch ESL by default listen to localhost (127.0.0.1).

Go ahead and update your config.


Sent from my iPhone

> On Sep 1, 2015, at 12:54 PM, Russell Treleaven <rtreleaven at bunnykick.ca> wrote:
> 
> you would see the 127.0.0.1 exists on all machines and hopefully bind your server to an route-able address
> 
>> On Tue, Sep 1, 2015 at 12:49 PM, Carlos Fererro <carlos4fsint at gmail.com> wrote:
>> And what would be the purpose of that?
>> 
>>> On Tue, Sep 1, 2015 at 9:43 AM, Russell Treleaven <rtreleaven at bunnykick.ca> wrote:
>>> I suggest you traceroute to 127.0.0.1
>>> 
>>>> On Tue, Sep 1, 2015 at 12:41 PM, Carlos Fererro <carlos4fsint at gmail.com> wrote:
>>>> Hi Ken,
>>>> 
>>>> thank you very much for you reply. No, I didn't change any configuration in the event sockel xml file to make eventsocket bind to anything other then localhost. And why should I? There are no multiple NIC cards or anything like that.
>>>> Simple configuration: two machines behind the same router - FS runs on 192.168.1.102 and client runs on 192.168.1.103. No firewalls and traffic doesn't go outside the router. Event socket client won't get connected to the FS. Problem I have is 100% reproducible. 
>>>> BTW, on Mac client can't connect to the FS even if client and FS do run on the same machine. 
>>>> Any suggestions to try?
>>>> 
>>>> Thanks 
>>>> 
>>>>> On Tue, Sep 1, 2015 at 8:47 AM, Ken Rice <krice at freeswitch.org> wrote:
>>>>> Did you make the eventsocket on the freeswitch server bind to something other than localhost which is its default configuration?
>>>>> 
>>>>>  
>>>>> 
>>>>> If you do this you should also ensure that this connection is firewalled off and not passed over the public internet as there is absolutely no encryption on this connection and the password is passed in the clear
>>>>> 
>>>>>  
>>>>> 
>>>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Carlos Fererro
>>>>> Sent: Sunday, August 30, 2015 12:33 PM
>>>>> To: freeswitch-users at lists.freeswitch.org
>>>>> Subject: [Freeswitch-users] Python based Event Socket Library doesn't connect to remote FreeSWITCH
>>>>> 
>>>>>  
>>>>> 
>>>>> To all Event Socket Library FreeSWITCH gurus!
>>>>> 
>>>>>  
>>>>> 
>>>>> Python implementation of the Event Socket Library doesn't seem to work with FreeSWITCH running on remote host. Only "localhost" or "127.0.0.1" has to be specified as the first parameter to the ESLconnection constructor to let client to successfully connect to the FreeSWITCH. Event if FreeSWITCH is running on the SAME machine (not even remote host) as the client and the "host" is specified with the IP address of the machine in the ESLconnection - no valid connection is getting established.
>>>>> 
>>>>> I am pretty sure that such a fundamental thing can't not to work and I am just missing something simple. Any help is greatly appreciated. 
>>>>> 
>>>>>  
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Carlos 
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.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
>>>>> http://www.freeswitch.org
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.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
>>>> http://www.freeswitch.org
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.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
>>> http://www.freeswitch.org
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150901/d6ce3bef/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list