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] modem config for apple USB modem



Thank you Lee:

On 2007/10/16, at 21:34, Lee Howard wrote:
Yoshi wrote:

TracingMask: 0
ServerTracing:          0xFFF


Oct 13 09:56:03.69: [   78]: SESSION BEGIN 000000015 ********
Oct 13 09:56:03.69: [   78]: HylaFAX (tm) Version 4.4.0
Oct 13 09:56:03.69: [   78]: <-- [4:ATA\r]
Oct 13 09:56:10.95: [   78]: --> [7:CONNECT]
Oct 13 09:56:14.98: [   78]: --> [5:ERROR]
Oct 13 09:56:14.98: [   78]: MODEM Command error
Oct 13 09:56:14.98: [   78]: ANSWER:
Oct 13 09:56:14.98: [   78]: SESSION END


With TracingMask at 0 and ServerTracing at 0xFFF you should see the byte-by-byte modem communications. (See 'man hylafax-config' under "ServerTracing".)

Lee.

It is a little strange that I couldn't find /var/log/messages on Mac, so I edited modemconfig file to be: SessionTracing: 0xFFF

Then the byte log started to appear in each session log. Thanks.
Then the session log was following:
Oct 18 09:39:05.88: [   87]: SESSION BEGIN 000000023 *********
Oct 18 09:39:05.88: [   87]: HylaFAX (tm) Version 4.4.0
Oct 18 09:39:05.88: [   87]: <-- [4:ATA\r]
Oct 18 09:39:05.88: [   87]: <-- <3:41 54 41>
Oct 18 09:39:05.88: [   87]: <-- <1:0D>
Oct 18 09:39:13.15: [   87]: --> <11:0D 0A 43 4F 4E 4E 45 43 54 0D 0A>
Oct 18 09:39:13.15: [   87]: --> [7:CONNECT]
Oct 18 09:39:17.17: [   87]: --> <9:0D 0A 45 52 52 4F 52 0D 0A>
Oct 18 09:39:17.17: [   87]: --> [5:ERROR]
Oct 18 09:39:17.17: [   87]: MODEM Command error
Oct 18 09:39:17.17: [   87]: ANSWER:
Oct 18 09:39:17.17: [   87]: SESSION END

It seems that the bytes are just conversion from Character to Ascii code.
And then the following is a session log on gentoo server in which
the hylafax works very well, and the log was found in /var/log/messages:


Oct 18 10:16:19 *** FaxGetty[5255]: STATE CHANGE: RUNNING -> LISTENING
Oct 18 10:16:19 *** FaxGetty[5255]: --> <8:0D 0A 52 49 4E 47 0D 0A>
Oct 18 10:16:19 *** FaxGetty[5255]: --> [4:RING]
Oct 18 10:16:19 *** FaxGetty[5255]: STATE CHANGE: LISTENING -> ANSWERING
Oct 18 10:16:25 *** FaxGetty[5255]: ANSWER: FAX CONNECTION DEVICE '/ dev/ttyS1'


And in session log, I could see much communication log.

Does anybody know where the hylafax server tracing log is logged
on Mac OSX?

Yoshi





____________________ 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*




Project hosted by iFAX Solutions