Thanks for the response Traun. The version of Python is 2.4.3, and I didn't build it myself, I installed it with yum. The version of Red Hat is 4.1.2-41. "import threading" works fine, so I don't think it's a Python threading issue. The FreeSWITCH version I installed is the freeswitch-1.0.3.tar.gz<http://files.freeswitch.org/freeswitch-1.0.3.tar.gz> located at files.freeswitch.org. I didn't make any major changes to the configuration; I enabled Python and set-up the SIP profile, directory and dialplan. No other changes. Any other help would be appreciated, since I really don't know where to look. Thanks, Adam
Date: Wed, 8 Apr 2009 06:36:27 +0430 From: Traun Leyden <tleyden@branchcut.com> Subject: Re: [Freeswitch-users] Two or more simultaneous calls not working To: freeswitch-users@lists.freeswitch.org Message-ID: <f9f80d540904071906j74c53d54q2c4acab117be10f4@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hello,
I wrote an application using FreeSWITCH version 1.0.3, with mod_python
and
a 64 bit box on Red Hat. The app works fine when one person dials in, but when a second person dials in, the first call stops and waits until the second call is finished. It's really strange - if the first call is right in the middle of playing a prompt, it will just stop, and there will be dead air. As soon as the 2nd call hangs up, the prompt for the first call starts playing right where it left off.
I previously had FreeSWITCH installed on a 32 bit CentOS box, and this was not happening.
Does anybody have any idea what the cause of this could be?
Thanks!
I'm running mod_python fine with 64-bit (Ubuntu 8) and fs svn 12793, and have not seen that problem. Which version of python? Did you build it yourself or was it from a package? If its from a package, please provide the version of Red Hat you are using.
One possible cause is that python was not compiled with multi-threading support. I don't know how to check that however .. googled around and didn't find anything. If you fire up your python interpreter and type "import threading" do you get an error?