HylaFAX The world's most advanced open source fax server

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

[hylafax-users] IXO/TAP messaging




It seems that the paging provider that I use (Clearnet, in Calgary, AB),
doesn't like receiving \012 characters in pages.  Is there an easy way
to make hylafax translate \012's to \015's or just annihilate them?

btw, I'm not on this list, so it would be much appreciated if you could
reply to me off list.

Here's a log of a failed page:

Feb 16 21:18:18.40: [25733]: SESSION BEGIN 00086783 1403<snip>
Feb 16 21:18:18.40: [25733]: SEND PAGE: JOB 14342 DEST <snip> COMMID 00086783
Feb 16 21:18:18.41: [25733]: MODEM set DTR OFF
Feb 16 21:18:18.41: [25733]: DELAY 2600 ms
Feb 16 21:18:21.01: [25733]: MODEM set DTR ON
Feb 16 21:18:21.01: [25733]: MODEM set baud rate: 2400 baud, input flow RTS/CTS, output flow RTS/CTS
Feb 16 21:18:21.01: [25733]: MODEM flush i/o
Feb 16 21:18:21.01: [25733]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Feb 16 21:18:21.25: [25733]: --> [16:ATE0V1Q0X4S0=0H0]
Feb 16 21:18:21.25: [25733]: --> [2:OK]
Feb 16 21:18:21.25: [25733]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Feb 16 21:18:21.55: [25733]: --> [2:OK]
Feb 16 21:18:21.55: [25733]: <-- [5:ATM0\r]
Feb 16 21:18:21.74: [25733]: --> [2:OK]
Feb 16 21:18:21.74: [25733]: MODEM set parity: 7 bits, even parity
Feb 16 21:18:21.74: [25733]: STATE CHANGE: RUNNING -> SENDING
Feb 16 21:18:21.74: [25733]: MODEM input buffering enabled
Feb 16 21:18:21.75: [25733]: <-- [12:AT+FCLASS=0\r]
Feb 16 21:18:22.06: [25733]: --> [2:OK]
Feb 16 21:18:22.06: [25733]: DIAL <snip>
Feb 16 21:18:22.06: [25733]: <-- [14:ATX4DT<snip>\r]
Feb 16 21:18:38.75: [25733]: --> [16:CONNECT 2400/ARQ]
Feb 16 21:18:38.75: [25733]: EXPECT ID (paging central identification)
Feb 16 21:18:38.75: [25733]: <-- <1:\015>
Feb 16 21:18:39.10: [25733]: --> <3:ID=>
Feb 16 21:18:39.10: [25733]: RECV ID ("ID=")
Feb 16 21:18:39.10: [25733]: SEND device identification/login request
Feb 16 21:18:39.10: [25733]: <-- <5:\033PG1\015>
Feb 16 21:18:39.57: [25733]: --> <1:\006>
Feb 16 21:18:39.57: [25733]: RECV ACK (login successful)
Feb 16 21:18:39.57: [25733]: --> <3:\033[p>
Feb 16 21:18:39.57: [25733]: RECV go-ahead (prologue done)
Feb 16 21:18:39.57: [25733]: SEND message block
Feb 16 21:18:39.57: [25733]: <-- <23:\002xxxxxxxxxx\015blah\012\015\0033<6\015>
Feb 16 21:18:40.14: [25733]: --> <1:\025>
Feb 16 21:18:40.14: [25733]: RECV NAK (message block rejected)
Feb 16 21:18:40.14: [25733]: SEND message block (retransmit)
Feb 16 21:18:40.14: [25733]: <-- <23:\002xxxxxxxxxx\015blah\012\015\0033<6\015>
Feb 16 21:18:40.14: [25733]: RECVunknown paging central response: t
Feb 16 21:18:40.70: [25733]: --> <1:\025>
Feb 16 21:18:40.70: [25733]: RECV NAK (message block rejected)
Feb 16 21:18:40.70: [25733]: SEND message block (retransmit)
Feb 16 21:18:40.70: [25733]: <-- <23:\002xxxxxxxxxx\015blah\012\015\0033<6\015>
Feb 16 21:18:40.70: [25733]: RECVunknown paging central response: t
Feb 16 21:18:41.28: [25733]: --> <1:\025>
Feb 16 21:18:41.28: [25733]: RECV NAK (message block rejected)
Feb 16 21:18:41.28: [25733]: <-- [5:ATH0\r]
Feb 16 21:18:46.28: [25733]: MODEM TIMEOUT: reading line from modem
Feb 16 21:18:46.28: [25733]: MODEM <Timeout>
Feb 16 21:18:46.28: [25733]: STATE CHANGE: SENDING -> MODEMWAIT
Feb 16 21:18:46.28: [25733]: MODEM input buffering enabled
Feb 16 21:18:46.28: [25733]: MODEM set DTR OFF
Feb 16 21:18:46.28: [25733]: SESSION END



Here's a page that worked properly:

Feb 16 19:09:25.83: [23458]: SESSION BEGIN 00086780 1403<snip>
Feb 16 19:09:25.83: [23458]: SEND PAGE: JOB 14333 DEST <snip> COMMID 00086780
Feb 16 19:09:25.83: [23458]: MODEM set DTR OFF
Feb 16 19:09:25.83: [23458]: DELAY 2600 ms
Feb 16 19:09:28.43: [23458]: MODEM set DTR ON
Feb 16 19:09:28.43: [23458]: MODEM set baud rate: 2400 baud, input flow RTS/CTS, output flow RTS/CTS
Feb 16 19:09:28.43: [23458]: MODEM flush i/o
Feb 16 19:09:28.43: [23458]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Feb 16 19:09:28.67: [23458]: --> [16:ATE0V1Q0X4S0=0H0]
Feb 16 19:09:28.67: [23458]: --> [2:OK]
Feb 16 19:09:28.67: [23458]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Feb 16 19:09:28.97: [23458]: --> [2:OK]
Feb 16 19:09:28.97: [23458]: <-- [5:ATM0\r]
Feb 16 19:09:29.16: [23458]: --> [2:OK]
Feb 16 19:09:29.16: [23458]: MODEM set parity: 7 bits, even parity
Feb 16 19:09:29.16: [23458]: STATE CHANGE: RUNNING -> SENDING
Feb 16 19:09:29.16: [23458]: MODEM input buffering enabled
Feb 16 19:09:29.17: [23458]: <-- [12:AT+FCLASS=0\r]
Feb 16 19:09:29.48: [23458]: --> [2:OK]
Feb 16 19:09:29.48: [23458]: DIAL <snip>
Feb 16 19:09:29.48: [23458]: <-- [14:ATX4DT<snip>\r]
Feb 16 19:09:45.24: [23458]: --> [16:CONNECT 2400/ARQ]
Feb 16 19:09:45.24: [23458]: EXPECT ID (paging central identification)
Feb 16 19:09:45.24: [23458]: <-- <1:\015>
Feb 16 19:09:45.59: [23458]: --> <3:ID=>
Feb 16 19:09:45.59: [23458]: RECV ID ("ID=")
Feb 16 19:09:45.59: [23458]: SEND device identification/login request
Feb 16 19:09:45.59: [23458]: <-- <5:\033PG1\015>
Feb 16 19:09:46.09: [23458]: --> <1:\006>
Feb 16 19:09:46.09: [23458]: RECV ACK (login successful)
Feb 16 19:09:46.09: [23458]: --> <3:\033[p>
Feb 16 19:09:46.09: [23458]: RECV go-ahead (prologue done)
Feb 16 19:09:46.09: [23458]: SEND message block
Feb 16 19:09:46.09: [23458]: <-- <26:\002xxxxxxxxxx\015blahblah\015\003553\015>
Feb 16 19:09:46.87: [23458]: --> <1:\006>
Feb 16 19:09:46.87: [23458]: RECV ACK (message block accepted)
Feb 16 19:09:46.87: [23458]: <-- <2:\004\015>
Feb 16 19:09:47.25: [23458]: --> <3:ID=>
Feb 16 19:09:47.25: [23458]: RECV: ID=
Feb 16 19:10:17.25: [23458]: MODEM TIMEOUT: reading line from modem
Feb 16 19:10:17.25: [23458]: <-- [5:ATH0\r]
Feb 16 19:10:22.25: [23458]: MODEM TIMEOUT: reading line from modem
Feb 16 19:10:22.25: [23458]: MODEM <Timeout>
Feb 16 19:10:22.25: [23458]: STATE CHANGE: SENDING -> MODEMWAIT
Feb 16 19:10:22.25: [23458]: MODEM input buffering enabled
Feb 16 19:10:22.25: [23458]: MODEM set DTR OFF
Feb 16 19:10:22.25: [23458]: SESSION END



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




Project hosted by iFAX Solutions