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] patton 2977 configuration



The reason is that AT+VRID=10 is missing.  This could repeat dnis/callerid info. Anyway, thanks for your kind advise.

The following config works quite well after several testing. Fax reception (ced tone is heard) happens in less than 15secs most of the time (for the 2nd call):
RingsBeforeAnswer:      1  
ModemType:              Class1          # use this to supply a hint
ModemFlowControl:       rtscts          # seems to work better than xonxoff
ModemResetCmds: "AT#CID=10"
CallIDPattern:  "NDID="
CallIDPattern:  "NMBR="
ModemRingResponse: "AT+VRID=10"
ModemRingsBeforeResponse: 0

Occasionally, it takes 60secs to begin fax reception (for the 2nd call). Below are the few lines of errors that causes the delay:

****** partial log: begin **********************
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 40 ms, 20 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 40 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: <-- [9:AT+FRM=?\r]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [4:RING]
Feb  7 07:40:06 localhost FaxGetty[4924]: Error parsing "+FRM" query response: "OK"
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:40:06 localhost FaxGetty[4924]: /dev/ttyG0: Can not initialize modem.
Feb  7 07:40:06 localhost FaxGetty[4924]: STATE CHANGE: ANSWERING -> MODEMWAIT (timeout 30)
Feb  7 07:40:37 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:40:37 localhost FaxGetty[4924]: DELAY 75 ms
Feb  7 07:40:37 localhost FaxGetty[4924]: MODEM set DTR ON
*********** partial log: end **************

Pls kindly advise if this could be avoided.

Following is full log:

Feb  7 07:39:49 localhost FaxGetty[4924]: STATE CHANGE: RUNNING -> LISTENING
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [4:RING]
Feb  7 07:39:49 localhost FaxGetty[4924]: <-- [11:AT+VRID=10\r]
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [13:NDID=91239123]
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [13:NMBR=31233123]
Feb  7 07:39:49 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:B"
Feb  7 07:39:49 localhost FaxQueuer[4855]: MODEM ttyG0: BUSY
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [13:NDID=91239123]
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [13:NMBR=31233123]
Feb  7 07:39:49 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:39:49 localhost FaxGetty[4924]: ANSWER: Call ID 1 "9123912391239123"
Feb  7 07:39:49 localhost FaxGetty[4924]: ANSWER: Call ID 2 "3123312331233123"
Feb  7 07:39:49 localhost FaxGetty[4924]: STATE CHANGE: LISTENING -> ANSWERING
Feb  7 07:39:49 localhost FaxGetty[4924]: Apply CanonicalNumber rules to "+1.999.555.1212"
Feb  7 07:39:49 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+1999.555.1212"
Feb  7 07:39:49 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+1999555.1212"
Feb  7 07:39:49 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+19995551212"
Feb  7 07:39:49 localhost FaxGetty[4924]: --> return result "+19995551212"
Feb  7 07:39:49 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:C"9123912391239123","3123312331233123""
Feb  7 07:39:49 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:I000000150"
Feb  7 07:39:49 localhost FaxQueuer[4855]: MODEM ttyG0: COMID 000000150
Feb  7 07:39:54 localhost FaxGetty[4924]: ANSWER: Ring detected without successful handshake
Feb  7 07:39:54 localhost FaxGetty[4924]: <-- [5:ATH0\r]
Feb  7 07:39:54 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:I"
Feb  7 07:39:54 localhost FaxQueuer[4855]: MODEM ttyG0: COMID
Feb  7 07:39:54 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:39:54 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:39:55 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:39:55 localhost FaxGetty[4924]: DELAY 75 ms
Feb  7 07:39:55 localhost FaxGetty[4924]: MODEM set DTR ON
Feb  7 07:39:55 localhost FaxGetty[4924]: DELAY 2600 ms
Feb  7 07:39:59 localhost FaxGetty[4924]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS
Feb  7 07:39:59 localhost FaxGetty[4924]: DELAY 10 ms
Feb  7 07:39:59 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:39:59 localhost FaxGetty[4924]: <-- [4:ATZ\r]
Feb  7 07:40:01 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:01 localhost FaxGetty[4924]: DELAY 3000 ms
Feb  7 07:40:04 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:40:04 localhost FaxGetty[4924]: <-- [10:AT#CID=10\r]
Feb  7 07:40:04 localhost FaxGetty[4924]: --> [9:AT#CID=10]
Feb  7 07:40:04 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:04 localhost FaxGetty[4924]: <-- [7:ATS0=0\r]
Feb  7 07:40:04 localhost FaxGetty[4924]: --> [6:ATS0=0]
Feb  7 07:40:04 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:04 localhost FaxGetty[4924]: <-- [5:ATE0\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [4:ATE0]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [5:ATV1\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [5:ATQ0\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [7:ATS8=2\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [8:ATS7=60\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=?\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [11:0,1,2,2.0,8]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: MODEM Supports "Data"
Feb  7 07:40:05 localhost FaxGetty[4924]: MODEM Supports "Class 1"
Feb  7 07:40:05 localhost FaxGetty[4924]: MODEM Supports "Class 2"
Feb  7 07:40:05 localhost FaxGetty[4924]: MODEM Supports "Class 2.0"
Feb  7 07:40:05 localhost FaxGetty[4924]: MODEM Supports "Voice"
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=1\r]
Feb  7 07:40:05 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:05 localhost FaxGetty[4924]: <-- [5:ATI3\r]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [16:V20040309-K56_DS]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM: Mfr V20040309-K56_DS
Feb  7 07:40:06 localhost FaxGetty[4924]: <-- [5:ATI0\r]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [20:Digi RAS modem 56000]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM: Model Digi RAS modem 56000
Feb  7 07:40:06 localhost FaxGetty[4924]: <-- [9:AT+FTM=?\r]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 3.85 line/mm
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 7.7 line/mm
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 15.4 line/mm
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports R16 x 15.4 line/mm
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 200 x 100 dpi
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 200 x 200 dpi
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 200 x 400 dpi
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 300 x 300 dpi
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 2400 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 4800 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 7200 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 9600 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 12000 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 14400 bit/s
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports A4 page width (215 mm)
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports B4 page width (255 mm)
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports A3 page width (303 mm)
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports A4 page length (297 mm)
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports B4 page length (364 mm)
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports unlimited page length
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 1-D MH
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 2-D MR
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 2-D MMR
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports no ECM
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 0 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 5 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 10 ms, 5 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 10 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 20 ms, 10 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 20 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 40 ms, 20 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM Supports 40 ms/scanline
Feb  7 07:40:06 localhost FaxGetty[4924]: <-- [9:AT+FRM=?\r]
Feb  7 07:40:06 localhost FaxGetty[4924]: --> [4:RING]
Feb  7 07:40:06 localhost FaxGetty[4924]: Error parsing "+FRM" query response: "OK"
Feb  7 07:40:06 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:40:06 localhost FaxGetty[4924]: /dev/ttyG0: Can not initialize modem.
Feb  7 07:40:06 localhost FaxGetty[4924]: STATE CHANGE: ANSWERING -> MODEMWAIT (timeout 30)
Feb  7 07:40:37 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:40:37 localhost FaxGetty[4924]: DELAY 75 ms
Feb  7 07:40:37 localhost FaxGetty[4924]: MODEM set DTR ON
Feb  7 07:40:37 localhost FaxGetty[4924]: DELAY 2600 ms
Feb  7 07:40:41 localhost FaxGetty[4924]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS
Feb  7 07:40:41 localhost FaxGetty[4924]: DELAY 10 ms
Feb  7 07:40:41 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:40:41 localhost FaxGetty[4924]: <-- [4:ATZ\r]
Feb  7 07:40:43 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:43 localhost FaxGetty[4924]: DELAY 3000 ms
Feb  7 07:40:46 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:40:46 localhost FaxGetty[4924]: <-- [10:AT#CID=10\r]
Feb  7 07:40:46 localhost FaxGetty[4924]: --> [9:AT#CID=10]
Feb  7 07:40:46 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:46 localhost FaxGetty[4924]: <-- [7:ATS0=0\r]
Feb  7 07:40:46 localhost FaxGetty[4924]: --> [6:ATS0=0]
Feb  7 07:40:46 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:46 localhost FaxGetty[4924]: <-- [5:ATE0\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [4:ATE0]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [5:ATV1\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [5:ATQ0\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [7:ATS8=2\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [8:ATS7=60\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=?\r]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [11:0,1,2,2.0,8]
Feb  7 07:40:47 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:47 localhost FaxGetty[4924]: MODEM Supports "Data"
Feb  7 07:40:47 localhost FaxGetty[4924]: MODEM Supports "Class 1"
Feb  7 07:40:47 localhost FaxGetty[4924]: MODEM Supports "Class 2"
Feb  7 07:40:47 localhost FaxGetty[4924]: MODEM Supports "Class 2.0"
Feb  7 07:40:47 localhost FaxGetty[4924]: MODEM Supports "Voice"
Feb  7 07:40:47 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=1\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:48 localhost FaxGetty[4924]: <-- [5:ATI3\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [16:V20040309-K56_DS]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM: Mfr V20040309-K56_DS
Feb  7 07:40:48 localhost FaxGetty[4924]: <-- [5:ATI0\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [20:Digi RAS modem 56000]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM: Model Digi RAS modem 56000
Feb  7 07:40:48 localhost FaxGetty[4924]: <-- [9:AT+FTM=?\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 3.85 line/mm
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 7.7 line/mm
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 15.4 line/mm
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports R16 x 15.4 line/mm
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 200 x 100 dpi
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 200 x 200 dpi
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 200 x 400 dpi
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 300 x 300 dpi
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 2400 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 4800 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 7200 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 9600 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 12000 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 14400 bit/s
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports A4 page width (215 mm)
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports B4 page width (255 mm)
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports A3 page width (303 mm)
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports A4 page length (297 mm)
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports B4 page length (364 mm)
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports unlimited page length
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 1-D MH
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 2-D MR
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 2-D MMR
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports no ECM
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 0 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 5 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 10 ms, 5 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 10 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 20 ms, 10 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 20 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 40 ms, 20 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Supports 40 ms/scanline
Feb  7 07:40:48 localhost FaxGetty[4924]: <-- [9:AT+FRM=?\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM V20040309-K56_DS Digi RAS modem 56000/
Feb  7 07:40:48 localhost FaxGetty[4924]: <-- [5:ATM0\r]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [4:RING]
Feb  7 07:40:48 localhost FaxGetty[4924]: MODEM Ring
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [13:NDID=91239123]
Feb  7 07:40:48 localhost FaxGetty[4924]: --> [13:NMBR=21232123]
Feb  7 07:40:49 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:49 localhost FaxGetty[4924]: STATE CHANGE: MODEMWAIT -> RUNNING (timeout 30)
Feb  7 07:40:49 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:RPcaf9c77f:ff"
Feb  7 07:40:49 localhost FaxQueuer[4855]: MODEM ttyG0: READY, capabilities Pcaf9c77f:ff
Feb  7 07:40:54 localhost FaxGetty[4924]: STATE CHANGE: RUNNING -> LISTENING
Feb  7 07:40:54 localhost FaxGetty[4924]: --> [4:RING]
Feb  7 07:40:54 localhost FaxGetty[4924]: <-- [11:AT+VRID=10\r]
Feb  7 07:40:54 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:B"
Feb  7 07:40:54 localhost FaxQueuer[4855]: MODEM ttyG0: BUSY
Feb  7 07:40:55 localhost FaxGetty[4924]: --> [13:NDID=91239123]
Feb  7 07:40:55 localhost FaxGetty[4924]: --> [13:NMBR=21232123]
Feb  7 07:40:55 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:40:55 localhost FaxGetty[4924]: ANSWER: Call ID 1 "91239123"
Feb  7 07:40:55 localhost FaxGetty[4924]: ANSWER: Call ID 2 "21232123"
Feb  7 07:40:55 localhost FaxGetty[4924]: STATE CHANGE: LISTENING -> ANSWERING
Feb  7 07:40:55 localhost FaxGetty[4924]: Apply CanonicalNumber rules to "+1.999.555.1212"
Feb  7 07:40:55 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+1999.555.1212"
Feb  7 07:40:55 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+1999555.1212"
Feb  7 07:40:55 localhost FaxGetty[4924]: --> match rule "[^+0-9]+", result now "+19995551212"
Feb  7 07:40:55 localhost FaxGetty[4924]: --> return result "+19995551212"
Feb  7 07:40:55 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:C"91239123","21232123""
Feb  7 07:40:55 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:I000000151"
Feb  7 07:40:55 localhost FaxQueuer[4855]: MODEM ttyG0: COMID 000000151
Feb  7 07:41:01 localhost FaxGetty[4924]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyG0'
Feb  7 07:41:01 localhost FaxQueuer[4855]: FIFO RECV "@ttyG0:B"
Feb  7 07:41:18 localhost FaxGetty[4924]: <-- [5:ATH0\r]
Feb  7 07:41:18 localhost FaxQueuer[4855]: FIFO RECV "@ttyG0:E"
Feb  7 07:41:18 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:I"
Feb  7 07:41:18 localhost FaxQueuer[4855]: MODEM ttyG0: COMID
Feb  7 07:41:18 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:18 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:41:19 localhost FaxGetty[4924]: MODEM set DTR OFF
Feb  7 07:41:19 localhost FaxGetty[4924]: DELAY 75 ms
Feb  7 07:41:19 localhost FaxGetty[4924]: MODEM set DTR ON
Feb  7 07:41:19 localhost FaxGetty[4924]: DELAY 2600 ms
Feb  7 07:41:23 localhost FaxGetty[4924]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS
Feb  7 07:41:23 localhost FaxGetty[4924]: DELAY 10 ms
Feb  7 07:41:23 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:41:23 localhost FaxGetty[4924]: <-- [4:ATZ\r]
Feb  7 07:41:25 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:25 localhost FaxGetty[4924]: DELAY 3000 ms
Feb  7 07:41:28 localhost FaxGetty[4924]: MODEM flush i/o
Feb  7 07:41:28 localhost FaxGetty[4924]: <-- [10:AT#CID=10\r]
Feb  7 07:41:28 localhost FaxGetty[4924]: --> [9:AT#CID=10]
Feb  7 07:41:28 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:28 localhost FaxGetty[4924]: <-- [7:ATS0=0\r]
Feb  7 07:41:28 localhost FaxGetty[4924]: --> [6:ATS0=0]
Feb  7 07:41:28 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:28 localhost FaxGetty[4924]: <-- [5:ATE0\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [4:ATE0]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [5:ATV1\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [5:ATQ0\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [7:ATS8=2\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [8:ATS7=60\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=?\r]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [11:0,1,2,2.0,8]
Feb  7 07:41:29 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:29 localhost FaxGetty[4924]: MODEM Supports "Data"
Feb  7 07:41:29 localhost FaxGetty[4924]: MODEM Supports "Class 1"
Feb  7 07:41:29 localhost FaxGetty[4924]: MODEM Supports "Class 2"
Feb  7 07:41:29 localhost FaxGetty[4924]: MODEM Supports "Class 2.0"
Feb  7 07:41:29 localhost FaxGetty[4924]: MODEM Supports "Voice"
Feb  7 07:41:29 localhost FaxGetty[4924]: <-- [12:AT+FCLASS=1\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: <-- [5:ATI3\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [16:V20040309-K56_DS]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM: Mfr V20040309-K56_DS
Feb  7 07:41:30 localhost FaxGetty[4924]: <-- [5:ATI0\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [20:Digi RAS modem 56000]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM: Model Digi RAS modem 56000
Feb  7 07:41:30 localhost FaxGetty[4924]: <-- [9:AT+FTM=?\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 3.85 line/mm
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 7.7 line/mm
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 15.4 line/mm
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports R16 x 15.4 line/mm
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 200 x 100 dpi
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 200 x 200 dpi
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 200 x 400 dpi
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 300 x 300 dpi
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 2400 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 4800 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 7200 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 9600 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 12000 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 14400 bit/s
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports A4 page width (215 mm)
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports B4 page width (255 mm)
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports A3 page width (303 mm)
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports A4 page length (297 mm)
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports B4 page length (364 mm)
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports unlimited page length
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 1-D MH
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 2-D MR
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 2-D MMR
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports no ECM
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 0 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 5 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 10 ms, 5 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 10 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 20 ms, 10 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 20 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 40 ms, 20 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM Supports 40 ms/scanline
Feb  7 07:41:30 localhost FaxGetty[4924]: <-- [9:AT+FRM=?\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: MODEM V20040309-K56_DS Digi RAS modem 56000/
Feb  7 07:41:30 localhost FaxGetty[4924]: <-- [5:ATM0\r]
Feb  7 07:41:30 localhost FaxGetty[4924]: --> [2:OK]
Feb  7 07:41:30 localhost FaxGetty[4924]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30)
Feb  7 07:41:30 localhost FaxQueuer[4855]: FIFO RECV "+ttyG0:RPcaf9c77f:ff"
Feb  7 07:41:30 localhost FaxQueuer[4855]: MODEM ttyG0: READY, capabilities Pcaf9c77f:ff

Lee Howard <faxguy@xxxxxxxxxxxxxxxx> wrote:
ACL wrote:
> Pls kindly advise.
>
> Below is the log:
> modem setting:
> ModemRingResponse: at#cid=10
> ModemResetCmds: at#cid=10
> ringsbeforeanswer: 2

I did advise already, and you don't seem to be following it. Here's
what I wrote:

Yes, this is very familiar to me. It's been a while since I have
stopped using Patton 2977s... and I don't have their config files around
any more. I seem to recall there being an AT command to "repeat" the
Caller*ID information. Maybe it was AT+VRID. (?) You would put that
command into ModemRingResponse and configure ModemRingsBeforeResponse to
something like 2. Also, you'd want to use CallIDAnswerLength for that
CallIDPattern so that answering is triggered by the Caller*ID
information. RingsBeforeAnswer should be set to 0 or to something
ridiculously high (like 9).

It does seem to be AT#CID=10 and not AT+VRID. But basically...

RingsBeforeAnswer: 7
ModemRingResponse: AT#CID=10
ModemResetCmds: ""
CallIDPattern: "NDID="
CallIDAnswerLength: 8
CallIDPattern: "NMBR="

Here RingsBeforeAnswer is only set to a non-zero number so that it
serves as a fall-back if the DID fails to come through. If you want it
to not answer if the DID does not come through then you set
RingsBeforeAnswer to 0.

Lee.


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.


Project hosted by iFAX Solutions