[Freeswitch-users] Event socket and python
Sami Montour
smontour at verizon.net
Thu Sep 5 06:04:27 MSD 2013
Hi,
Freeswitch is listening on port 8021 not 8041. Just tried the script below
and works fine on my machine. Running python 2.7.3 and FS 1.2.12
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Johan
Brannlund
Sent: Wednesday, September 04, 2013 5:33 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Event socket and python
Sami Montour wrote:
> Hi,
> Try this modified version of your code. It should work. You can also
> do "while(con.connected())" instead of "while(1)"
Hi. Thank you for replying. I'm afraid your version of the Python code does
exactly the same thing as mine: if I connect to a closed port, con.connected
is still True and I get an unending stream of SERVER_DISCONNECTED events.
By the way, this is with Freeswitch version
1.5.2b+git~20130526T122251Z~076a7706db.
_________________________________________________________________________
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
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
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list