[Home]

Summary:ASTERISK-04018: [patch] Raise write() failure in my_zt_write from Debug to Warning
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-04-29 10:34:46Date Closed:2011-06-07 14:10:23
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The attached trivial patch tweaks chan_zap.c to make it more apparent when there are problems pushing data into zaptel cards.<br />
<br />
Disclaimer on file.

****** ADDITIONAL INFORMATION ******

I have some * boxes that are sporadically generating EAGAIN errors when writing to their t100p cards. This manifests itself as pops and clicks in the incoming audio and, if the calls are VoIP somewhere and a jitter buffer/PLC is not in use then the artifacts tend to be incorrectly attributed to network related problems. By raising this to a WARNING it more correctly represents the risk of audio corruption implied by the write() problem.<br />
<br />
If I'd noticed these debugs going by amidst all the IAX packet scheduler debug on my systems I would have saved quite a few hours of fruitless network debugging.<br />
<br />
:-)
Comments:By: Russell Bryant (russell) 2005-05-10 00:23:01

this is actually normal operation, see bug 4107 for a few more details