HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Problem with alphanumeric paging Hylafax v4.1 Modem is hanging up to soon.



Could someone please help me with alphanumeric paging. I am running
hylafax on Sparc Solaris system. The hylafax software is version 4.1.
Faxing works fine but not the alphanumeric paging. 

I don't think that this is a modem issue though, since I am able to
connect with the modem via tip, and then send a page manually, using the
same modem initialization string as that in hylafax/etc/pagermap.

Are the config tags IXOService annd IXODevice, strings that need to be
sent to the paging service. In the case of the paging service I am
using, the service first sends something like

TDD's Enter M and RETURN
ID= 

Is this usual for an IXO/TAP paging service?
It looks as though sendpage is getting the text message to hylfax fine,
the modem is connecting to the paging service fine also but the page
fails. The critical part of the session log is listed below. Does anyone
have an idea about what is going wrong? It looks as though the modem is
hanging up before the paging service sends the "ID=" string.

Oct 31 14:32:20.14: [21752]: DIAL 9,3233000
Oct 31 14:32:20.14: [21752]: <-- [14:ATDT9,3233000\r]
Oct 31 14:32:34.00: [21752]: --> [13:ATDT9,3233000]
Oct 31 14:32:34.00: [21752]: PAGE FAILED: Unknown problem (check
modempower)
Oct 31 14:32:34.00: [21752]: <-- [5:ATH0\r] 
Oct 31 14:32:34.00: [21752]: --> [13:CONNECT 38400]
Oct 31 14:32:35.17: [21752]: --> [3:ID=]
Oct 31 14:32:40.18: [21752]: MODEM TIMEOUT: reading line from modem
Oct 31 14:32:40.18: [21752]: MODEM <Timeout>
Oct 31 14:32:40.18: [21752]: STATE CHANGE: SENDING -> MODEMWAIT
Oct 31 14:32:40.18: [21752]: MODEM input buffering enabled
Oct 31 14:32:40.18: [21752]: MODEM set DTR OFF
Oct 31 14:32:40.18: [21752]: SESSION END

Any help would be appreciated. More detailed information is included
below.
Thanks, Steve Brewer


The manual session looks like this.
at
OK
AT&F\Q1E1Q0V1X4\V1S0=0S7=60\N0%B1
OK
atd9,3233000
CONNECT 38400
TDD's Enter M and RETURN   < Are either "ID=" or "M" one of IXOService
IXODeviceID>
ID=                        <At this point I enter "M" and hit return.>
Enter the Pager ID, then RETURN. 
                           <At this point I enter the individual pager's
number, and hit return.>
Enter the Message, then RETURN.
                           <At this point I enter a message string, and
hit return.>
Thank You.
Hangup now, or 
Enter the Pager ID, then RETURN.
NO CARRIER

******************************************************* Now for the
Hylafax situation.
hylafax/etc/pagermap contains the following line:

brewer  9,3233000/7656258

323300 is the number for the paging service
7656258 is the number for the pager.

hylafax/etc/config.cuab contains the following. The pager related things
are at the bottom. I added the the IXO*** things event though most
arejust set to default. There was a previous message on the list that
indicated that double quotes needed to be removed from IXODeviceID: "PG"
and IXODeviceID: "1", so I have done that.

*************************************************** Begin
./etc/config.cuab
CountryCode:            1
AreaCode:               901
FAXNumber:              +1.901.678.4732
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          4096
SessionTracing:         0xFFF
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        moto.288.brewer
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class1          # use class 1 interface
ModemRate:              38400           # locked for fax
sending&receiving
ModemFlowControl:       rtscts          # default
#
ModemNoFlowCmd:         AT\Q0           # disable flow control cmd
ModemSoftFlowCmd:       AT\Q1           # software flow control cmd
ModemHardFlowCmd:       AT\Q3           # hardware flow control cmd
ModemSetupDTRCmd:       AT&D3           # DTR off causes modem to reset
ModemSetupDCDCmd:       AT&C1           # DCD follows carrier
#
ModemMfrQueryCmd:       AT+FMFR?        # Class 2 commands work in Class
0
ModemModelQueryCmd:     AT+FMDL?        # actually shows 144DPI
ModemRevQueryCmd:       AT+FREV?        # firmware revision info
#
ModemDialCmd:           ATDT%s          # T for tone dialing
MaxTries:               1
MaxDials:               1
RingsBeforeAnswer:      5
PagerSetupCmds:         AT&F\Q1E1Q0V1X4\V1S0=0S7=60\N0%B1  
SpeakerVolume:          Low
IXOService:             PG
IXODeviceID:            1
IXOMaxUnknown:          3
IXOIDProbe:             15
IXOIDTimeout:           20
IXOLoginRetries:        3
IXOLoginTimeout:        30
XOGATimeout:           30
IXOXmitRetries:         3
IXOXmitTimeout:         15
IXOAckTimeout:          30
************************************************* End ./etc/config.cuab

This is what the verbose sendpage command looks like.

************************************************************Begin log of
sendpage.
gingar{brewer}54: sendpage -v -p brewer Hylafax Test
Trying localhost (127.0.0.1) at port 444...
Connected to localhost.
220 gingar SNPP server (HylaFAX (tm) Version 4.1) ready.
-> LOGI XXXX
230 User brewer logged in.
-> SITE HELP NOTIFY
218 Syntax: SITE NOTIFY [NONE|DONE|REQUEUE|DONE+REQUEUE]
-> LEVE 1
250 OK, service level 1 accepted.
-> SITE FROMUSER Steve Brewer
250 FROMUSER set to "Steve Brewer".
-> SITE MAXDIALS 12
250 MAXDIALS set to 12.
-> SITE MAXTRIES 3
250 MAXTRIES set to 3.
-> SITE MAILADDR brewer@gingar
250 NOTIFYADDR set to "brewer@gingar".
-> SITE NOTIFY none
250 NOTIFY set to "none".
-> SITE JQUEUE no
250 Job will not be queued.
-> PAGE brewer
250 Pager ID accepted; provider: 9,3233000 pin: 7656258 jobid: 1.
destination pin brewer: request id is 1 for host localhost
-> MESS Hylafax Test
250 Message text OK.
-> SEND
250 Message processing completed.
********************************************************* End log of
sendpage.

Finally here is the Hylafax session log from ./log/c00000002

Oct 31 14:32:14.50: [21752]: SESSION BEGIN 00000002 190193233000
Oct 31 14:32:14.50: [21752]: SEND PAGE: JOB 1 DEST 9,3233000
COMMID00000002
Oct 31 14:32:14.50: [21752]: MODEM set DTR OFF
Oct 31 14:32:14.50: [21752]: DELAY 75 ms
Oct 31 14:32:14.57: [21752]: MODEM set DTR ON
Oct 31 14:32:17.00: [21752]: DELAY 2600 ms
Oct 31 14:32:19.70: [21752]: MODEM set baud rate: 38400 baud, input flow
RTS/CTS, output flow RTS/CTS
Oct 31 14:32:19.70: [21752]: MODEM flush i/o
Oct 31 14:32:19.71: [21752]: <-- [4:ATZ\r]
Oct 31 14:32:19.76: [21752]: --> [3:ATZ]
Oct 31 14:32:19.76: [21752]: --> [2:OK]
Oct 31 14:32:19.76: [21752]: <-- [5:ATE0\r]
Oct 31 14:32:19.77: [21752]: --> [4:ATE0]
Oct 31 14:32:19.77: [21752]: --> [2:OK]
Oct 31 14:32:19.77: [21752]: <-- [5:ATV1\r]
Oct 31 14:32:19.77: [21752]: --> [2:OK]
Oct 31 14:32:19.77: [21752]: <-- [5:ATQ0\r]
Oct 31 14:32:19.78: [21752]: --> [2:OK]
Oct 31 14:32:19.78: [21752]: <-- [7:ATS0=0\r]
Oct 31 14:32:19.79: [21752]: --> [2:OK]
Oct 31 14:32:19.79: [21752]: <-- [7:ATS8=2\r]
Oct 31 14:32:19.80: [21752]: --> [2:OK]
Oct 31 14:32:19.80: [21752]: <-- [8:ATS7=60\r]
Oct 31 14:32:19.80: [21752]: --> [2:OK]
Oct 31 14:32:19.80: [21752]: <-- [6:AT\Q3\r]
Oct 31 14:32:19.81: [21752]: --> [2:OK]
Oct 31 14:32:19.81: [21752]: <-- [6:AT&D3\r]
Oct 31 14:32:19.84: [21752]: --> [2:OK]
Oct 31 14:32:19.84: [21752]: <-- [6:AT&C1\r]
Oct 31 14:32:19.85: [21752]: --> [2:OK]
Oct 31 14:32:19.85: [21752]: <-- [7:ATL1M1\r]
Oct 31 14:32:19.86: [21752]: --> [2:OK]
Oct 31 14:32:19.86: [21752]: MODEM set parity: 7 bits, even parity
Oct 31 14:32:19.86: [21752]: STATE CHANGE: RUNNING -> SENDING
Oct 31 14:32:19.86: [21752]: MODEM input buffering enabled
Oct 31 14:32:19.86: [21752]: <-- [12:AT+FCLASS=0\r]
Oct 31 14:32:19.96: [21752]: --> [2:OK]
Oct 31 14:32:19.96: [21752]: <--
[34:AT&F\Q1E1Q0V1X4\V1S0=0S7=60\N0%B1\r]
Oct 31 14:32:20.14: [21752]: --> [2:OK]
Oct 31 14:32:20.14: [21752]: DIAL 9,3233000
Oct 31 14:32:20.14: [21752]: <-- [14:ATDT9,3233000\r]
Oct 31 14:32:34.00: [21752]: --> [13:ATDT9,3233000]
Oct 31 14:32:34.00: [21752]: PAGE FAILED: Unknown problem (check
modempower)
Oct 31 14:32:34.00: [21752]: <-- [5:ATH0\r]
Oct 31 14:32:34.00: [21752]: --> [13:CONNECT 38400]
Oct 31 14:32:35.17: [21752]: --> [3:ID=]
Oct 31 14:32:40.18: [21752]: MODEM TIMEOUT: reading line from modem
Oct 31 14:32:40.18: [21752]: MODEM <Timeout>
Oct 31 14:32:40.18: [21752]: STATE CHANGE: SENDING -> MODEMWAIT
Oct 31 14:32:40.18: [21752]: MODEM input buffering enabled
Oct 31 14:32:40.18: [21752]: MODEM set DTR OFF
Oct 31 14:32:40.18: [21752]: SESSION END

It looks like the modem is connecting and I am getting the "ID=" string
from the paging service provider, but this comes after PAGE FAILED:
Unknown problem (check modem power).

Has anyone else seen this type of behavior, there must be something
simple that I am doing wrong.
Any help would be greatly appreciated.

Thanks, Steve Brewer
-- 
Stephen I. Brewer (Digital Seismic Systems Supervisor)
brewer@ceri.memphis.edu
  voice:(901)678-4732 fax:(901)678-4734  address: University of Memphis
/ CERI
                                                  3890 Central Ave Ste 1 
                                                  Memphis TN. 38152-3050


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions