On Thu, Jan 29, 2009 at 4:36 AM, Siri Vias Khalsa
<sirivias.khalsa@xxxxxxxxxx> wrote:
No carrier detected means that the sending server was unable to negotiate a fax connection.
What could be the reason for this?
Can not lock modem device - does the uucp user (that hylafax normally runs as) have permissions to /dev/ttySX?
User uucp has read and write permission over ttyS0
[root@rhel-4 dev]# ls -hl ttyS0*
crw------- 1 uucp uucp 4, 64 Jan 29 13:57 ttyS0
Any guesses from David.
rgds,
sumit
Its likely either that or a modem command issue - I cant say if your modem config file listed below is the correct one, I dont have a USR modem.
-Siri Vias
On Wed, 2009-01-28 at 13:34 -0600, Sumit Shah wrote:
Siri & David
Does red text be any clue to u.....
what does No carrier detected and Can not lock modem device means .... ?
Have a look at my config file as well...
This is the log of receiving FAX Server
[root@rhca ~]# tail -f /var/log/messages
Jan 28 23:17:39 rhca fstab-sync[4544]: added mount point /media/cdrecorder for /dev/hda
Jan 28 23:18:11 rhca sshd(pam_unix)[4665]: session opened for user root by root(uid=0)
Jan 28 23:18:20 rhca FaxGetty[3680]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.16.39/Configuration Profile... Product type US/Canada External Product ID: 00563002 Options V32bis,V.80,V.34+,V.90,V.92 Fax Options Class 1/Class 2.0 Line Options Caller ID, Distinctive Ring Clock Freq 92.0Mhz EPROM 256k RAM 32k FLASH date 11/21/2002 FLASH rev 11.16.39 DSP date 11/21/2002 DSP rev 11.16.39
Jan 28 23:18:20 rhca FaxGetty[3666]: ANSWER: Can not lock modem device
and
This is the log of Sending FAX Server
Jan 29 06:16:40 localhost FaxSend[3483]: SEND FAX: JOB 104861 DEST 3538223 COMMID 000217805 DEVICE '/dev/ttyS0' FROM 'root <root@xxxxxxxxxxxxxxxxxxxxx>' USER root
Jan 29 06:17:37 localhost FaxSend[3483]: SEND FAILED: JOB 104861 DEST 3538223 ERR No carrier detected
Jan 29 06:17:37 localhost FaxQueuer[2129]: NOTIFY: bin/notify "doneq/q104861" "failed" "1:09"
Jan 29 06:17:37 localhost FaxQueuer[2129]: NOTIFY exit status: 0 (3555)
This is my config file.....
[root@rhca ~]# cat /var/spool/hylafax/etc/config.ttyS0
CountryCode: 981
AreaCode: 5
FAXNumber: +981.7.3538223
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: Pawan_Test_System
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxConsecutiveBadLines: 3
MaxRecvPages: 25
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: xonxoff # software 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
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
Class1ResponseWaitCmd: AT+FRS=1 # wait after sending TCF for response
Class1SwitchingCmd: "<delay\0727>"
[root@rhca ~]#
On Thu, Jan 29, 2009 at 12:21 AM, Siri Vias Khalsa <sirivias.khalsa@xxxxxxxxxx> wrote:
Sumit -
If you made the changes as others on this list suggested - change RingsBeforeAnswer to 1 and then restarted Hylafax, you should look at:
1) is the modem registering a ring?
running faxstat when the phone is ringing will show you that
if not, look at the modem config file, put a real phone on that line and see if it rings or check with the modem manufacturer as necesary
2) is there anything showing up in the logs
if faxstat shows that the modem is ringing, it will log that.
if faxstat is setup to answer, it will log that it is attempting to answer
if it does answer the phone, but no call gets through, you should get an error message that will help in further troubleshooting
again I would check the modem config file if it stops here.
logs - hylafax usually is setup to log to the general syslog ( /var/log/messages in RHEL) the generic details like phone ringing, answering etc
- hylafax has a more detailed session log in /var/spool/hylafax/logs that gets generated if faxgetty answers a call.
Good luck,
-Siri Vias
On Thu, 2009-01-29 at 00:10 +0530, Sumit Shah wrote:
Siri Vias :
i failed to attached the logs right now.... b'coz there is no one in the remote office.... and somebody hook off the phone line from modem....
I will send u tomorrow....
Where else could i check it.....or troubleshoot it....
any help tomorrow will be appreciable...
regards,
sumit
On Wed, Jan 28, 2009 at 11:38 PM, Siri Vias Khalsa <sirivias.khalsa@xxxxxxxxxx> wrote:
What do you get with faxtstat when the phone line is ringing?
Does anything show in the logs when phone rings?
/var/log/messages and /var/spool/hylafax/logs
-Siri Vias
On Wed, 2009-01-28 at 12:04 -0600, Sumit Shah wrote:
> It's running and idle
>
> [root@rhca ~]# faxstat
> HylaFAX scheduler on rhca: Running
> Modem ttyS0 (+33.4.3534587): Running and idle
>
>
> On Wed, Jan 28, 2009 at 11:32 PM, David Forrest <drf@xxxxxxxxxxxxx>
> wrote:
> On Wed, 28 Jan 2009, Sumit Shah wrote:
>
>
> yup it's running
>
>
> [root@rhca ~]# ps ax|grep faxgetty
> *6373 ? Ss 0:00 /usr/sbin/faxgetty ttyS0*
> 9495 pts/1 S+ 0:00 grep faxgetty
>
> What do you get when you run faxstat ?
>
>
>
>
> --
> David Forrest St. Louis, Missouri
>
>
--
-Siri Vias
Siri Vias Khalsa
Verifi, Inc.
Senior Systems Administrator
sirivias.khalsa@xxxxxxxxxx
323-655-5789 x125 office
310-498-3975 cell
--
-Siri Vias
Siri Vias Khalsa
Verifi, Inc.
Senior Systems Administrator
sirivias.khalsa@xxxxxxxxxx 323-655-5789 x125 office 310-498-3975 cell
|
--
-Siri Vias
Siri Vias Khalsa
Verifi, Inc.
Senior Systems Administrator
|