HylaFAX The world's most advanced open source fax server

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

sendpage leaves modem in state "Waiting for modem to come ready"



Hello,

after configuring HylaFAX for SMS paging I have the following problem:

I send a page for example with

sendpage -p Eplus12345 "Test"

The page gets delivered. See log below.
But then faxstat reports forever

HylaFAX scheduler on caravaggio.gsf.de: Running
Modem ttyf2 (+49.89.XXXXXXXX): Waiting for modem to come ready

Only a  "killall -HUP faxgetty" seems to reinitialize the modem
to the state "Running and idle".


Session Log:

Oct 30 13:26:29.50: [15486]: SESSION BEGIN 00001136 01771167
Oct 30 13:26:29.50: [15486]: SEND PAGE: JOB 314 DEST 001771167 COMMID 00001136
Oct 30 13:26:29.50: [15486]: MODEM set DTR OFF
Oct 30 13:26:29.50: [15486]: MODEM set baud rate: 0 baud (flow control
unchanged)
Oct 30 13:26:29.50: [15486]: DELAY 2600 ms
Oct 30 13:26:32.10: [15486]: MODEM set DTR ON
Oct 30 13:26:32.10: [15486]: MODEM set baud rate: 38400 baud, input flow
RTS/CTS, output flow RTS/CTS
Oct 30 13:26:32.11: [15486]: MODEM flush i/o
Oct 30 13:26:32.11: [15486]: <-- [39:AT&B1&N0&S0*F0S18=4S38.3=1E0V1Q0S0=0H0\r]
Oct 30 13:26:32.27: [15486]: --> [2:OK]
Oct 30 13:26:32.27: [15486]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Oct 30 13:26:32.28: [15486]: --> [2:OK]
Oct 30 13:26:32.29: [15486]: <-- [5:ATM0\r]
Oct 30 13:26:32.29: [15486]: --> [2:OK]
Oct 30 13:26:32.29: [15486]: MODEM set parity: 8 bits, no parity
Oct 30 13:26:32.29: [15486]: MODEM input buffering enabled
Oct 30 13:26:32.30: [15486]: <-- [12:AT+FCLASS=0\r]
Oct 30 13:26:32.40: [15486]: --> [2:OK]
Oct 30 13:26:32.40: [15486]: <-- [19:AT&K0&N15B0E0&D2N0\r]
Oct 30 13:26:32.51: [15486]: --> [2:OK]
Oct 30 13:26:32.51: [15486]: DIAL 0W01771167
Oct 30 13:26:32.51: [15486]: <-- [15:ATDT0W01771167\r]
Oct 30 13:26:52.62: [15486]: --> [29:CONNECT 38400/V.22  1200/None]
Oct 30 13:26:52.62: [15486]: EXPECT ID (paging central identification)
Oct 30 13:26:52.62: [15486]: <-- <1:\015>
Oct 30 13:26:54.62: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:26:54.62: [15486]: <-- <1:\015>
Oct 30 13:26:56.62: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:26:56.62: [15486]: <-- <1:\015>
Oct 30 13:26:58.62: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:26:58.62: [15486]: <-- <1:\015>
Oct 30 13:27:00.62: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:27:00.62: [15486]: <-- <1:\015>
Oct 30 13:27:02.62: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:27:02.62: [15486]: --> <3:ID=>
Oct 30 13:27:02.62: [15486]: RECV ID ("ID=")
Oct 30 13:27:02.62: [15486]: SEND device identification/login request
Oct 30 13:27:02.62: [15486]: <-- <5:\033PG1\015>
Oct 30 13:27:03.30: [15486]: --> <1:\006>
Oct 30 13:27:03.30: [15486]: RECV ACK (login successful)
Oct 30 13:27:03.40: [15486]: --> <3:\033[p>
Oct 30 13:27:03.40: [15486]: RECV go-ahead (prologue done)
Oct 30 13:27:03.40: [15486]: SEND message block
Oct 30 13:27:03.40: [15486]: <-- <22:\0024917712345\015Test\015\0033<:\015>
Oct 30 13:27:05.48: [15486]: --> <68:Message 916661303 send successful -
message submitted for processing>
Oct 30 13:27:05.48: [15486]: RECV: Message 916661303 send successful - message
submitted for processing
Oct 30 13:27:05.48: [15486]: --> <1:\006>
Oct 30 13:27:05.48: [15486]: RECV ACK (message block accepted)
Oct 30 13:27:05.48: [15486]: <-- <2:\004\015>
Oct 30 13:27:06.14: [15486]: --> <2:\033\004>
Oct 30 13:27:06.14: [15486]: RECV EOT (disconnect)
Oct 30 13:27:06.14: [15486]: SEND PAGE: FROM baudler@lulu.gsf.de TO 001771167
(sent in 0:34)
Oct 30 13:27:06.14: [15486]: <-- [5:ATH0\r]
Oct 30 13:27:11.14: [15486]: MODEM TIMEOUT: reading line from modem
Oct 30 13:27:11.14: [15486]: MODEM <Timeout>
Oct 30 13:27:11.14: [15486]: MODEM input buffering enabled
Oct 30 13:27:11.14: [15486]: MODEM set DTR OFF
Oct 30 13:27:11.14: [15486]: MODEM set baud rate: 0 baud (flow control
unchanged)
Oct 30 13:27:11.14: [15486]: SESSION END


How can I configure the paging system so that it sets the modem back to
normal state like the fax system does?

Any help is welcome...


PS: System is HylaFAX v4.0pl1, running on an SGI O2 with IRIX 6.3

Wolfgang





-- 
----------------------------------------------------------------------
Wolfgang Baudler
mailto:baudler@gsf.de  Tel.: +49.89.31874463
                       Fax.: +49.89.31874243
Home-Page: http://lulu.gsf.de:8888        
----------------------------------------------------------------------
.. Our continuing mission: To seek out knowledge of C, to explore
strange UNIX commands, and to boldly code where no one has man page 4.




Project hosted by iFAX Solutions