On Tuesday 29 March 2011 18:09:23 H.S.Rai wrote:
On Sat, Mar 26, 2011 at 11:27 PM, jtd jtd@mtnl.net.in wrote:
ATS0=n will autoanswer on the nth ring
Sorry for late response.
It has not worked.
.efax-gtkrc has been reproduced below signature.
I work on Ubuntu, and Modem is USB modem I got with Dell laptop, which is Conexant RD02-D400.
Sorry. The info in my post was incorrect as far as hylfax and auto answer goes. Hylfax MUST use it's own process to auto answer. Therfore you must set ATS0=0 followed by AT&W i.e restore modem back to the manual setting.
in the hylafax config (/etc/hylafax/config.ttyACM0 or whatever your file is)file you have to set RingsBeforeAnswer n (where n is the number of rings before answering).
however this link shows stuff in better detail http://www.hylafax.org/content/Handbook:Advanced_Server_Configuration:Adapti...
Please use minicom At the prompt at ok atS0=3 ok at&W ok
Now dial the number
I tried with and without S0=3, while I guess "RINGS: 3" is doing the same job.
Any help will be very much appreciated, as if it work, I will be able to migrate one office from M$Win to Linux.
-- H.S.Rai
============================ $HOME/.efax-gtkrc, ============================ NAME: tcc NUMBER: 0161 111 111 DEVICE: ttyACM0 LOCK: /var/lock CLASS: 1 PAGE: a4 RES: fine ADDR_IN_HEADER: Yes #DIAL_PREFIX: REDIAL: No REDIAL_INTERVAL: 15 # This defines the number of rings the modem allows to pass before # answering the telephone when in Standby mode. Acceptable values are # 1 to 9. If none is specified, the program defaults to 1.
RINGS: 3 DIALMODE: tone INIT: Z &FE&D2S7=120 &C0 M2L3 S0=3 RESET: Z CAPABILITIES: 1,5,0,2,0,0,0,0 PRINT_CMD: lpr USE_GTKPRINT: Yes PRINT_SHRINK: 98 PRINT_POPUP: Yes PS_VIEWER: gv SOCK_SERVER: Yes SOCK_POPUP: Yes SOCK_SERVER_PORT: 9900 SOCK_CLIENT_ADDRESS: localhost LOG_FILE: /home/gurpreet/faxlog/log FAX_RECEIVED_POPUP: Yes FAX_RECEIVED_EXEC: No