Hylafax Mailing List Archives

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

[hylafax-users] R: Implentation of DTMF DID with Hylafax 4.2.3



I have tried to use this settings but do not work.

My modem,DIGICOM Tiziano Voice, do not accept command AT+Class=8, but accept
AT#CLS=8.

I have tried this with Minicom and the result is:

---------------------------------------------------------------------
Welcome to minicom 2.00.0

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jun 15 2004, 20:45:27.

Press CTRL-A Z for help on special keys


OK
AT#CLS=8	<- send AT command to modem to enable Voice mode
OK
.h
RING		!Call modem and modem recognize call and print RING

RING
ATA		<- sent ATA command to modem to answer call
VCON		
.#.0.0.#.4.7.7.#.#  -> Pabx send DTMF codes
----------------------------------------------------------------------



Config.ttyS0
------------------------------------------------------------------------
//first part of config file
.
.
.
ServerTracing:          0x03FFFF
SessionTracing:         0x03FFFF

ModemRingBeforeResponse: 2
ModemRingResponse:     AT#CLS=8;ATA
CallIDPattern:         SHIELDED_DTMF
CallIDAnswerLength:    4
ModemAnswerCmd:        <delay:100>AT+FCLASS=1;A
.
.
.
Etc...
-------------------------------------------------------------------------


System log
-------------------------------------------------------------------------
Nov 24 09:57:22 HylafaxTest FaxGetty[6423]: MODEM PRODOTTO:TIZIANO Line spe
ed:   33600/
Nov 24 09:57:22 HylafaxTest FaxGetty[6423]: <-- [7:ATL0M1\r]
Nov 24 09:57:22 HylafaxTest FaxGetty[6423]: --> [2:OK]
Nov 24 09:57:22 HylafaxTest FaxGetty[6423]: STATE CHANGE: BASE -> RUNNING
(timeo
ut 30)
Nov 24 09:57:22 HylafaxTest FaxGetty[6423]: MODEM input buffering disabled
Nov 24 09:57:34 HylafaxTest FaxGetty[6423]: STATE CHANGE: RUNNING ->
LISTENING
Nov 24 09:57:34 HylafaxTest FaxGetty[6423]: --> [4:RING]
Nov 24 09:57:34 HylafaxTest FaxGetty[6423]: <-- [13:AT#CLS=8;ATA\r]
Nov 24 09:57:34 HylafaxTest FaxGetty[6423]: --> [2:h]
Nov 24 09:57:34 HylafaxTest FaxGetty[6423]: --> [4:VCON]
Nov 24 09:57:37 HylafaxTest FaxGetty[6423]: MODEM TIMEOUT: reading line from
mod
em
Nov 24 09:57:42 HylafaxTest FaxGetty[6423]: MODEM TIMEOUT: reading from
modem
Nov 24 09:57:47 HylafaxTest FaxGetty[6423]: MODEM TIMEOUT: reading from
modem
Nov 24 09:57:47 HylafaxTest FaxGetty[6423]: <-- data [2]
Nov 24 09:57:57 HylafaxTest FaxGetty[6423]: <-- [5:ATH0\r]
Nov 24 09:57:58 HylafaxTest FaxGetty[6423]: --> [2:OK]
----------------------------------------------------------------------------

I do not understand in order which Hylafax reason goes in TIMEOUT without
recognize DTMF codes.

Help me.

Taverni



-----Messaggio originale-----
taverni@xxxxxxx wrote:

> We have many problem implementing DID recognized on DTMF system.
>
> Have you a suggestion or particular setting for this implantation?
>

The hylafax-config manpage has a suggested application description in it.

The special CallID value of "SHIELDED_DTMF" is used in conjunction with 
ModemRingResponse and CallIDAnswerLength. After executing 
ModemRingResponse, HylaFAX will expect DTMF data (usually DLE-shielded) 
for CallIDn until CallIDAnswerLength is reached. Note that if the modem 
is in voice mode to hear these DTMF digits, then it must be returned to 
fax mode in the ModemAnswerCmd. In order to prevent this feature from 
losing incoming fax calls, if fax sender CNG is detected while waiting 
for DTMF or if ten seconds elapse without sufficient DTMF then the 
remaining expected digits will be populated by whitespace, triggering 
fax answering.

For example, the following settings will cause HylaFAX to enter voice 
mode and go off-hook when a RING is detected. It will then expect four 
DTMF digits (presumably for routing), and then it will pause for 100 ms 
before returning to fax mode and answering the call.

  ModemRingResponse:     AT+FCLASS=8;H1
  CallIDPattern:         SHIELDED_DTMF
  CallIDAnswerLength:    4
  ModemAnswerCmd:        <delay:100>AT+FCLASS=1;A

In HylaFAX 4.2.3.1 available at http://hylafax.sourceforge.net/ there 
were various improvements made to the feature that should help those 
people who want it to automatically answer if the fax call is patched 
through before all of the expected number of digits are received and for 
those who want to play voice messages in conjuction with it.  (These 
changes will begin to be be integrated with the HylaFAX versions at 
hylafax.org as soon as they have enough exposure.)

Hope this helps,

Lee.


____________________ 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*


____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services