HylaFAX The world's most advanced open source fax server

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

[hylafax-users] no carrier detected



Hello,
 I can't send fax from hylafax-5.1.11  (and iaxmodem-0.3.1) to one fax_machine1, but from fax machine to faxserver I can successfully send faxes. But if I connect another fax_machine2 (behind NAT) to asterisk , and I can send successfully send faxes to fax_machine1.
I have compared SIP traces sending faxes from faxserver and fax_machine2 and didn't see any differencies (whereis more rtp when sending from fax_machine2 and fax_machine1 wants to use T.38, but finally it uses in both way PCMA )....  This is my configs and logs, I hope this help you
 
HYLAFAX CONFIG (using job control):
Modem: \"$fax_modem\"\n";
FAXNumber: \"$a_number\"\n";
LongDistancePrefix: \"1\"\n";
InternationalPrefix: \"011\"\n";
DialStringRules: \"etc/dialrules\"\n";
ServerTracing: \"0xFFF\"\n";
SessionTracing: \"0xFFF\"\n";
RecvFileMode: \"0600\"\n";
LogFileMode: \"0600\"\n";
DeviceMode: \"0600\"\n";
RingsBeforeAnswer: \"0\"\n";
SpeakerVolume: \"off\"\n";
GettyArgs: \"-h %l dx_%s\"\n";
LocalIdentifier: \"$fax_header\"\n";
TagLineFont: \"etc/lutRS18.pcf\"\n";
TagLineFormat: \" %%l|%Y-%m-%d %H:%M:%S|Page %%P of %%T\"\n";
MaxRecvPages: \"200\"\n";
LogFacility: \"local5\"\n";


HYLAFAX LOG:
Dec 19 09:04:20.03: [17871]: SESSION BEGIN 000000182 +180037052390906
Dec 19 09:04:20.03: [17871]: HylaFAX (tm) Version 5.1.11
Dec 19 09:04:20.03: [17871]: SEND FAX: JOB 56 DEST 37052390906 COMMID 000000182 DEVICE '/dev/ttyIAX1' FROM ' giedrius.augys <giedrius.augys@medi
afon.lt>' USER root
Dec 19 09:04:20.03: [17871]: STATE CHANGE: RUNNING -> SENDING
Dec 19 09:04:20.03: [17871]: <-- [12:AT+FCLASS=1\r]
Dec 19 09:04:20.03: [17871]: --> [2:OK]
Dec 19 09:04:20.03: [17871]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Dec 19 09:04:20.03: [17871]: DIAL 37052390906
Dec 19 09:04:20.03: [17871]: <-- [16:ATDT37052390906\r]
Dec 19 09:05:02.71: [17871]: --> [10:NO CARRIER]
Dec 19 09:05:02.71: [17871]: SEND FAILED: JOB 56 DEST 37052390906 ERR No carrier detected {E002}
Dec 19 09:05:02.71: [17871]: SEND FAILED: JOB 56 DEST 37052390906 ERR No carrier detected {E002}; too many attempts to dial
Dec 19 09:05:03.71: [17871]: <-- [5:ATH0\r]
Dec 19 09:05:03.72: [17871]: --> [2:OK]
Dec 19 09:05:03.72: [17871]: MODEM set DTR OFF
Dec 19 09:05:03.72: [17871]: MODEM set baud rate: 0 baud (flow control unchanged)
Dec 19 09:05:03.72: [17871]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Dec 19 09:05:03.72: [17871]: SESSION END


IAXMODEM config:
device          /dev/ttyIAX1
owner           uucp:uucp
mode            660
port            4571
refresh         300
server          127.0.0.1
peername        80001
secret          xxxxxx
cidname         FaxServer 1
cidnumber       80001
codec           alaw
record

IAX config:
[80001]
username=80001
type=friend
host=dynamic
secret=xxxxxx
port=4571
context=faxserver
permit=127.0.0.1
disallow=all
allow=alaw
qualify=yes

SIP config:
[fax_machine2]
type=friend
secret=xxx
host=dynamic
nat=yes
context=test
canreinvite=no
;disallow=all
;allow=alaw
allow=all
qualify=yes



Attachment: 80001-dsp.raw
Description: Binary data

Attachment: 80001-iax.raw
Description: Binary data




Project hosted by iFAX Solutions