[asterisk-dev] Re: Weird errors returned to chan_zap by zaptel

Matthew Fredrickson creslin at digium.com
Thu Nov 9 09:03:38 MST 2006


On Nov 9, 2006, at 8:51 AM, Tzafrir Cohen wrote:

> On Thu, Nov 09, 2006 at 01:27:32PM +0000, Tony Mountifield wrote:
>> In article <20061109125825.GG14186 at xorcom.com>,
>> Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
>>> On Thu, Nov 09, 2006 at 12:10:05PM +0000, Tony Mountifield wrote:
>
>>>> Unfortunately,
>>>> people are trying to use this system in beta testing (and I need 
>>>> them to,
>>>> to provoke the error), and they are 8 hours ahead of me in timezone!
>>>
>>> I don't think that there are too many close()-s in chan_zap. Add a
>>> comment near each. Probably faster.
>>
>> I've done that already. The fd is not being closed in chan_zap. 
>> Something
>> else is picking up the wrong fd number and calling close when it 
>> shouldn't.
>> That's why I need to trap all the closes in asterisk.
>
> libpri seems to do some file operations of its own, right?

Reads and write, but not opens and closes.  That's all done by the 
application using libpri.

Matthew Fredrickson



More information about the asterisk-dev mailing list