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] Does HylaFAX (tm) Version 4.4.3 support DTMF play raw files?



* John Dell'Aera <dellaera@xxxxxxxxxxx> [081010 00:06]:
> Hello.
> Does HylaFAX (tm) Version 4.4.3 from hylafax.org support
> DTMF detection and play back of raw files to prompt for DTMF?
> 
> Also my modem, Intel 537EP, always picks up after 5 rings even though I specify 2 rings.
> I have the following in my config.modem file:
> 
> RingsBeforeAnswer:      2
> ModemRingsBeforeResponse: 2
> #ModemRingResponse: "AT+FCLASS=8;H1\nAT+VSM=131\nAT+VLS=1\nAT+VTX\n<waitfor:CONNECT><play:2><waitfor:OK>AT+VTS=[933,,150]"
> ModemRingResponse: "AT+FCLASS=8;H1\nAT+VSM=131\nAT+VLS=1\nAT+VTX\n<waitfor:CONNECT><waitfor:OK>AT+VTS=[933,,150]"
> CallIDPattern:      SHIELDED_DTMF
> CallIDAnswerLength: 4
> ModemAnswerCmd:     "<delay:100>AT+FCLASS=1;A"
> #ModemResetCmds:     AT+VCID=1
> 
> I've omitted the audio play back for now, but I'd like to get it to work 
> because I don't really know when exactly I am supposed to enter the DTMF tones.
> Can someone guide me here?

This "<play:2>" look suspisions.. You really have a file called "2" in
/var/spool/hylafax?

From the HylaFAX-config man page:
    http://www.hylafax.org/man/4.4.3/hylafax-config.4f.php

	The ‘‘<play:filename>’’ escape can be used to play a raw audio file with
	a voice modem. This feature can be used, for example, to play a brief
	audio message after picking up the line but before answering. A
	configuration example may be:

	  ModemRingResponse:  "AT+FCLASS=8;H1\nAT+VSM=131\nAT+VLS=1\nAT+VTX\n<waitfor:CONNECT><play:/sounds/enter-extension.raw><waitfor:OK>AT+VTS=[933,,150]"
	  ModemAnswerCmd:     "<delay:100>AT+FCLASS=1;A"
	  CallIDPattern:      SHIELDED_DTMF
	  CallIDAnswerLength: 4

> I enter lots of digits during the transmission but I do not see any evidence of DTMF detection.
> In my log file I see:

Your DTMF detection should happen *before* the call is "answered"
(ModemAnsewrCmd), and will be logged in in syslog, not the session log
(which starts when the call is "answred" (ModemAnswerCmd).

Remember in this setup, your actually instructing the modem to answer
the call with your ModemRingResponse *before* HylaFAX enters it's normal
"answering" phase.

a.


-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions