HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] caller ID issue
Thanks Lee,
I just tried Class 1 - now I can receive the fax, but seems I don't get the
callerID at all.
This is the config file I'm trying.
CountryCode: 1
AreaCode: 416
FAXNumber: +1.416.xxx.xxxx
LongDistancePrefix: 1InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 2
SpeakerVolume: yes
GettyArgs: "-h %l dx_%s"
LocalIdentifier: FAX
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
ModemResetCmds: AT#CID=1
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # hardware flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or
not)
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow
control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow
control
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemMfrQueryCmd: !USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX, returns a multi-line result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control
Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow
control
Class1SFLOCmd: "" # modem does this automatically
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd: AT+FCLASS=0&H1&I0&R2 # leave modem in class 0
ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A # force RTS/CTS after change
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd: AT+FNR=1,1,1,0
Regards,
Ivan
----- Original Message -----
From: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
To: "Ivan Petrov" <ivanp@xxxxxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Thursday, December 15, 2005 2:31 PM
Subject: Re: [hylafax-users] caller ID issue
Try switching to Class 1.
Lee.
Ivan Petrov wrote:
Hi,
I am using hylafax 4.2.3 on RHEL 3 (updater 6) with a US Robotics
Sportster 56K modem. My line has caller ID option. I am having problems
receiving faxes if I enable caller ID in modem config file. Here is what
I add to the modem config file (I also switched to answer on 2 ring so I
can get the caller ID info):
ModemResetCmds: AT#CID=1
When enabled - here is what happens: in hylafax log file I get:
Dec 15 13:25:50.50: [ 4553]: SESSION BEGIN 000000053 14166075301
Dec 15 13:25:50.50: [ 4553]: HylaFAX (tm) Version 4.2.3
Dec 15 13:25:50.50: [ 4553]: CallID: "4165555555" "COMPANYNAME"
Dec 15 13:25:50.50: [ 4553]: <-- [4:ATA\r]
Dec 15 13:26:38.57: [ 4553]: --> [4:+FCO]
Dec 15 13:26:38.57: [ 4553]: ANSWER: FAX CONNECTION DEVICE '/dev/modem'
Dec 15 13:26:38.57: [ 4553]: RECV FAX: begin
Dec 15 13:26:41.00: [ 4553]: --> [7:+FHS:74]
Dec 15 13:26:41.00: [ 4553]: REMOTE HANGUP: T.30 T1 timeout after EOM
received (code 74)
Dec 15 13:26:41.01: [ 4553]: --> [2:OK]
Dec 15 13:26:41.01: [ 4553]: RECV FAX: T.30 T1 timeout after EOM received
Dec 15 13:26:41.01: [ 4553]: RECV FAX: end
Dec 15 13:26:41.01: [ 4553]: SESSION END
What happens is sending party closes the call. I tried with couple of
different fax machines - result always the same.
If I only change
ModemResetCmds: AT#CID=0
(disable callerID) I can receive fax without problems.
Anyone have an idea what could be wrong?
Thank you!
Ivan
____________________ 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*