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] still strugling with DTMF



Indeed my modem(s) are of type MultiTech MT2834ZDXI.
I've just downloaded, compiled and installed the Hylafax 5.2.0 (on Centos)

My config:
...
DynamicConfig:         etc/DIDNum
ModemRingResponse:      ATH1>DT1
ModemRingsBeforeResponse:       1
ModemAnswerCmd:         <delay:100>AT+FCLASS=2;A
CallIDPattern:          DTMF
RingExtended:           FAXCN


My log, after the first successfull reception and CALLID recognition:
...
Dec  6 14:54:37 faxtest FaxGetty[11838]: STATE CHANGE: RUNNING -> LISTENING
Dec  6 14:54:37 faxtest FaxGetty[11838]: --> [4:RING]
Dec  6 14:54:37 faxtest FaxGetty[11838]: <-- [9:ATH1>DT1\r]
Dec  6 14:54:37 faxtest FaxGetty[11838]: --> [2:OK]
Dec  6 14:54:38 faxtest FaxGetty[11838]: --> [8:DTMFSTAR]
Dec  6 14:54:38 faxtest last message repeated 2 times
Dec  6 14:54:38 faxtest FaxGetty[11838]: --> [5:DTMF4]
Dec  6 14:54:38 faxtest FaxGetty[11838]: --> [5:DTMF0]
Dec  6 14:54:39 faxtest FaxGetty[11838]: --> [5:DTMF2]
Dec  6 14:54:39 faxtest last message repeated 3 times
Dec  6 14:54:39 faxtest FaxGetty[11838]: --> [5:DTMF3]
Dec  6 14:54:40 faxtest FaxGetty[11838]: --> [5:DTMF2]
Dec  6 14:54:40 faxtest FaxGetty[11838]: --> [5:DTMF9]
Dec  6 14:54:40 faxtest FaxGetty[11838]: --> [5:DTMF4]
Dec  6 14:54:40 faxtest FaxGetty[11838]: --> [5:DTMF8]
Dec  6 14:54:40 faxtest FaxGetty[11838]: --> [8:DTMFSTAR]
Dec  6 14:54:41 faxtest FaxGetty[11838]: --> [5:DTMF4]
Dec  6 14:54:43 faxtest FaxGetty[11838]: --> [6:FAXCNG]
Dec  6 14:54:43 faxtest FaxGetty[11838]: STATE CHANGE: LISTENING -> ANSWERING

...

All but the first fax fail to detect/determine the CallID

I DISABLED the DynamicConfig command, and since that modification of the modem config file
all my received faxes determine the CallID perfectly.  Maybe there is something in the code  that
results in a conflict??  I do not know, but my problem seems solved.

Thx.


Lee Howard wrote:
Yves Carlier wrote:

What could be the reason why
after a fresh restart of the hylafax server I get the following log messages DTMF related:

Dec  5 15:53:39 faxtest FaxGetty[23378]: ANSWER: Call ID 1 "40222232948"

and all successive  incomming FAX calls log as follows:
Dec  5 15:58:52 faxtest FaxGetty[23378]: STATE CHANGE: RUNNING -> LISTENING
Dec  5 15:58:52 faxtest FaxGetty[23378]: --> [4:RING]
Dec  5 15:58:52 faxtest FaxGetty[23378]: <-- [7:AT>DT1\r]
Dec  5 15:58:53 faxtest FaxGetty[23378]: --> [2:OK]
Dec  5 15:58:53 faxtest FaxGetty[23378]: --> [8:DTMFSTAR]
Dec  5 15:58:54 faxtest last message repeated 2 times
Dec  5 15:58:54 faxtest FaxGetty[23378]: --> [5:DTMF4]
Dec  5 15:58:54 faxtest FaxGetty[23378]: --> [5:DTMF0]
Dec  5 15:58:54 faxtest FaxGetty[23378]: --> [5:DTMF2]
Dec  5 15:58:55 faxtest last message repeated 3 times
Dec  5 15:58:55 faxtest FaxGetty[23378]: --> [5:DTMF3]
Dec  5 15:58:55 faxtest FaxGetty[23378]: --> [5:DTMF2]
Dec  5 15:58:55 faxtest FaxGetty[23378]: --> [5:DTMF9]
Dec  5 15:58:56 faxtest FaxGetty[23378]: --> [5:DTMF4]
Dec  5 15:58:56 faxtest FaxGetty[23378]: --> [5:DTMF8]
Dec  5 15:58:56 faxtest FaxGetty[23378]: --> [8:DTMFSTAR]
Dec  5 15:58:56 faxtest FaxGetty[23378]: --> [5:DTMF4]
Dec  5 15:58:59 faxtest FaxGetty[23378]: --> [6:FAXCNG]
Dec  5 15:58:59 faxtest FaxGetty[23378]: <-- [5:ATH0\r]
Dec  5 15:58:59 faxtest FaxGetty[23378]: --> [2:OK]
Dec  5 15:58:59 faxtest FaxGetty[23378]: MODEM set DTR OFF
Dec  5 15:59:00 faxtest FaxGetty[23378]: MODEM set DTR OFF

Is it my PBX that is messing around (hard to believe) or are there initialisation/configuration settings of
the modem that are different between the initial  reception and all subsequent receptions?  I've set
the server in logmode 0xfff, and all commands sent to the modem look identical.

Unless you expect that the modem is lying to us, it would seem that in the first call the DTMF digits that were delivered were:

 40222232948

And in the second call the DTMF digits that were delivered were:

 ***40222232948*4

So you can either accuse the modem of lying or you can accuse the PBX of "messing around".  But I suspect that the modem is not lying and that the PBX is doing what it was designed to do for whatever voicemail service that it was intended to work with.  The coding of the DTMF digits must mean something to it.

That said... HylaFAX *should* have answered, and it didn't.  I am guessing that you're using a MT1932ZDX modem (or equivalent).  Do you have RingExtended set to "FAXCNG"?  (RingExtended: FAXCNG)

Relevant reading material may be:

http://bugs.hylafax.org//show_bug.cgi?id=374
http://article.gmane.org/gmane.comp.telephony.fax.hylafax.user/6811

Thanks,

Lee.
begin:vcard
fn:Yves Carlier
n:Carlier;Yves
org:BARC NV;IT Dept.
adr:;;Industriepark Zwijnaarde 3B;Gent;;9052;Belgium
email;internet:Yves.Carlier@xxxxxxxxxxx
title:IT Director
tel;work:+32 9 329.2.329
tel;fax:+32 9 329.2.330
url:http://www.barclab.com/
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Project hosted by iFAX Solutions