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 + abilis
Hi all,
I'm trying to use Hylafax with iaxmodem both on a debian server, and
an Abilis as PBX.
http://www.abilis.net/fileadmin/tutorial/en/index.php
This is my /etc/iaxmodem/ttyIAX0:
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4569
refresh 300
server XXX.XXX.XXX.XXX
peername hylafax01
secret 123456
cidname Fax1
cidnumber 00390444******
codec alaw
And this is my /var/spool/hylafax/etc/config.ttyIAX0
CountryCode: 39
AreaCode: 0444
FAXNumber: ""
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules.europe
ServerTracing: 0xFFF
SessionTracing: 0xFFF
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "IAXmodem0"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 600
ModemType: Class1 # use this to supply a hint
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 workwell
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
CallIDPattern: "NDID="
Class1JBIGSupport: no
This is my IAX user:
[09:41:33] ABILIS:_d user:hylafax01
Parameter: | Value:
------------------+------------------------------------------------------------
USER: hylafax01
PWD: ***
ACT: YES
IAX: YES
IAX-HOST: XXX.XXX.XXX.XXX
IAX-SRCADD: SYS
IAX-PORT: 4569
IAX-IP-PERMIT: *
IAX-MAXSES-BID: 2
IAX-MAXSES-IN: 0
IAX-MAXSES-OUT: 0
IAX-NUMBER: 444XXXXXX
IAX-CG-NUM: AUTO
IAX-FWD-CG-NUM: CALLER
IAX-ROUTE-BY-SD: NO
IAX-PROVIDE-SG: NO
IAX-CLIP-RULE: SYS
IAX-CONTEXT:
IAX-PROVIDE-NAME: BLANK
IAX-AUTH: SYS
IAX-NETSTATS: SYS
IAX-TRUNK: SYS
IAX-TRUNK-FREQ: SYS
IAX-CHAN-FREQ: SYS
IAX-CPO: SYS
IAX-CPO-STATE: SYS
IAX-CPO-DROP: SYS
IAX-TRANSFER: SYS
IAX-DISC-AUDIO: SYS
IAX-HTML-IN: SYS
IAX-HTML-OUT: SYS
IAX-REM-USER: hylafax01
IAX-REM-PASS: *********
IAX-REM-AUTH: SYS
IAX-REM-REG: NO
-------------------------------------------------------------------------------
http://www.abilis.net/fileadmin/tutorial/en/ch27s02.php#ch.iax2.users
It seems everything ok: iaxmodem registers to Abilis, hylafax
recognize ttyIAX0, but when I try to send a fax this is the result:
lug 28 18:06:59.36: [ 4820]: SESSION BEGIN 000000009 39444XXXXXX
lug 28 18:06:59.36: [ 4820]: HylaFAX (tm) Version 4.3.1
lug 28 18:06:59.36: [ 4820]: SEND FAX: JOB 16 DEST 0444XXXXXX COMMID
000000009 DEVICE '/dev/ttyIAX0' FROM 'xxx <xxx@xxxxxx>' USER faxmaster
lug 28 18:06:59.36: [ 4820]: STATE CHANGE: RUNNING -> SENDING
lug 28 18:06:59.36: [ 4820]: <-- [12:AT+FCLASS=1\r]
lug 28 18:06:59.36: [ 4820]: --> [2:OK]
lug 28 18:06:59.36: [ 4820]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
lug 28 18:06:59.36: [ 4820]: DIAL 0444XXXXXX
lug 28 18:06:59.36: [ 4820]: <-- [15:ATDT0444XXXXXX\r]
lug 28 18:07:46.51: [ 4820]: --> [10:NO CARRIER]
lug 28 18:07:46.51: [ 4820]: SEND FAILED: JOB 16 DEST 0444XXXXXX ERR
No carrier detected
lug 28 18:07:46.51: [ 4820]: <-- [5:ATH0\r]
lug 28 18:07:46.51: [ 4820]: --> [2:OK]
lug 28 18:07:46.51: [ 4820]: MODEM set DTR OFF
lug 28 18:07:46.51: [ 4820]: MODEM set baud rate: 0 baud (flow control
unchanged)
lug 28 18:07:46.51: [ 4820]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
lug 28 18:07:46.51: [ 4820]: SESSION END
On the other side, when I try to call this fax with another fax, this
is the result on the other fax:
lug 28 18:06:06.12: [ 6335]: SESSION BEGIN 000005552 +39444XXXXXX
lug 28 18:06:06.12: [ 6335]: HylaFAX (tm) Version 5.1.11
lug 28 18:06:06.12: [ 6335]: SEND FAX: JOB 1471 DEST 0444XXXXXX COMMID
000005552 DEVICE '/dev/ttyS0' FROM 'xxx <xxx@xxxxxx>' USER fax
lug 28 18:06:06.12: [ 6335]: <-- [9:AT+FLO=2\r]
lug 28 18:06:06.13: [ 6335]: --> [2:OK]
lug 28 18:06:06.13: [ 6335]: <-- [9:AT+FPP=0\r]
lug 28 18:06:06.14: [ 6335]: --> [2:OK]
lug 28 18:06:06.14: [ 6335]: <-- [9:AT+FBO=0\r]
lug 28 18:06:06.15: [ 6335]: --> [2:OK]
lug 28 18:06:06.15: [ 6335]: <-- [10:AT+FCT=30\r]
lug 28 18:06:06.16: [ 6335]: --> [2:OK]
lug 28 18:06:06.16: [ 6335]: <-- [11:AT+FCQ=2,2\r]
lug 28 18:06:06.18: [ 6335]: --> [2:OK]
lug 28 18:06:06.18: [ 6335]: <-- [15:AT+FNR=1,1,1,1\r]
lug 28 18:06:06.19: [ 6335]: --> [2:OK]
lug 28 18:06:06.19: [ 6335]: <-- [9:AT+FIE=0\r]
lug 28 18:06:06.20: [ 6335]: --> [2:OK]
lug 28 18:06:06.20: [ 6335]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
lug 28 18:06:06.23: [ 6335]: --> [2:OK]
lug 28 18:06:06.23: [ 6335]: DIAL 0444XXXXXX
lug 28 18:06:06.23: [ 6335]: <-- [15:ATDT0444XXXXXX\r]
lug 28 18:06:14.48: [ 6335]: --> [4:BUSY]
lug 28 18:06:14.48: [ 6335]: SEND FAILED: JOB 1471 DEST 0444XXXXXX ERR
Busy signal detected {E001}
lug 28 18:06:14.48: [ 6335]: SEND FAILED: JOB 1471 DEST 0444XXXXXX ERR
Busy signal detected {E001}; too many attempts to dial
lug 28 18:06:15.49: [ 6335]: <-- [5:ATH0\r]
lug 28 18:06:15.49: [ 6335]: --> [2:OK]
lug 28 18:06:15.49: [ 6335]: SESSION END
I understand Abilis is not wide spread, but do you understand if I
have to work on hylafax, iaxmodem or abilis to solve the problem?
On which device do you think the problem is?
If it can be useful, I tried to record the iaxmodem raw file, and I
hear the tipical modem sounds on background, but there are other very
loud disturbing sounds.. is this normal?
Thanks,
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*