HylaFAX The world's most advanced open source fax server

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

[hylafax-users] CID & DTMF



Hello List,

 

I setup HylaFAX 4.2.3.1 on Debian Sarge with four Zoom PCI 2920 Plus
modems. Sending and receiving faxes work great, but I'm trying to
capture DTMF tones for routing. I have the modem config files setup
according to the instructions. 

In the log files where the CID and DTMF info should be there is blank
quotes. I know the CID info is being passed from the switch because I
put a phone with a display on the line, called it and saw the CID info.
Does anyone know if I can do this with these modems and what I need to
do to make it work?

 

Here is my modem config file:

CountryCode:                1
AreaCode:                    xxx
FAXNumber:                 xxxxxxxxxxx
LongDistancePrefix:      1
InternationalPrefix:         011
DialStringRules:            etc/dialrules
ServerTracing:               0xFFF   
SessionTracing:                        11
RecvFileMode:              0600
LogFileMode:                0600
DeviceMode:                0600
RingsBeforeAnswer:      0          
SpeakerVolume:                        off
GettyArgs:                    "-h %l dx_%s"
LocalIdentifier:              "xxxxxxxxxxxxxxxx"
TagLineFont:                 etc/lutRS18.pcf
TagLineFormat:             "From %%l|%c|Page %%P of %%T"
MaxRecvPages:                        25
#

ModemType:                 Class1              # use this to supply a
hint
ModemFlowControl:      rtscts                # many firmwares have
broken software flow control
Class1TMConnectDelay:            400                   # counteract
quick CONNECT response
# Or with the MT5634ZBA-DID you'll probably need something like...
# ModemReadyCmds:   AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4
digits
# CallIDPattern: "DTMF"             # format of AT*DF1
# CallIDAnswerLength:   4                      # four DTMF-DID digits
then ATA
ModemResetCmds:                   AT+VCID=1
ModemRingsBeforeResponse:  2 
ModemRingResponse:  AT+FCLASS=8;H1
CallIDPattern:                "NMBR="
CallIDPattern:                "NAME="
CallIDPattern:                SHIELDED_DTMF
CallIDAnswerLength:      4
ModemAnswerCmd:                  <delay:100>AT+FCLASS=1;A

Here is the top of the log file showing the blank caller ID info.

Dec 15 14:48:47.54: [ 8518]: HylaFAX (tm) Version 4.2.3.1
Dec 15 14:48:47.54: [ 8518]: CallID: "" "" "    "
Dec 15 14:48:47.54: [ 8518]: DELAY 1000 ms
Dec 15 14:48:48.54: [ 8518]: <-- [14:AT+FCLASS=1;A\r]
Dec 15 14:48:54.57: [ 8518]: --> [7:CONNECT]
Dec 15 14:48:54.57: [ 8518]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS4'
Dec 15 14:48:54.57: [ 8518]: RECV FAX: begin
Dec 15 14:48:54.57: [ 8518]: <-- data [34]
Dec 15 14:48:54.57: [ 8518]: <-- data [2]
Dec 15 14:48:54.58: [ 8518]: --> [7:CONNECT]
Dec 15 14:48:54.58: [ 8518]: <-- data [23]
Dec 15 14:48:54.58: [ 8518]: <-- data [2]
Dec 15 14:48:54.59: [ 8518]: --> [7:CONNECT]
Dec 15 14:48:54.59: [ 8518]: <-- data [13]
Dec 15 14:48:54.59: [ 8518]: <-- data [2]
Dec 15 14:48:56.86: [ 8518]: --> [2:OK]
Dec 15 14:48:56.86: [ 8518]: <-- [9:AT+FRH=3\r]
Dec 15 14:48:57.00: [ 8518]: --> [7:CONNECT]
Dec 15 14:48:58.40: [ 8518]: --> [2:OK]
 
Thanks in advance

Warren Johnson
Network and Systems Administrator
Jackson General Hospital




____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions