[Asterisk-Users] Re: Chan_Capi initial deadlock
Carl Sempla
cas at accld.com
Fri Feb 4 08:37:24 MST 2005
On Friday, 04 February, 2005 14:16 : Sergio <mlists at c-net.it> wrote:
>>> I had applied the patch and it got much better. Now I only have
>>> problems every two days....
>>>
>>>
>>>
>> 563 usleep(10000);
>>
>>
>>
> 10000 is too high you can safely lower it to sleep(1) there's a while
> over there
> otherwise it will lock the channel for 10 seconds.
> that's code from chan_capi fax patch right?
Nop, it's in the original code. Don't forget that usleep use microseconds,
not milli, so this line doesn't wait 10s.
--
Carl
More information about the asterisk-users
mailing list