Hi, I'm trying to receive faxes using hylafax / iaxmodem but I just can't get it to work. We're using Sangoma E1 cards and have calls coming in over PSTN. I've tried turning hardware echo cancellation off but it makes no difference. This is what I get in /var/spool/hylafax/log: [root at faxhost log]# cat c000000003 Jan 14 12:44:43.39: [ 3403]: SESSION BEGIN 000000003 18005551212 Jan 14 12:44:43.39: [ 3403]: HylaFAX (tm) Version 4.4.6 Jan 14 12:44:43.39: [ 3403]: CallID: "1234567890" "/var/spool/asterisk/fax/20100114124443-1234567890-08451234567" "<NONE>" "08451234567" Jan 14 12:44:43.39: [ 3403]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled Jan 14 12:44:43.39: [ 3403]: <-- [4:ATA\r] Jan 14 12:44:47.11: [ 3403]: --> [7:CONNECT] Jan 14 12:44:47.11: [ 3403]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX0' Jan 14 12:44:47.11: [ 3403]: STATE CHANGE: ANSWERING -> RECEIVING Jan 14 12:44:47.11: [ 3403]: RECV FAX: begin Jan 14 12:44:47.12: [ 3403]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 6C> Jan 14 12:44:47.12: [ 3403]: <-- data [32] Jan 14 12:44:47.12: [ 3403]: <-- data [2] Jan 14 12:44:48.07: [ 3403]: --> [7:CONNECT] Jan 14 12:44:48.07: [ 3403]: <-- HDLC<23:FF C0 02 B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04 04> Jan 14 12:44:48.07: [ 3403]: <-- data [23] Jan 14 12:44:48.07: [ 3403]: <-- data [2] Jan 14 12:44:48.81: [ 3403]: --> [7:CONNECT] Jan 14 12:44:48.81: [ 3403]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18> Jan 14 12:44:48.81: [ 3403]: <-- data [13] Jan 14 12:44:48.81: [ 3403]: <-- data [2] Jan 14 12:44:49.39: [ 3403]: --> [2:OK] Jan 14 12:44:49.39: [ 3403]: <-- [9:AT+FRH=3\r] Jan 14 12:44:56.39: [ 3403]: --> [0:] Jan 14 12:44:56.39: [ 3403]: MODEM <Empty line> Jan 14 12:44:56.39: [ 3403]: MODEM TIMEOUT: waiting for v.21 carrier Jan 14 12:44:56.39: [ 3403]: <-- data [1] Jan 14 12:44:56.39: [ 3403]: --> [2:OK] Jan 14 12:44:56.39: [ 3403]: <-- [9:AT+FRS=7\r] Jan 14 12:45:26.39: [ 3403]: MODEM TIMEOUT: reading line from modem Jan 14 12:45:26.39: [ 3403]: MODEM <Timeout> Jan 14 12:45:26.39: [ 3403]: Failure to receive silence (synchronization failure). Jan 14 12:45:26.39: [ 3403]: <-- data [1] Jan 14 12:45:26.41: [ 3403]: --> [2:OK] Jan 14 12:45:26.41: [ 3403]: RECV FAX: Failure to receive silence (synchronization failure). Jan 14 12:45:26.41: [ 3403]: RECV FAX: end Jan 14 12:45:26.41: [ 3403]: Failure to receive silence (synchronization failure). Jan 14 12:45:26.41: [ 3403]: SESSION END I've tried starting hylafax with -o instead of -i but that makes no difference either. I previously had hylafax-6.0.4 and iaxmodem-1.2.0 but was getting the same problem. Any ideas? -- Cheers, Kingsley.
Kingsley Tart wrote: try several fax machines and see if you get the same results> Hi, > > I'm trying to receive faxes using hylafax / iaxmodem but I just can't > get it to work. We're using Sangoma E1 cards and have calls coming in > over PSTN. I've tried turning hardware echo cancellation off but it > makes no difference. This is what I get in /var/spool/hylafax/log: > > [root at faxhost log]# cat c000000003 > Jan 14 12:44:43.39: [ 3403]: SESSION BEGIN 000000003 18005551212 > Jan 14 12:44:43.39: [ 3403]: HylaFAX (tm) Version 4.4.6 > Jan 14 12:44:43.39: [ 3403]: CallID: "1234567890" "/var/spool/asterisk/fax/20100114124443-1234567890-08451234567" "<NONE>" "08451234567" > Jan 14 12:44:43.39: [ 3403]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled > Jan 14 12:44:43.39: [ 3403]: <-- [4:ATA\r] > Jan 14 12:44:47.11: [ 3403]: --> [7:CONNECT] > Jan 14 12:44:47.11: [ 3403]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX0' > Jan 14 12:44:47.11: [ 3403]: STATE CHANGE: ANSWERING -> RECEIVING > Jan 14 12:44:47.11: [ 3403]: RECV FAX: begin > Jan 14 12:44:47.12: [ 3403]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 6C> > Jan 14 12:44:47.12: [ 3403]: <-- data [32] > Jan 14 12:44:47.12: [ 3403]: <-- data [2] > Jan 14 12:44:48.07: [ 3403]: --> [7:CONNECT] > Jan 14 12:44:48.07: [ 3403]: <-- HDLC<23:FF C0 02 B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04 04> > Jan 14 12:44:48.07: [ 3403]: <-- data [23] > Jan 14 12:44:48.07: [ 3403]: <-- data [2] > Jan 14 12:44:48.81: [ 3403]: --> [7:CONNECT] > Jan 14 12:44:48.81: [ 3403]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18> > Jan 14 12:44:48.81: [ 3403]: <-- data [13] > Jan 14 12:44:48.81: [ 3403]: <-- data [2] > Jan 14 12:44:49.39: [ 3403]: --> [2:OK] > Jan 14 12:44:49.39: [ 3403]: <-- [9:AT+FRH=3\r] > Jan 14 12:44:56.39: [ 3403]: --> [0:] > Jan 14 12:44:56.39: [ 3403]: MODEM <Empty line> > Jan 14 12:44:56.39: [ 3403]: MODEM TIMEOUT: waiting for v.21 carrier > Jan 14 12:44:56.39: [ 3403]: <-- data [1] > Jan 14 12:44:56.39: [ 3403]: --> [2:OK] > Jan 14 12:44:56.39: [ 3403]: <-- [9:AT+FRS=7\r] > Jan 14 12:45:26.39: [ 3403]: MODEM TIMEOUT: reading line from modem > Jan 14 12:45:26.39: [ 3403]: MODEM <Timeout> > Jan 14 12:45:26.39: [ 3403]: Failure to receive silence (synchronization failure). > Jan 14 12:45:26.39: [ 3403]: <-- data [1] > Jan 14 12:45:26.41: [ 3403]: --> [2:OK] > Jan 14 12:45:26.41: [ 3403]: RECV FAX: Failure to receive silence (synchronization failure). > Jan 14 12:45:26.41: [ 3403]: RECV FAX: end > Jan 14 12:45:26.41: [ 3403]: Failure to receive silence (synchronization failure). > Jan 14 12:45:26.41: [ 3403]: SESSION END > > I've tried starting hylafax with -o instead of -i but that makes no > difference either. I previously had hylafax-6.0.4 and iaxmodem-1.2.0 but > was getting the same problem. > > Any ideas? > >
Kingsley Tart wrote:> Hi, > > I'm trying to receive faxes using hylafax / iaxmodem but I just can't > get it to work. We're using Sangoma E1 cards and have calls coming in >Without seeing your config files for iaxmodem and hylafax and also seeing a dialplan snippet on how you're launching calls from Asterisk to hylafax, it's not going to be easy to help you. Doug
Kingsley Tart wrote:> Jan 14 12:44:49.39: [ 3403]: <-- [9:AT+FRH=3\r] > Jan 14 12:44:56.39: [ 3403]: --> [0:] > Jan 14 12:44:56.39: [ 3403]: MODEM <Empty line> > Jan 14 12:44:56.39: [ 3403]: MODEM TIMEOUT: waiting for v.21 carrier > Jan 14 12:44:56.39: [ 3403]: <-- data [1] > Jan 14 12:44:56.39: [ 3403]: --> [2:OK] >iaxmodem cannot "hear" any fax signaling in the call.> Jan 14 12:44:56.39: [ 3403]: <-- [9:AT+FRS=7\r] > Jan 14 12:45:26.39: [ 3403]: MODEM TIMEOUT: reading line from modem > Jan 14 12:45:26.39: [ 3403]: MODEM <Timeout> > Jan 14 12:45:26.39: [ 3403]: Failure to receive silence (synchronization failure). > Jan 14 12:45:26.39: [ 3403]: <-- data [1] > Jan 14 12:45:26.41: [ 3403]: --> [2:OK]However, there is *some* kind of audio on the call. It would seem that this test call is producing some kind of long-duration bad audio sounds which are not detectable by the modem as fax. Thanks, Lee.