On Fri, Mar 03, 2006 at 10:10:23AM +0300, Pavel Litvinenko waxed: > Hi All! > > chan_ooh323 works great but there is at last one problem - > my * box placed far away from GK and network some times faults for time > more than 5 min > and after that fault I have to reboot asterisk to get working > chan_ooh323 again.
I experience a similar problem waiting for a TCP timeout when the destination gateway goes offline. The ooSocketCreate connect() call needs a much lower timeout, probably with a short loop over select(). I think 3 seconds would match well with what I've seen elsewhere in the code. But regardless of this timeout length, it appears that all H225 traffic must go thru the single stack thread. Therefore, if you've got multiple calls being setup at the same time, they will be forced to dial sequentially, blocking a call until the stack thread is done with the initial connect() for the call before it. (Check out the great big 'ooh323c_cmd_lock' in chan_h323.c) I suspect that this kind of blocking is what you are seeing. --Chris ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ ooh323c-devel mailing list ooh323c-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ooh323c-devel