![]() |
i still cannot success in receiving both fax / data connections. I just can receive one of them. I did it by this way. * uninstall the old hylafax, remove all old configuration files * install new one by rpm * then i edit the faxsetup, changed "PATH_GETTY=/sbin/mgetty" to "PATH_GETTY=/sbin/agetty" inside /usr/sbin/faxsetup * then ran faxsetup and answered all questions * "GettyArgs: "-h - %s xterm" " inside /var/spool/hylafax/etc/config.ttyS0 * adding following into /var/spool/hylafax/etc/config.ttyS0 " # # inbound for fax and data # AdaptiveAnswer: yes # enable adaptive answer AnswerRotary: "fax data" # answer for fax, then data ModemAnswerCmd: AT+FCLASS=1;A # default is to answer as fax ModemAnswerDataCmd: ATH+FCLASS=0;A # hangup and answer as data Class1RecvIdentTimer: 10000 # timeout fax answer in 10 secs #FaxT1Timer: 7000 " * add following into /etc/inittab " # Fax and Modem Server mo:2345:respawn:/usr/sbin/faxgetty ttyS0 " * then run a command "init q" and "service hylafax restart" * i tested fax function by another computer and phone line, as well it runs hylafax by following " sendfax -n -d XXXXXXXX <<EOF > any test 1 > EOF request id is 7 (group id 7) for host localhost (1 file) " it works. * i used minicom by previous computer and phone line, just dial by atdtXXXXXXXX, log file as " Feb 24 21:23:51.57: [ 1943]: SESSION BEGIN 00000005 852027635318 Feb 24 21:23:51.57: [ 1943]: HylaFAX (tm) Version 4.1.5 Feb 24 21:23:51.57: [ 1943]: <-- [14:AT+FCLASS=1;A\r] Feb 24 21:23:57.78: [ 1943]: --> [7:CONNECT] Feb 24 21:23:57.78: [ 1943]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0' Feb 24 21:23:57.78: [ 1943]: RECV FAX: begin Feb 24 21:23:57.78: [ 1943]: <-- data [23] Feb 24 21:23:57.78: [ 1943]: <-- data [2] Feb 24 21:23:59.46: [ 1943]: --> [7:CONNECT] Feb 24 21:23:59.46: [ 1943]: <-- data [10] Feb 24 21:23:59.46: [ 1943]: <-- data [2] Feb 24 21:24:00.00: [ 1943]: --> [2:OK] Feb 24 21:24:00.00: [ 1943]: <-- [9:AT+FRH=3\r] Feb 24 21:24:03.10: [ 1943]: --> [0:] Feb 24 21:24:03.10: [ 1943]: MODEM <Empty line> Feb 24 21:24:03.10: [ 1943]: <-- data [1] Feb 24 21:24:03.16: [ 1943]: --> [2:OK] Feb 24 21:24:03.16: [ 1943]: DELAY 1500 ms Feb 24 21:24:04.66: [ 1943]: <-- [9:AT+FTH=3\r] Feb 24 21:24:04.70: [ 1943]: --> [7:CONNECT] Feb 24 21:24:04.70: [ 1943]: <-- data [23] Feb 24 21:24:04.70: [ 1943]: <-- data [2] Feb 24 21:24:06.48: [ 1943]: --> [7:CONNECT] Feb 24 21:24:06.48: [ 1943]: <-- data [10] Feb 24 21:24:06.48: [ 1943]: <-- data [2] Feb 24 21:24:07.02: [ 1943]: --> [2:OK] Feb 24 21:24:07.02: [ 1943]: <-- [9:AT+FRH=3\r] Feb 24 21:24:10.13: [ 1943]: --> [0:] Feb 24 21:24:10.13: [ 1943]: MODEM <Empty line> Feb 24 21:24:10.13: [ 1943]: <-- data [1] Feb 24 21:24:10.18: [ 1943]: --> [2:OK] Feb 24 21:24:10.18: [ 1943]: RECV FAX: No answer (T.30 T1 timeout) Feb 24 21:24:10.18: [ 1943]: RECV FAX: end Feb 24 21:24:10.18: [ 1943]: <-- [15:ATH+FCLASS=0;A\r] Feb 24 21:25:21.19: [ 1943]: --> [10:NO CARRIER] Feb 24 21:25:21.19: [ 1943]: ANSWER: Ring detected without successful handshake Feb 24 21:25:21.19: [ 1943]: SESSION END " * i changed AnswerRotary: "fax data" to "AnswerRotary: "data" " in /var/spool/hylafax/etc/config.ttyS0 * run "service hylafax restart" to restart the fax server again to import new configuration * i use minicom to dial in again, but i got following response " atdt27635318 CONNECT 26400/V42BIS mgetty: invalid option -- h NO CARRIER " * could you please give me a indication again? It didn't change getty program from mgetty to agetty, how to change it? Or do my process has something wrong? Please Commant thanks yan ______________________________________________________ HKDict - the latest and easy to use Online Dictionary http://www.hkdict.com ____________________ 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@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*