I am a fairly new into the Linux world, and am having an issue with a CentOS install running HYLAFax. OS is running well, I have a PCI RocketModem III (8 port) installed and running, and HYLAFax installed and functioning (faxes are received & emailed to faxmaster).
We would like to route faxes to email recipient's based on DID numbers, which seems to be possible if you can send the DIDs via DTMF.
I have our PBX routing fax calls to a hunt group, which has a single analog line (for setup & testing) that is hooked up to the RocketModem. Faxes come in without issue. The PBX is set to send the DID via DTMF tones once the modem picks up. I verified using minicom that all is working properly from the phone system to the RocketModem ports. See below for a minicom session:
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jan 7 2007, 04:48:39.
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
ats0=2
OK
at+vcid=1
OK
at+fclass=8
OK
.h.R
.R
OK
./.1.~./.0.~./.9.~./.9.~.d
The config file for the modem is set to turn on caller ID detection, wait two rings, turn on voice mode (to receive DTMF tones), pick up, listen for DID via DTMF ('CallIDPattern: SHIELDED_DTMF'), once 4 digits are received (or after timeout), turn on fax mode, and receive the fax.
ModemResetCmds: AT+VCID=1
ModemRingsBeforeResponse: 2
ModemRingResponse: AT+FCLASS=8;H1
CallIDPattern: SHIELDED_DTMF
CallIDAnswerLength: 4
ModemAnswerCmd: AT+FCLASS=1;A![Vmware Vmware](/uploads/1/2/5/8/125840289/387928347.jpg)
Everything works as it should, the modem goes to voice mode, the digits are sent (turned on the modem volume and can hear the tones), goes back to fax mode (after timeout period), the fax comes in fine, but the DTMF digits are not stored in the CallID field. See the relevant section from a log (/var/spool/hylafax/log) below:
Jul 27 11:16:36.42: [ 2755]: SESSION BEGIN 000000031 +14254891455
Jul 27 11:16:36.42: [ 2755]: HylaFAX (tm) Version 5.2.5
Jul 27 11:16:36.42: [ 2755]: CallID: ' '
Jul 27 11:16:36.42: [ 2755]: DELAY 1000 ms
Jul 27 11:16:37.42: [ 2755]: [7:CONNECT]
Jul 27 11:16:41.46: [ 2755]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyR1'
Jul 27 11:16:41.46: [ 2755]: STATE CHANGE: ANSWERING -> RECEIVING
Jul 27 11:16:41.46: [ 2755]: RECV FAX: begin
Notice that the CallID field shows as blank.
Have researched online a ton, and tweaked settings in the modem config file to try and get HYLAFax to see the DTMF digits, but to no avail...
Any thoughts? I am very open to the fact that I could be missing something simple. Please let me know if any more info would be helpful. Once I can get the DTMF to be recognized, I think I can handle setting up the routing. Thanks in advance!
Installing VMWare Tools on CentOS/RHEL 6.5. April 14, 2014 by techedemic 14 Comments. To install VMWare tools using YUM on CentOS/RHEL 6.5, do the following. Note, I’m logged in as the ‘root’ user, but you could execute these commands using ‘sudo’ as well. Install Hylafax and IAXModem on RHEL/Centos 6.5 x64. HylaFAX Installation: HylaFax is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. Download the the latest release and their dependency sharutils first; then use rpm to install them.
We would like to route faxes to email recipient's based on DID numbers, which seems to be possible if you can send the DIDs via DTMF.
I have our PBX routing fax calls to a hunt group, which has a single analog line (for setup & testing) that is hooked up to the RocketModem. Faxes come in without issue. The PBX is set to send the DID via DTMF tones once the modem picks up. I verified using minicom that all is working properly from the phone system to the RocketModem ports. See below for a minicom session:
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jan 7 2007, 04:48:39.
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
ats0=2
OK
at+vcid=1
OK
at+fclass=8
OK
.h.R
.R
OK
./.1.~./.0.~./.9.~./.9.~.d
The config file for the modem is set to turn on caller ID detection, wait two rings, turn on voice mode (to receive DTMF tones), pick up, listen for DID via DTMF ('CallIDPattern: SHIELDED_DTMF'), once 4 digits are received (or after timeout), turn on fax mode, and receive the fax.
ModemResetCmds: AT+VCID=1
ModemRingsBeforeResponse: 2
ModemRingResponse: AT+FCLASS=8;H1
CallIDPattern: SHIELDED_DTMF
CallIDAnswerLength: 4
ModemAnswerCmd: AT+FCLASS=1;A
![Vmware Vmware](/uploads/1/2/5/8/125840289/387928347.jpg)
Everything works as it should, the modem goes to voice mode, the digits are sent (turned on the modem volume and can hear the tones), goes back to fax mode (after timeout period), the fax comes in fine, but the DTMF digits are not stored in the CallID field. See the relevant section from a log (/var/spool/hylafax/log) below:
Jul 27 11:16:36.42: [ 2755]: SESSION BEGIN 000000031 +14254891455
Jul 27 11:16:36.42: [ 2755]: HylaFAX (tm) Version 5.2.5
Jul 27 11:16:36.42: [ 2755]: CallID: ' '
Jul 27 11:16:36.42: [ 2755]: DELAY 1000 ms
Jul 27 11:16:37.42: [ 2755]: [7:CONNECT]
Jul 27 11:16:41.46: [ 2755]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyR1'
Jul 27 11:16:41.46: [ 2755]: STATE CHANGE: ANSWERING -> RECEIVING
Jul 27 11:16:41.46: [ 2755]: RECV FAX: begin
Notice that the CallID field shows as blank.
Have researched online a ton, and tweaked settings in the modem config file to try and get HYLAFax to see the DTMF digits, but to no avail...
Any thoughts? I am very open to the fact that I could be missing something simple. Please let me know if any more info would be helpful. Once I can get the DTMF to be recognized, I think I can handle setting up the routing. Thanks in advance!