[Freeswitch-users] Two or more simultaneous calls not

Michael Jerris mike at jerris.com
Fri Apr 10 05:26:29 PDT 2009

On Apr 10, 2009, at 1:35 AM, Traun Leyden wrote:

> Hey you beat me to it.  I was going to have a look this morning but
> had no internet because some asswipe cut a bunch of fiber optic cables
> and took out phone/internet for a big part of the bay area.
> I haven't tried your patch yet, but I see something that looks  
> suspect:
> http://fisheye.freeswitch.org/browse/FreeSWITCH/src/switch_cpp.cpp?r=12958
> In playAndGetDigits() there are now two calls to begin_allow_threads()
> (line 778 and 780) followed by only one call to end_allow_threads()  
> (line 793)

Extra line removed, I did notice when looking in that file other  
methods that probably need begin/end, for example the blocking pop in  
event consumer.  Would you mind going through the rest and seeing if  
their are other obvious misses?


> Also I guess it would have better to test against JS, since it  
> should have
> had the same bug right?  Lua just ignores the threadswapping stuff but
> IIRC javascript uses it in much the same way as python.  Or did I  
> miss something?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090410/f276344b/attachment-0002.html 

More information about the FreeSWITCH-users mailing list