HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] lastDialFailure:"No carrier detected" - Asterisk + Hylafax via IAXModem



Hi Duncan,

one more question, does version of SpanDSP matter?
I'm using SpandDSP 0.0.2 because I couldn't complie Asterisk with SpanDSP 0.0.3 that comes with iaxmodem.


I checked deamon.log and its something like this:

Apr 4 15:20:15 localhost FaxGetty[6906]: STATE CHANGE: RUNNING -> LISTENING
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [9:DATE=0404]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [9:TIME=1520]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [11:NAME=<NONE>]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [15:NMBR=2212601579]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [11:ANID=<NONE>]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [8:NDID=123]
Apr 4 15:20:15 localhost FaxGetty[6906]: --> [4:RING]
Apr 4 15:20:15 localhost FaxGetty[6906]: ANSWER: Call ID 1 "2212601579"
Apr 4 15:20:15 localhost FaxGetty[6906]: ANSWER: Call ID 2 "<NONE>"
Apr 4 15:20:15 localhost FaxGetty[6906]: ANSWER: Call ID 3 "<NONE>"
Apr 4 15:20:15 localhost FaxGetty[6906]: ANSWER: Call ID 4 "123"
Apr 4 15:20:15 localhost FaxGetty[6906]: STATE CHANGE: LISTENING -> ANSWERING
Apr 4 15:20:19 localhost FaxGetty[6906]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX'
Apr 4 15:20:51 localhost FaxGetty[6906]: Error writing CALL accounting record, dest=+49.221.260.1860
Apr 4 15:20:51 localhost FaxGetty[6906]: <-- [5:ATH0\r]
Apr 4 15:20:51 localhost FaxGetty[6906]: --> [5:ERROR]
Apr 4 15:20:51 localhost FaxGetty[6906]: MODEM Command error
Apr 4 15:20:51 localhost FaxGetty[6906]: MODEM set DTR OFF
Apr 4 15:20:51 localhost FaxGetty[6906]: MODEM set baud rate: 0 baud (flow control unchanged)
Apr 4 15:20:52 localhost FaxGetty[6906]: MODEM set DTR OFF
Apr 4 15:20:52 localhost FaxGetty[6906]: MODEM set baud rate: 0 baud (flow control unchanged)
Apr 4 15:20:52 localhost FaxGetty[6906]: DELAY 75 ms
Apr 4 15:20:52 localhost FaxGetty[6906]: MODEM set DTR ON
Apr 4 15:20:52 localhost FaxGetty[6906]: DELAY 2600 ms
Apr 4 15:20:56 localhost FaxGetty[6906]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Apr 4 15:20:56 localhost FaxGetty[6906]: DELAY 10 ms
Apr 4 15:20:56 localhost FaxGetty[6906]: MODEM flush i/o
Apr 4 15:20:56 localhost FaxGetty[6906]: <-- [4:ATZ\r]
Apr 4 15:20:56 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:56 localhost FaxGetty[6906]: DELAY 3000 ms
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM flush i/o
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATH1\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [4:ATH1]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [10:AT+VCID=1\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [9:AT+VCID=1]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [7:ATS0=0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [6:ATS0=0]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATE0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [4:ATE0]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATV1\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATQ0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [7:ATS8=2\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [8:ATS7=60\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [12:AT+FCLASS=?\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [7:0,1,1.0]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports "Data"
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports "Class 1"
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports "Class 1.0"
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [12:AT+FCLASS=1\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATI3\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [19:www.soft-switch.org]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM: Mfr www.soft-switch.org
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATI0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [7:spandsp]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM: Model spandsp
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [9:AT+FTM=?\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 3.85 line/mm
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 7.7 line/mm
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 15.4 line/mm
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports R16 x 15.4 line/mm
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 200 x 100 dpi
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 200 x 200 dpi
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 200 x 400 dpi
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 300 x 300 dpi
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 2400 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 4800 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 7200 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 9600 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 12000 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 14400 bit/s
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports A4 page width (215 mm)
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports B4 page width (255 mm)
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports A3 page width (303 mm)
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports A4 page length (297 mm)
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports B4 page length (364 mm)
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports unlimited page length
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 1-D MH
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 2-D MR
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 2-D MMR
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports no ECM
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports T.30 Annex A, 64-byte ECM
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports T.30 Annex A, 256-byte ECM
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 0 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 5 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 10 ms, 5 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 10 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 20 ms, 10 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 20 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 40 ms, 20 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM Supports 40 ms/scanline
Apr 4 15:20:59 localhost FaxGetty[6906]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATM0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [9:AT+FAR=1\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: <-- [5:ATH0\r]
Apr 4 15:20:59 localhost FaxGetty[6906]: --> [2:OK]
Apr 4 15:20:59 localhost FaxGetty[6906]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30)



Duncan Turnbull wrote:
Hi Pimjai

I had this skew adjustment before too but it didn't come every time - Lee could explain further and its worth checking the iaxmodem forums but I think the key bit is the remote hangup message

The Unknown DSP control handler: 8 is just a message according to Lee and I get it a lot and it doesn't seem to matter

The bit is despite all the errors etc is that the sending fax hung up first and its most probably because it can't hear the carrier signal - this is reflected in the NO CARRIER message from hylafax.

Dial it from another phone and listen to how loud it is, you can play with the sound levels in Asterix but this is not so much anything to do with hylafax as the telephony network

Check out Zapata.conf which has tx and rx levels - if you are using analog lines (not sure if applies to ISDN) and find and use the ztmonitor tool to get a view of the noise levels It sounds like you need to boost the transmit so the far end hears better but you may also need to bump up the receive for your iaxmodem to hear the far end and then respond. Its a bit of trial and error unless you have proper sound gear

Cheers Duncan

On 5/04/2006, at 12:46 AM, Pimjai Wesnarat wrote:



--
Pimjai Wesnarat
nummerndirekt GmbH
Oskar-Jäger-Str. 125
50825 Köln
Tel.: +49 (0)221 2601571
Fax : +49 (0)221 2601579
http://www.nummerndirekt.de


____________________ 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*




Project hosted by iFAX Solutions