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] redirect fax based on caller ID
Lee Howard wrote:
Please see "*3.6.5 DID, Direct Inward Dialing" here:*
http://hylafax.sourceforge.net/howto/using.php#ss3.6
In order to use the number dialed your modem and telephone line must
be configured and capable of having and sharing that information. If
you have a PBX that can pass the number dialed via DTMF, then please
see the "SHIELDED_DTMF" example here:
Actually I don't really know what my PBX is capable of ? it's a MATRA
6530 L , is there a tool to test what it sends to my modem at a low
level ? For example , I don't know if I have a Direct Inward Dialing
line , how checking it?
I know that faxsetup configured my modem as a class 1 (ModemType: Class1
) which is a good point apparently if I want hylafax to have more
fonctionnalities . in minicom it shows:
at+fclass=?
0,1,2,1.0
ATI0
MT5600ZDXV
OK
ATI3
V2.300-V90_2M_DLS
http://hylafax.sourceforge.net/man/hylafax-config.php
under "CallIDPattern".
OK I will test that as soon as I know if my PBX is capable of sending le
callID through DTMF ... but again how can I check that ?
No. Everything you see on the fax was imaged by the sender, even the
tagline. If you can always trust the sender to put the number dialed
into the tagline then you could possibly use gOCR in your FaxDispatch
script to parse out that information.
OK, but indeed , here I must trust the sender :-( .
If you show me the session log then I could actually see what's going
on, but according to this the sender is identifying itself as "`" in
the fax protocol.
OK, I attache the log file c000000061 + the resultant tif file ,
thanks again for your help .
Lee.
jan 13 16:46:18.71: [15547]: SESSION BEGIN 000000061 33014333
jan 13 16:46:18.71: [15547]: HylaFAX (tm) Version 4.2.3
jan 13 16:46:18.71: [15547]: <-- [4:ATA\r]
jan 13 16:46:24.74: [15547]: --> [7:CONNECT]
jan 13 16:46:24.74: [15547]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1'
jan 13 16:46:24.74: [15547]: RECV FAX: begin
jan 13 16:46:24.74: [15547]: <-- data [32]
jan 13 16:46:24.74: [15547]: <-- data [2]
jan 13 16:46:26.76: [15547]: --> [7:CONNECT]
jan 13 16:46:26.76: [15547]: <-- data [23]
jan 13 16:46:26.76: [15547]: <-- data [2]
jan 13 16:46:27.59: [15547]: --> [7:CONNECT]
jan 13 16:46:27.59: [15547]: <-- data [13]
jan 13 16:46:27.59: [15547]: <-- data [2]
jan 13 16:46:28.24: [15547]: --> [2:OK]
jan 13 16:46:28.24: [15547]: <-- [9:AT+FRH=3\r]
jan 13 16:46:29.09: [15547]: --> [7:CONNECT]
jan 13 16:46:30.51: [15547]: --> [2:OK]
jan 13 16:46:30.51: [15547]: REMOTE TSI "`"
jan 13 16:46:30.51: [15547]: <-- [9:AT+FRH=3\r]
jan 13 16:46:30.53: [15547]: --> [7:CONNECT]
jan 13 16:46:30.81: [15547]: --> [2:OK]
jan 13 16:46:30.81: [15547]: REMOTE wants 9600 bit/s
jan 13 16:46:30.81: [15547]: REMOTE wants A4 page width (215 mm)
jan 13 16:46:30.81: [15547]: REMOTE wants unlimited page length
jan 13 16:46:30.81: [15547]: REMOTE wants 3.85 line/mm
jan 13 16:46:30.81: [15547]: REMOTE wants 2-D MMR
jan 13 16:46:30.81: [15547]: REMOTE wants T.30 Annex A, 256-byte ECM
jan 13 16:46:30.81: [15547]: RECV training at v.29 9600 bit/s
jan 13 16:46:30.81: [15547]: <-- [10:AT+FRM=96\r]
jan 13 16:46:31.15: [15547]: --> [7:CONNECT]
jan 13 16:46:32.73: [15547]: RECV: TCF 1870 bytes, 2% non-zero, 1826 zero-run
jan 13 16:46:32.73: [15547]: --> [10:NO CARRIER]
jan 13 16:46:32.73: [15547]: <-- [9:AT+FRS=7\r]
jan 13 16:46:32.85: [15547]: --> [2:OK]
jan 13 16:46:32.85: [15547]: TRAINING succeeded
jan 13 16:46:32.85: [15547]: <-- [9:AT+FTH=3\r]
jan 13 16:46:32.90: [15547]: --> [7:CONNECT]
jan 13 16:46:32.90: [15547]: <-- data [3]
jan 13 16:46:32.90: [15547]: <-- data [2]
jan 13 16:46:34.22: [15547]: --> [2:OK]
jan 13 16:46:34.23: [15547]: <-- [10:AT+FRM=96\r]
jan 13 16:46:35.05: [15547]: --> [7:CONNECT]
jan 13 16:46:35.58: [15547]: RECV received frame number 0
jan 13 16:46:35.79: [15547]: RECV received frame number 1
jan 13 16:46:36.01: [15547]: RECV received frame number 2
jan 13 16:46:36.22: [15547]: RECV received frame number 3
jan 13 16:46:36.43: [15547]: RECV received frame number 4
jan 13 16:46:36.65: [15547]: RECV received frame number 5
jan 13 16:46:36.86: [15547]: RECV received frame number 6
jan 13 16:46:37.08: [15547]: RECV received frame number 7
jan 13 16:46:37.30: [15547]: RECV received frame number 8
jan 13 16:46:37.50: [15547]: RECV received frame number 9
jan 13 16:46:37.72: [15547]: RECV received frame number 10
jan 13 16:46:37.93: [15547]: RECV received frame number 11
jan 13 16:46:38.14: [15547]: RECV received frame number 12
jan 13 16:46:38.45: [15547]: RECV received frame number 13
jan 13 16:46:38.67: [15547]: RECV received frame number 14
jan 13 16:46:38.87: [15547]: RECV received frame number 15
jan 13 16:46:39.08: [15547]: RECV received frame number 16
jan 13 16:46:39.29: [15547]: RECV received frame number 17
jan 13 16:46:39.49: [15547]: RECV received frame number 18
jan 13 16:46:39.70: [15547]: RECV received frame number 19
jan 13 16:46:39.92: [15547]: RECV received frame number 20
jan 13 16:46:40.23: [15547]: RECV received frame number 21
jan 13 16:46:40.44: [15547]: RECV received frame number 22
jan 13 16:46:40.65: [15547]: RECV received frame number 23
jan 13 16:46:40.86: [15547]: RECV received frame number 24
jan 13 16:46:41.08: [15547]: RECV received frame number 25
jan 13 16:46:41.29: [15547]: RECV received frame number 26
jan 13 16:46:41.51: [15547]: RECV received frame number 27
jan 13 16:46:41.71: [15547]: RECV received frame number 28
jan 13 16:46:41.93: [15547]: RECV received frame number 29
jan 13 16:46:42.15: [15547]: RECV received frame number 30
jan 13 16:46:42.36: [15547]: RECV received frame number 31
jan 13 16:46:42.58: [15547]: RECV received frame number 32
jan 13 16:46:42.80: [15547]: RECV received frame number 33
jan 13 16:46:43.02: [15547]: RECV received frame number 34
jan 13 16:46:43.24: [15547]: RECV received frame number 35
jan 13 16:46:43.56: [15547]: RECV received frame number 36
jan 13 16:46:43.67: [15547]: RECV received frame number 37
jan 13 16:46:43.99: [15547]: RECV received frame number 38
jan 13 16:46:44.21: [15547]: RECV received frame number 39
jan 13 16:46:44.42: [15547]: RECV received frame number 40
jan 13 16:46:44.62: [15547]: RECV received frame number 41
jan 13 16:46:44.85: [15547]: RECV received frame number 42
jan 13 16:46:45.06: [15547]: RECV received frame number 43
jan 13 16:46:45.27: [15547]: RECV received frame number 44
jan 13 16:46:45.48: [15547]: RECV received frame number 45
jan 13 16:46:45.69: [15547]: RECV received frame number 46
jan 13 16:46:45.90: [15547]: RECV received frame number 47
jan 13 16:46:46.11: [15547]: RECV received frame number 48
jan 13 16:46:46.43: [15547]: RECV received frame number 49
jan 13 16:46:46.65: [15547]: RECV received frame number 50
jan 13 16:46:46.87: [15547]: RECV received frame number 51
jan 13 16:46:47.09: [15547]: RECV received frame number 52
jan 13 16:46:47.30: [15547]: RECV received frame number 53
jan 13 16:46:47.51: [15547]: RECV received frame number 54
jan 13 16:46:47.71: [15547]: RECV received frame number 55
jan 13 16:46:47.94: [15547]: RECV received frame number 56
jan 13 16:46:48.16: [15547]: RECV received frame number 57
jan 13 16:46:48.36: [15547]: RECV received frame number 58
jan 13 16:46:48.58: [15547]: RECV received frame number 59
jan 13 16:46:48.80: [15547]: RECV received frame number 60
jan 13 16:46:49.00: [15547]: RECV received frame number 61
jan 13 16:46:49.31: [15547]: RECV received frame number 62
jan 13 16:46:49.53: [15547]: RECV received frame number 63
jan 13 16:46:49.74: [15547]: RECV received frame number 64
jan 13 16:46:49.95: [15547]: RECV received frame number 65
jan 13 16:46:50.17: [15547]: RECV received frame number 66
jan 13 16:46:50.39: [15547]: RECV received frame number 67
jan 13 16:46:50.60: [15547]: RECV received frame number 68
jan 13 16:46:50.81: [15547]: RECV received frame number 69
jan 13 16:46:51.02: [15547]: RECV received frame number 70
jan 13 16:46:51.24: [15547]: RECV received frame number 71
jan 13 16:46:51.46: [15547]: RECV received frame number 72
jan 13 16:46:51.68: [15547]: RECV received frame number 73
jan 13 16:46:51.90: [15547]: RECV received frame number 74
jan 13 16:46:52.21: [15547]: RECV received frame number 75
jan 13 16:46:52.42: [15547]: RECV received frame number 76
jan 13 16:46:52.64: [15547]: RECV received frame number 77
jan 13 16:46:52.85: [15547]: RECV received frame number 78
jan 13 16:46:53.06: [15547]: RECV received frame number 79
jan 13 16:46:53.28: [15547]: RECV received frame number 80
jan 13 16:46:53.48: [15547]: RECV received frame number 81
jan 13 16:46:53.70: [15547]: RECV received frame number 82
jan 13 16:46:53.90: [15547]: RECV received frame number 83
jan 13 16:46:54.21: [15547]: RECV received frame number 84
jan 13 16:46:54.43: [15547]: RECV received frame number 85
jan 13 16:46:54.65: [15547]: RECV received frame number 86
jan 13 16:46:54.86: [15547]: RECV received frame number 87
jan 13 16:46:55.07: [15547]: RECV received frame number 88
jan 13 16:46:55.29: [15547]: RECV received frame number 89
jan 13 16:46:55.50: [15547]: RECV received frame number 90
jan 13 16:46:55.72: [15547]: RECV received frame number 91
jan 13 16:46:55.93: [15547]: RECV received frame number 92
jan 13 16:46:56.14: [15547]: RECV received frame number 93
jan 13 16:46:56.35: [15547]: RECV received frame number 94
jan 13 16:46:56.56: [15547]: RECV received frame number 95
jan 13 16:46:56.77: [15547]: RECV received frame number 96
jan 13 16:46:57.09: [15547]: RECV received frame number 97
jan 13 16:46:57.29: [15547]: RECV received frame number 98
jan 13 16:46:57.51: [15547]: RECV received frame number 99
jan 13 16:46:57.72: [15547]: RECV received frame number 100
jan 13 16:46:57.93: [15547]: RECV received frame number 101
jan 13 16:46:58.14: [15547]: RECV received frame number 102
jan 13 16:46:58.36: [15547]: RECV received frame number 103
jan 13 16:46:58.57: [15547]: RECV received frame number 104
jan 13 16:46:58.77: [15547]: RECV received frame number 105
jan 13 16:46:58.99: [15547]: RECV received frame number 106
jan 13 16:46:59.10: [15547]: RECV received frame number 107
jan 13 16:46:59.10: [15547]: RECV received RCP frame
jan 13 16:46:59.15: [15547]: --> [10:NO CARRIER]
jan 13 16:46:59.15: [15547]: <-- [9:AT+FRH=3\r]
jan 13 16:46:59.53: [15547]: --> [7:CONNECT]
jan 13 16:47:00.45: [15547]: --> [2:OK]
jan 13 16:47:00.45: [15547]: RECV recv PPS (partial page signal)
jan 13 16:47:00.45: [15547]: RECV recv EOP (no more pages or documents)
jan 13 16:47:00.45: [15547]: RECV received 108 frames of block 1 of page 1
jan 13 16:47:00.61: [15547]: RECV: 27460 bytes of data, 1122 total lines
jan 13 16:47:00.62: [15547]: <-- [9:AT+FRS=7\r]
jan 13 16:47:00.74: [15547]: --> [2:OK]
jan 13 16:47:00.74: [15547]: <-- [9:AT+FTH=3\r]
jan 13 16:47:00.79: [15547]: --> [7:CONNECT]
jan 13 16:47:00.79: [15547]: <-- data [3]
jan 13 16:47:00.79: [15547]: <-- data [2]
jan 13 16:47:02.11: [15547]: --> [2:OK]
jan 13 16:47:02.11: [15547]: RECV send MCF (message confirmation)
jan 13 16:47:02.11: [15547]: RECV FAX (000000061): from `, page 1 in 0:36, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
jan 13 16:47:02.11: [15547]: RECV FAX (000000061): recvq/fax000000021.tif from `, route to <unspecified>, 1 pages in 0:38
jan 13 16:47:02.11: [15547]: <-- [9:AT+FRH=3\r]
jan 13 16:47:02.99: [15547]: --> [7:CONNECT]
jan 13 16:47:03.85: [15547]: --> [2:OK]
jan 13 16:47:03.85: [15547]: RECV recv DCN (disconnect)
jan 13 16:47:03.85: [15547]: RECV FAX: bin/faxrcvd "recvq/fax000000021.tif" "ttyS1" "000000061" ""
jan 13 16:47:03.85: [15547]: RECV FAX: end
jan 13 16:47:03.85: [15547]: SESSION END