HylaFAX The world's most advanced open source fax server |
-- Michael Boers
(I accidentally hit "send" prematurely last time.)
On 2005.01.26 07:35 Michael Boers wrote:
Questions:
1. Is there a way to disable job batching globally rather than on a per destination basis?
I had intended on adding a modem "SupportsBatching" config option, but it looks like I didn't do it. If someone opens a Bugzilla report on it, or adds a note to the existing batching bug report, then I will eventually get around to it. However, I'd much prefer fixing any batching errors first.
2. Is there a fix for this?
I think that the attached patch will fix it for you.
Partial Log File Follows, notice how the FDCS parameters from the receiving machine at time 09:38:48.53 and 09:39:17.66 are different.
In Class 2 HylaFAX indicates to the modem what DCS parameters it wants the modem to use by way of the +DIS command. HylaFAX traditionally only sends +DIS before the first page is sent and thereafter before any page where the session parameters need to change. If the session parameters don't need to change, then it doesn't send +DIS.
Jan 26 09:38:41.21: [67876]: USE 3.85 line/mm Jan 26 09:38:41.21: [67876]: USE 2-D MR Jan 26 09:38:41.21: [67876]: <-- [24:AT+FDIS=0,5,0,2,1,0,0,2\r] Jan 26 09:38:41.48: [67876]: --> [2:OK] Jan 26 09:38:41.48: [67876]: <-- [7:AT+FDT\r] Jan 26 09:38:48.53: [67876]: --> [21:+FDCS:0,5,0,2,1,0,0,3] Jan 26 09:38:48.53: [67876]: --> [7:CONNECT]
Jan 26 09:39:05.29: [67876]: SEND send EOM (more documents)
Jan 26 09:39:10.85: [67876]: USE 3.85 line/mm Jan 26 09:39:10.85: [67876]: USE 2-D MR Jan 26 09:39:10.85: [67876]: <-- [7:AT+FDT\r] Jan 26 09:39:17.66: [67876]: --> [21:+FDCS:1,5,0,2,1,0,0,1] Jan 26 09:39:17.66: [67876]: --> [7:CONNECT]
Notice that the modem seems to have "forgotten" our previous +DIS command. Looks like we need to send +DIS after every instance of EOM, too, then. Please try the attached patch and let me know how it goes.
I think that this really stems from a bug with the modem. My thinking is that the modem should remember the +DIS command. However, we can easily work around the error by reminding the modem. Furthermore, I think that the MT2834ZDX is end-of-life, and so you won't see any fix-it support from the manufacturer.
Lee.
!DSPAM:41f7d908776471305011051! <hylafax-eomdiscmdfix.patch>
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*