<br>Hey you beat me to it. I was going to have a look this morning but<br>had no internet because some asswipe cut a bunch of fiber optic cables<br>and took out phone/internet for a big part of the bay area.<br><br>I haven't tried your patch yet, but I see something that looks suspect:<br>
<br><a href="http://fisheye.freeswitch.org/browse/FreeSWITCH/src/switch_cpp.cpp?r=12958">http://fisheye.freeswitch.org/browse/FreeSWITCH/src/switch_cpp.cpp?r=12958</a><br><br>In <span class="annLine" title="8238 anthm > 11 months"><span class="hl_identifier">playAndGetDigits() there are now two calls to </span></span><span class="annLine" title="12958 anthm > 16 hours"><span class="hl_identifier">begin_allow_threads</span>() <br>
(line 778 and 780) followed by only one call to end_allow_threads() (line 793)<br><br>Also I guess it would have better to test against JS, since it should have<br>had the same bug right? Lua just ignores the threadswapping stuff but<br>
IIRC javascript uses it in much the same way as python. Or did I miss something?<br><br><br></span><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Message: 5<br>
Date: Thu, 9 Apr 2009 08:15:38 -0500<br>
From: Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
Subject: Re: [Freeswitch-users] Two or more simultaneous calls not<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Message-ID:<br>
<<a href="mailto:191c3a030904090615j2b736b7bp890c903c00a014f6@mail.gmail.com">191c3a030904090615j2b736b7bp890c903c00a014f6@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
easier than you think,<br>
<br>
Just like Traun had suspected, the methods in the C++ wrapper for the read<br>
app was missing the begin and end allow threads calls<br>
that are only important to python to tell it to suspend the thread state<br>
while FS specific code is being executed.<br>
<br>
2 line fix in trunk rev 12958<br>
<br></blockquote></div><br>