[Asterisk-Users] Can't recieve Fax: No carrier detected - Asterisk
+ iaxmodem + Hylafaxv --- sorry.wrong log.
Pimjai Wesnarat
pw at nummerndirekt.de
Tue Apr 4 08:19:40 MST 2006
I'm able to recieve fax with pure SpanDSP 0.0.2 + Asterisk successfully
but I have problems with some fax machine so I wanted to try using
HylaFax to recieve Fax instead of SpanDSP hoping that it'll solve my
problem. I'm trying to connect Asterisk with SpanDSP using iaxmodem. My
system looks like this:
ISDN <---> Asterisk <---> IAXModem <---> Hylafax
Asterisk and Hylafax are on the same machine.
I'm trying to connect Asterisk and Hylafax together using IAXModem. I'm
able to forward the fax call from Asterisk to HylaFax by using this line:
exten => fax,1,Dial(IAX2/hylafax-iaxmodem/${NumberCalled},60,);
in iax.conf I set it up like this.
[hylafax-iaxmodem]
type=friend
username=hylafax-iaxmodem
secret=n19d19
host=dynamic
qualify=yes
trunk=yes
context=in-fax
I checked that the faxgetty is running.
I ran faxstat when receiving the fax and the status said: receiving
facsimile
I checked the asterisk CLI, the call is routed to Hylafax as shonw:
-- Executing Dial("Zap/1-1", "IAX2/hylafax-iaxmodem/123|30|") in new
stack
-- Called hylafax-iaxmodem/123
-- Call accepted by 127.0.0.1 (format ulaw)
-- Format for call is ulaw
-- IAX2/hylafax-iaxmodem-16384 is ringing
-- IAX2/hylafax-iaxmodem-16384 answered Zap/1-1
When I sent the fax, I heard the fax signal but then it just stopped and
my fax machine printed out the error page: 'stadard error'
I tried running IAXModem directly and this is what I always got both
send and recieve fax:
[2006-04-04 13:42:22] Adjusting skew to -8150.
[2006-04-04 13:42:22] Adjusting skew to -8200.
[2006-04-04 13:42:22] Adjusting skew to -8250.
[2006-04-04 13:42:23] Adjusting skew to -8300.
[2006-04-04 13:42:23] Adjusting skew to -8350.
[2006-04-04 13:42:23] Adjusting skew to -8400.
[2006-04-04 13:42:23] Adjusting skew to -8450.
[2006-04-04 13:42:23] Adjusting skew to -8500.
[2006-04-04 13:42:23] Adjusting skew to -8550.
[2006-04-04 13:42:23] Adjusting skew to -8600.
[2006-04-04 13:42:23] Adjusting skew to -8650.
[2006-04-04 13:42:24] Adjusting skew to -8700.
[2006-04-04 13:42:24] Adjusting skew to -8750.
[2006-04-04 13:42:24] Adjusting skew to -8800.
[2006-04-04 13:42:24] Adjusting skew to -8850.
[2006-04-04 13:42:24] Adjusting skew to -8900.
[2006-04-04 13:42:24] Adjusting skew to -8950.
[2006-04-04 13:42:24] Adjusting skew to -9000.
[2006-04-04 13:42:24] Adjusting skew to -9050.
[2006-04-04 13:42:25] Adjusting skew to -9100.
[2006-04-04 13:42:25] Adjusting skew to -9150.
[2006-04-04 13:42:25] Adjusting skew to -9200.
[2006-04-04 13:42:25] Adjusting skew to -9250.
[2006-04-04 13:42:25] Adjusting skew to -9300.
[2006-04-04 13:42:25] Adjusting skew to -9350.
[2006-04-04 13:42:25] Adjusting skew to -9400.
[2006-04-04 13:42:25] Adjusting skew to -9450.
[2006-04-04 13:42:25] Adjusting skew to -9500.
[2006-04-04 13:42:26] Adjusting skew to -9550.
[2006-04-04 13:42:26] Adjusting skew to -9600.
[2006-04-04 13:42:26] Adjusting skew to -9650.
[2006-04-04 13:42:26] Adjusting skew to -9700.
[2006-04-04 13:42:26] Adjusting skew to -9750.
[2006-04-04 13:42:26] Adjusting skew to -9800.
[2006-04-04 13:42:26] Adjusting skew to -9850.
[2006-04-04 13:42:26] Adjusting skew to -9900.
[2006-04-04 13:42:27] Adjusting skew to -9950.
[2006-04-04 13:42:27] Adjusting skew to -10000.
[2006-04-04 13:42:27] Adjusting skew to -10050.
[2006-04-04 13:42:27] Adjusting skew to -10100.
[2006-04-04 13:42:27] Adjusting skew to -10150.
[2006-04-04 13:42:27] Adjusting skew to -10200.
[2006-04-04 13:42:27] Adjusting skew to -10250.
[2006-04-04 13:42:27] Adjusting skew to -10300.
[2006-04-04 13:42:28] Adjusting skew to -10350.
[2006-04-04 13:42:28] Adjusting skew to -10400.
[2006-04-04 13:42:28] Adjusting skew to -10450.
[2006-04-04 13:42:28] Adjusting skew to -10500.
[2006-04-04 13:42:28] Adjusting skew to -10550.
[2006-04-04 13:42:28] Adjusting skew to -10600.
[2006-04-04 13:42:28] Adjusting skew to -10650.
[2006-04-04 13:42:28] Adjusting skew to -10700.
[2006-04-04 13:42:28] Adjusting skew to -10750.
[2006-04-04 13:42:29] Adjusting skew to -10800.
[2006-04-04 13:42:29] Adjusting skew to -10850.
[2006-04-04 13:42:29] Adjusting skew to -10900.
[2006-04-04 13:42:29] Adjusting skew to -10950.
[2006-04-04 13:42:29] Adjusting skew to -11000.
[2006-04-04 13:42:29] Adjusting skew to -11050.
[2006-04-04 13:42:29] Adjusting skew to -11100.
[2006-04-04 13:42:29] Adjusting skew to -11150.
[2006-04-04 13:42:30] Adjusting skew to -11200.
[2006-04-04 13:42:30] Adjusting skew to -11250.
[2006-04-04 13:42:30] Adjusting skew to -11300.
[2006-04-04 13:42:30] Adjusting skew to -11350.
[2006-04-04 13:42:30] Adjusting skew to -11400.
[2006-04-04 13:42:30] Adjusting skew to -11450.
[2006-04-04 13:42:30] Adjusting skew to -11500.
[2006-04-04 13:42:30] Adjusting skew to -11550.
[2006-04-04 13:42:31] Adjusting skew to -11600.
[2006-04-04 13:42:31] Adjusting skew to -11650.
[2006-04-04 13:42:31] Adjusting skew to -11700.
[2006-04-04 13:42:31] Adjusting skew to -11750.
[2006-04-04 13:42:31] Adjusting skew to -11800.
[2006-04-04 13:42:31] Adjusting skew to -11850.
[2006-04-04 13:42:31] Adjusting skew to -11900.
[2006-04-04 13:42:31] Adjusting skew to -11950.
[2006-04-04 13:42:31] Adjusting skew to -12000.
[2006-04-04 13:42:32] Adjusting skew to -12050.
[2006-04-04 13:42:32] Adjusting skew to -12100.
[2006-04-04 13:42:32] Adjusting skew to -12150.
[2006-04-04 13:42:32] Adjusting skew to -12200.
[2006-04-04 13:42:32] Adjusting skew to -12250.
[2006-04-04 13:42:32] Adjusting skew to -12300.
[2006-04-04 13:42:32] Adjusting skew to -12350.
[2006-04-04 13:42:32] Adjusting skew to -12400.
[2006-04-04 13:42:33] Adjusting skew to -12450.
[2006-04-04 13:42:33] Adjusting skew to -12500.
[2006-04-04 13:42:33] Adjusting skew to -12550.
[2006-04-04 13:42:33] Adjusting skew to -12600.
[2006-04-04 13:42:33] Adjusting skew to -12650.
[2006-04-04 13:42:33] Adjusting skew to -12700.
[2006-04-04 13:42:33] Adjusting skew to -12750.
[2006-04-04 13:42:33] Adjusting skew to -12800.
[2006-04-04 13:42:34] Adjusting skew to -12850.
[2006-04-04 13:42:34] Adjusting skew to -12900.
[2006-04-04 13:42:34] Adjusting skew to -12950.
[2006-04-04 13:42:34] Adjusting skew to -13000.
[2006-04-04 13:42:34] Adjusting skew to -13050.
[2006-04-04 13:42:34] Adjusting skew to -13100.
[2006-04-04 13:42:34] Adjusting skew to -13150.
[2006-04-04 13:42:34] Adjusting skew to -13200.
[2006-04-04 13:42:34] Adjusting skew to -13250.
[2006-04-04 13:42:35] Adjusting skew to -13300.
[2006-04-04 13:42:35] Adjusting skew to -13350.
[2006-04-04 13:42:35] Adjusting skew to -13400.
[2006-04-04 13:42:35] Adjusting skew to -13450.
[2006-04-04 13:42:35] Adjusting skew to -13500.
[2006-04-04 13:42:35] Adjusting skew to -13550.
[2006-04-04 13:42:35] Adjusting skew to -13600.
[2006-04-04 13:42:35] Adjusting skew to -13650.
[2006-04-04 13:42:36] Adjusting skew to -13700.
[2006-04-04 13:42:36] Adjusting skew to -13750.
[2006-04-04 13:42:36] Adjusting skew to -13800.
[2006-04-04 13:42:36] Adjusting skew to -13850.
[2006-04-04 13:42:36] Adjusting skew to -13900.
[2006-04-04 13:42:36] Adjusting skew to -13950.
[2006-04-04 13:42:36] Adjusting skew to -14000.
[2006-04-04 13:42:36] Adjusting skew to -14050.
[2006-04-04 13:42:37] Adjusting skew to -14100.
[2006-04-04 13:42:37] Adjusting skew to -14150.
[2006-04-04 13:42:37] Adjusting skew to -14200.
[2006-04-04 13:42:37] Adjusting skew to -14250.
[2006-04-04 13:42:37] Adjusting skew to -14300.
[2006-04-04 13:42:37] Adjusting skew to -14350.
[2006-04-04 13:42:37] Adjusting skew to -14400.
[2006-04-04 13:42:37] Adjusting skew to -14450.
[2006-04-04 13:42:37] Adjusting skew to -14500.
[2006-04-04 13:42:38] Adjusting skew to -14550.
[2006-04-04 13:42:38] Adjusting skew to -14600.
[2006-04-04 13:42:38] Adjusting skew to -14650.
[2006-04-04 13:42:38] Adjusting skew to -14700.
[2006-04-04 13:42:38] Adjusting skew to -14750.
[2006-04-04 13:42:38] Adjusting skew to -14800.
[2006-04-04 13:42:38] Adjusting skew to -14850.
[2006-04-04 13:42:38] Adjusting skew to -14900.
[2006-04-04 13:42:39] Adjusting skew to -14950.
[2006-04-04 13:42:39] Adjusting skew to -15000.
[2006-04-04 13:42:39] Adjusting skew to -15050.
[2006-04-04 13:42:39] Adjusting skew to -15100.
[2006-04-04 13:42:39] Adjusting skew to -15150.
[2006-04-04 13:42:39] Adjusting skew to -15200.
[2006-04-04 13:42:39] Adjusting skew to -15250.
[2006-04-04 13:42:39] Adjusting skew to -15300.
[2006-04-04 13:42:40] Adjusting skew to -15350.
[2006-04-04 13:42:40] Adjusting skew to -15400.
[2006-04-04 13:42:40] Adjusting skew to -15450.
[2006-04-04 13:42:40] Adjusting skew to -15500.
[2006-04-04 13:42:40] Adjusting skew to -15550.
[2006-04-04 13:42:40] Adjusting skew to -15600.
[2006-04-04 13:42:40] Adjusting skew to -15650.
[2006-04-04 13:42:40] Adjusting skew to -15700.
[2006-04-04 13:42:40] Adjusting skew to -15750.
[2006-04-04 13:42:41] Adjusting skew to -15800.
[2006-04-04 13:42:41] Adjusting skew to -15850.
[2006-04-04 13:42:41] Adjusting skew to -15900.
[2006-04-04 13:42:41] Adjusting skew to -15950.
[2006-04-04 13:42:41] Adjusting skew to -16000.
[2006-04-04 13:42:41] Adjusting skew to -16050.
[2006-04-04 13:42:41] Adjusting skew to -16100.
[2006-04-04 13:42:41] Adjusting skew to -16150.
[2006-04-04 13:42:42] Adjusting skew to -16200.
[2006-04-04 13:42:42] Adjusting skew to -16250.
[2006-04-04 13:42:42] Adjusting skew to -16300.
[2006-04-04 13:42:42] Adjusting skew to -16350.
[2006-04-04 13:42:42] Adjusting skew to -16400.
[2006-04-04 13:42:42] Adjusting skew to -16450.
[2006-04-04 13:42:42] Adjusting skew to -16500.
[2006-04-04 13:42:42] Adjusting skew to -16550.
[2006-04-04 13:42:43] Adjusting skew to -16600.
[2006-04-04 13:42:43] Adjusting skew to -16650.
[2006-04-04 13:42:43] Adjusting skew to -16700.
[2006-04-04 13:42:43] Adjusting skew to -16750.
[2006-04-04 13:42:43] Adjusting skew to -16800.
[2006-04-04 13:42:43] Adjusting skew to -16850.
[2006-04-04 13:42:43] Adjusting skew to -16900.
[2006-04-04 13:42:43] Adjusting skew to -16950.
[2006-04-04 13:42:43] Adjusting skew to -17000.
[2006-04-04 13:42:44] Adjusting skew to -17050.
[2006-04-04 13:42:44] Adjusting skew to -17100.
[2006-04-04 13:42:44] Adjusting skew to -17150.
[2006-04-04 13:42:44] Adjusting skew to -17200.
[2006-04-04 13:42:44] Adjusting skew to -17250.
[2006-04-04 13:42:44] Adjusting skew to -17300.
[2006-04-04 13:42:44] Adjusting skew to -17350.
[2006-04-04 13:42:44] Adjusting skew to -17400.
[2006-04-04 13:42:45] Adjusting skew to -17450.
[2006-04-04 13:42:45] Adjusting skew to -17500.
[2006-04-04 13:42:45] Adjusting skew to -17550.
[2006-04-04 13:42:45] Adjusting skew to -17600.
[2006-04-04 13:42:45] Adjusting skew to -17650.
[2006-04-04 13:42:45] Adjusting skew to -17700.
[2006-04-04 13:42:45] Adjusting skew to -17750.
[2006-04-04 13:42:45] Adjusting skew to -17800.
[2006-04-04 13:42:46] Adjusting skew to -17850.
[2006-04-04 13:42:46] Adjusting skew to -17900.
[2006-04-04 13:42:46] Adjusting skew to -17950.
[2006-04-04 13:42:46] Adjusting skew to -18000.
[2006-04-04 13:42:46] Adjusting skew to -18050.
[2006-04-04 13:42:46] Adjusting skew to -18100.
[2006-04-04 13:42:46] Adjusting skew to -18150.
[2006-04-04 13:42:46] Adjusting skew to -18200.
[2006-04-04 13:42:46] Adjusting skew to -18250.
[2006-04-04 13:42:47] Adjusting skew to -18300.
[2006-04-04 13:42:47] Adjusting skew to -18350.
[2006-04-04 13:42:47] Adjusting skew to -18400.
[2006-04-04 13:42:47] Adjusting skew to -18450.
[2006-04-04 13:42:47] Adjusting skew to -18500.
[2006-04-04 13:42:47] Adjusting skew to -18550.
[2006-04-04 13:42:47] Adjusting skew to -18600.
[2006-04-04 13:42:47] Adjusting skew to -18650.
[2006-04-04 13:42:48] Adjusting skew to -18700.
[2006-04-04 13:42:48] Adjusting skew to -18750.
[2006-04-04 13:42:48] Adjusting skew to -18800.
[2006-04-04 13:42:48] Adjusting skew to -18850.
[2006-04-04 13:42:48] Adjusting skew to -18900.
[2006-04-04 13:42:48] Remote hangup.
[2006-04-04 13:42:48] Unknown DSP control handler: 8
[2006-04-04 13:42:48] Hanging Up
I checked the daemon.log and this is what I've got.
Apr 04 16:49:15.86: [ 6110]: SESSION BEGIN 000000018 492212601860
Apr 04 16:49:15.86: [ 6110]: HylaFAX (tm) Version 4.2.5
Apr 04 16:49:15.86: [ 6110]: CallID: "2212601579" "<NONE>" "<NONE>" "123"
Apr 04 16:49:15.86: [ 6110]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
Apr 04 16:49:15.86: [ 6110]: <-- [4:ATA\r]
Apr 04 16:49:19.96: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:19.96: [ 6110]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX'
Apr 04 16:49:19.96: [ 6110]: STATE CHANGE: ANSWERING -> RECEIVING
Apr 04 16:49:19.96: [ 6110]: RECV FAX: begin
Apr 04 16:49:19.97: [ 6110]: <-- HDLC<32:FF C0 04 AD 00 55 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 4C 74 AC>
Apr 04 16:49:19.97: [ 6110]: <-- data [32]
Apr 04 16:49:19.97: [ 6110]: <-- data [2]
Apr 04 16:49:21.04: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:21.04: [ 6110]: <-- 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>
Apr 04 16:49:21.04: [ 6110]: <-- data [23]
Apr 04 16:49:21.04: [ 6110]: <-- data [2]
Apr 04 16:49:21.88: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:21.88: [ 6110]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Apr 04 16:49:21.88: [ 6110]: <-- data [13]
Apr 04 16:49:21.88: [ 6110]: <-- data [2]
Apr 04 16:49:22.48: [ 6110]: --> [2:OK]
Apr 04 16:49:22.48: [ 6110]: <-- [9:AT+FRH=3\r]
Apr 04 16:49:29.49: [ 6110]: --> [0:]
Apr 04 16:49:29.49: [ 6110]: MODEM <Empty line>
Apr 04 16:49:29.49: [ 6110]: MODEM TIMEOUT: waiting for v.21 carrier
Apr 04 16:49:29.49: [ 6110]: <-- data [1]
Apr 04 16:49:29.51: [ 6110]: --> [2:OK]
Apr 04 16:49:29.51: [ 6110]: DELAY 1500 ms
Apr 04 16:49:31.01: [ 6110]: <-- [9:AT+FTH=3\r]
Apr 04 16:49:31.03: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:31.03: [ 6110]: <-- HDLC<32:FF C0 04 AD 00 55 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 4C 74 AC>
Apr 04 16:49:31.03: [ 6110]: <-- data [32]
Apr 04 16:49:31.03: [ 6110]: <-- data [2]
Apr 04 16:49:33.29: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:33.29: [ 6110]: <-- 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>
Apr 04 16:49:33.29: [ 6110]: <-- data [23]
Apr 04 16:49:33.29: [ 6110]: <-- data [2]
Apr 04 16:49:34.13: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:34.13: [ 6110]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Apr 04 16:49:34.13: [ 6110]: <-- data [13]
Apr 04 16:49:34.13: [ 6110]: <-- data [2]
Apr 04 16:49:34.73: [ 6110]: --> [2:OK]
Apr 04 16:49:34.73: [ 6110]: <-- [9:AT+FRH=3\r]
Apr 04 16:49:41.73: [ 6110]: --> [0:]
Apr 04 16:49:41.73: [ 6110]: MODEM <Empty line>
Apr 04 16:49:41.73: [ 6110]: MODEM TIMEOUT: waiting for v.21 carrier
Apr 04 16:49:41.73: [ 6110]: <-- data [1]
Apr 04 16:49:41.75: [ 6110]: --> [2:OK]
Apr 04 16:49:41.75: [ 6110]: DELAY 1500 ms
Apr 04 16:49:43.25: [ 6110]: <-- [9:AT+FTH=3\r]
Apr 04 16:49:43.27: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:43.27: [ 6110]: <-- HDLC<32:FF C0 04 AD 00 55 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 4C 74 AC>
Apr 04 16:49:43.27: [ 6110]: <-- data [32]
Apr 04 16:49:43.27: [ 6110]: <-- data [2]
Apr 04 16:49:45.53: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:45.53: [ 6110]: <-- 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>
Apr 04 16:49:45.53: [ 6110]: <-- data [23]
Apr 04 16:49:45.53: [ 6110]: <-- data [2]
Apr 04 16:49:46.37: [ 6110]: --> [7:CONNECT]
Apr 04 16:49:46.37: [ 6110]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Apr 04 16:49:46.37: [ 6110]: <-- data [13]
Apr 04 16:49:46.37: [ 6110]: <-- data [2]
Apr 04 16:49:46.97: [ 6110]: --> [2:OK]
Apr 04 16:49:46.97: [ 6110]: <-- [9:AT+FRH=3\r]
Apr 04 16:49:49.04: [ 6110]: --> [10:NO CARRIER]
Apr 04 16:49:49.04: [ 6110]: MODEM No carrier
Apr 04 16:49:49.04: [ 6110]: DELAY 1500 ms
Apr 04 16:49:50.54: [ 6110]: <-- [9:AT+FTH=3\r]
Apr 04 16:49:50.54: [ 6110]: --> [10:NO CARRIER]
Apr 04 16:49:50.54: [ 6110]: DELAY 1500 ms
Apr 04 16:49:52.04: [ 6110]: <-- [9:AT+FTH=3\r]
Apr 04 16:49:52.04: [ 6110]: --> [5:ERROR]
Apr 04 16:49:52.04: [ 6110]: RECV FAX: RSPREC error/got EOT
Apr 04 16:49:52.04: [ 6110]: RECV FAX: end
Apr 04 16:49:52.04: [ 6110]: SESSION END
I'm using Asterisk 1.2.6, spanDSP 0.0.2 pre 25.
I build iaxmodem using static option and I'm using the newest version of
iaxmodem presents.
I'm running it on Dabien.
It said No carrier detected but I'm confused.
I'm able to recieve fax with SpanDSP just fine using the same testing
machine -- is it really that the signal is too weak? Or did I did some
configuration wrong??
Could anyone give me a clue of what I should do to fix this problem??
Greetings,
Pim
More information about the asterisk-users
mailing list