Package: asterisk Version: 1.0.7.dfsg.1-2 Tags: patch I kept getting error messages from the RxFAX() function (of package asterisk-app-fax), like the following:
Apr 5 22:10:26 NOTICE[31327]: Unable to find a path from slin to unknown Apr 5 22:10:26 WARNING[31327]: Unable to restore read format on 'Modem[i4l]/ttyI2' Apr 5 22:10:26 NOTICE[31327]: Unable to find a path from unknown to slin Apr 5 22:10:26 WARNING[31327]: Unable to restore write format on 'Modem[i4l]/ttyI2' I saw from the source that RxFAX() is trying to restore the previous read & write formats of the channel after fax reception. However, these are never set for a modem channel. I don't know why they're not set, as all other channel drivers set default read & write formats. Also, SLINEAR seems to be the only supported format, so it shouldn't harm setting these to that value. I attached a small patch that does this and fixes my problem without harm. Simon
chan_modem.patch
Description: Binary data

