HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Hylafax+Iaxmodem+Asterisk(on different system): Modem No Carrier
Hi all,
I have the following configuration: Hylafax ver.4.4.4, iaxmodem
ver.1.2.0 running under centos 5.5.
The iaxmodem registers successfully with a different IP PBX that is
based on trixbox 2.6.2.3 (Asterisk 1.4) which
is linked to the PSTN.
I cannot receive fax from PSTN, the iaxmodem log is full of " adjusting
skew to" and the log of Hylafax is the following :
Jan 25 11:54:17.40: [ 2687]: HylaFAX (tm) Version 4.4.4
Jan 25 11:54:17.40: [ 2687]: CallID: "00554378117" "" "<NONE>" "s"
Jan 25 11:54:17.40: [ 2687]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
Jan 25 11:54:17.40: [ 2687]: <-- [4:ATA\r]
Jan 25 11:54:21.12: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:21.12: [ 2687]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX2'
Jan 25 11:54:21.12: [ 2687]: STATE CHANGE: ANSWERING -> RECEIVING
Jan 25 11:54:21.12: [ 2687]: RECV FAX: begin
Jan 25 11:54:21.12: [ 2687]: <-- 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 2C>
Jan 25 11:54:21.12: [ 2687]: <-- data [32]
Jan 25 11:54:21.12: [ 2687]: <-- data [2]
Jan 25 11:54:22.04: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:22.04: [ 2687]: <-- HDLC<23:FF C0 02 CC B6 A6 26 F6 B6 1E
86 96 04 04 04 04 04 04 04 04 04 04 04>
Jan 25 11:54:22.04: [ 2687]: <-- data [23]
Jan 25 11:54:22.04: [ 2687]: <-- data [2]
Jan 25 11:54:22.80: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:22.80: [ 2687]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Jan 25 11:54:22.80: [ 2687]: <-- data [13]
Jan 25 11:54:22.80: [ 2687]: <-- data [2]
Jan 25 11:54:23.38: [ 2687]: --> [2:OK]
Jan 25 11:54:23.38: [ 2687]: <-- [9:AT+FRH=3\r]
Jan 25 11:54:25.46: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:27.10: [ 2687]: --> [20:9E E7 79 9E E7 79 9E E7 79 9E E7 79
9E E7 79 9E E7 79 9E E7]
Jan 25 11:54:27.10: [ 2687]: --> [20:79 9E E7 79 9E E7 79 9E E7 79 9E E7
79 9E E7 79 9E E7 79 9E]
Jan 25 11:54:27.10: [ 2687]: --> [20:27 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10]
Jan 25 11:54:27.10: [ 2687]: --> [18:10 10 10 10 10 10 10 10 10 10 10 10
10 90 48 4B 10 03]
Jan 25 11:54:27.10: [ 2687]: --> [5:ERROR]
Jan 25 11:54:27.10: [ 2687]: MODEM Command error
Jan 25 11:54:27.10: [ 2687]: FCS error
Jan 25 11:54:27.10: [ 2687]: DELAY 70 ms
Jan 25 11:54:27.17: [ 2687]: <-- [9:AT+FTH=3\r]
Jan 25 11:54:27.18: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:27.18: [ 2687]: <-- HDLC<3:FF C8 58>
Jan 25 11:54:27.18: [ 2687]: <-- data [3]
Jan 25 11:54:27.18: [ 2687]: <-- data [2]
Jan 25 11:54:28.26: [ 2687]: --> [2:OK]
Jan 25 11:54:28.26: [ 2687]: RECV send CRP (command repeat)
Jan 25 11:54:28.26: [ 2687]: <-- [9:AT+FRH=3\r]
Jan 25 11:54:34.84: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:44.84: [ 2687]: MODEM TIMEOUT: receiving HDLC frame data
Jan 25 11:54:44.84: [ 2687]: <-- data [1]
Jan 25 11:54:44.85: [ 2687]: --> [2:^P^C]
Jan 25 11:54:44.85: [ 2687]: --> [2:OK]
Jan 25 11:54:44.85: [ 2687]: DELAY 70 ms
Jan 25 11:54:44.92: [ 2687]: <-- [9:AT+FTH=3\r]
Jan 25 11:54:44.93: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:44.93: [ 2687]: <-- 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 2C>
Jan 25 11:54:44.93: [ 2687]: <-- data [32]
Jan 25 11:54:44.93: [ 2687]: <-- data [2]
Jan 25 11:54:46.71: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:46.71: [ 2687]: <-- HDLC<23:FF C0 02 CC B6 A6 26 F6 B6 1E
86 96 04 04 04 04 04 04 04 04 04 04 04>
Jan 25 11:54:46.71: [ 2687]: <-- data [23]
Jan 25 11:54:46.71: [ 2687]: <-- data [2]
Jan 25 11:54:47.45: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:47.45: [ 2687]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Jan 25 11:54:47.45: [ 2687]: <-- data [13]
Jan 25 11:54:47.45: [ 2687]: <-- data [2]
Jan 25 11:54:48.03: [ 2687]: --> [2:OK]
Jan 25 11:54:48.03: [ 2687]: <-- [9:AT+FRH=3\r]
Jan 25 11:54:55.03: [ 2687]: --> [0:]
Jan 25 11:54:55.03: [ 2687]: MODEM <Empty line>
Jan 25 11:54:55.03: [ 2687]: MODEM TIMEOUT: waiting for v.21 carrier
Jan 25 11:54:55.03: [ 2687]: <-- data [1]
Jan 25 11:54:55.05: [ 2687]: --> [2:OK]
Jan 25 11:54:55.05: [ 2687]: DELAY 70 ms
Jan 25 11:54:55.12: [ 2687]: <-- [9:AT+FTH=3\r]
Jan 25 11:54:55.13: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:55.13: [ 2687]: <-- 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 2C>
Jan 25 11:54:55.13: [ 2687]: <-- data [32]
Jan 25 11:54:55.13: [ 2687]: <-- data [2]
Jan 25 11:54:56.91: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:56.91: [ 2687]: <-- HDLC<23:FF C0 02 CC B6 A6 26 F6 B6 1E
86 96 04 04 04 04 04 04 04 04 04 04 04>
Jan 25 11:54:56.91: [ 2687]: <-- data [23]
Jan 25 11:54:56.91: [ 2687]: <-- data [2]
Jan 25 11:54:57.65: [ 2687]: --> [7:CONNECT]
Jan 25 11:54:57.65: [ 2687]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1
01 01 18>
Jan 25 11:54:57.65: [ 2687]: <-- data [13]
Jan 25 11:54:57.65: [ 2687]: <-- data [2]
Jan 25 11:54:58.23: [ 2687]: --> [2:OK]
Jan 25 11:54:58.23: [ 2687]: <-- [9:AT+FRH=3\r]
Jan 25 11:54:59.69: [ 2687]: --> [10:NO CARRIER]
Jan 25 11:54:59.69: [ 2687]: MODEM No carrier
Jan 25 11:54:59.69: [ 2687]: DELAY 70 ms
Jan 25 11:54:59.76: [ 2687]: <-- [9:AT+FTH=3\r]
Jan 25 11:54:59.76: [ 2687]: --> [5:ERROR]
Jan 25 11:54:59.76: [ 2687]: RECV FAX: RSPREC error/got EOT
Jan 25 11:54:59.76: [ 2687]: RECV FAX: end
Jan 25 11:54:59.76: [ 2687]: RSPREC error/got EOT
Jan 25 11:54:59.76: [ 2687]: SESSION END
The estension where the iaxmodem "FAX3" registers is the following:
Extension: 5198
secret 5198
notransfer yes
context from-internal
host dynamic
type friend
port 4569
qualify yes
disallow
allow alaw
dial IAX2/5602
deny 0.0.0/0.0.0
permit 0.0.0/0.0.0
in the file
iax_general_custom.conf
calltokenoptional = 0.0.0.0/0.0.0.0
The configuration file of iaxmodem (iaxmodem-cfg.ttyIAX2) is:
device /dev/ttyIAX2
owner uucp:uucp
mode 660
port 4570
refresh 60
server XXX.XXX.XXX
peername 5198
secret 5198
cidname FAX3
cidnumber 055XXXXX
codec alaw
The configuration file of Hylafax (config.ttyIAX2) is
#
# prototype config for the IAXmodem softmodem which uses
# the spandsp soft-DSP library
#
#
CountryCode: 39
AreaCode: 055
FAXNumber: +39055XXXXXX
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 0xFFF
SessionTracing: 0xFFF
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 2
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "iaxmodem3"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
Class1SwitchingCmd: "<delay:7>"
#
# The modem is taken off-hook during initialization, and then
# placed back on-hook when done to prevent glare.
#
ModemResetCmds: "ATH1\nAT+VCID=1" # enables CallID display
ModemReadyCmds: ATH0
Class1AdaptRecvCmd: AT+FAR=1
Class1TMConnectDelay: 400 # counteract quick CONNECT response
Class1RMQueryCmd: "!24,48,72,96" # V.17 fast-train recv doesn't
work well
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
CallIDPattern: "NDID="
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern: "DATE="
#CallIDPattern: "TIME="
Can someone give me some useful hints?
Regards,
Andrea
____________________ 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*