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] Direct Inward Dial based routing with FaxDispatch



 
Hello,

This is my Modem Config...

FAXNumber:          1-832-xxx-xxxx
LongDistancePrefix:     9
InternationalPrefix:     9
DialStringRules:     etc/dialrules
ServerTracing:          1
SessionTracing:          11
RecvFileMode:          0600
LogFileMode:          0600
DeviceMode:          0600
RingsBeforeAnswer:     2
SpeakerVolume:          high
GettyArgs:          "-h %l dx_%s"
LocalIdentifier:     "1-832-xxx-xxxx"
TagLineFont:          etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:          100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:          Class2.0     # use class 2.0 interface
ModemRate:          19200          # DCE-DTE communication rate
ModemFlowControl:     rtscts          # hardware flow control
#
ModemNoFlowCmd:          AT&H0&I0&R1     # setup modem for no flow control
ModemHardFlowCmd:     AT&H1&I0&R2     # setup modem for hardware flow control
ModemSoftFlowCmd:     AT&H2&I2&R1     # setup modem for software flow control
#
ModemSetupDTRCmd:     ATS13=1&D2     # setup so DTR drop resets modem
ModemSetupDCDCmd:     AT&C1          # setup so DCD reflects carrier (or not)
ModemResultCodesCmd:     ATQ0X4          # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
#    the modem is left idling in Class 2.0
#
ModemSetupAACmd:     AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd:     "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd:          AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd:     !(0),(0)     # override modem response
#
# Disables the reporting of bad frames by the modem.  This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd:    AT+FNR=1,1,1,0
#
# USR modems violate Class 2.0 specs and do not send RTC itself
#
Class2SendRTC:     yes
#
# +FAP=? not supported on this modem, gives ERROR in ServerTracing
#
Class2APQueryCmd:      none

#ModemReadyCmds: AT*DS1*DD0*DF1*DN3*DP1  # enable DTMF-DID, wink-start, 3 digits
CallIDPattern: "DTMF"                  # format of AT*DF1
CallIDAnswerLength: 3                  # three DTMF-DID digits then ATA


On Mon, 22 May 2006 Suraj Jadhav wrote :
>   Hello,
>
>I did use >ModemReadyCmds: AT*DS1*DD0*DF1*DN3*DP1 - but I do not think USR Fax Modem like this cause server started saying..."The HylaFAX software thinks that there is a problem with the modem on device /dev/ttyS1 that needs attention; repeated attempts to initialize the modem have failed. Consult the server trace logs for more information on what is happening." I do not know what I need to use for USR Fax Modem....is there any place where we can find information about such settings?
>
>
>
>You will be notified again after 5 minutes if the problem persists.
>
>
>On Sun, 21 May 2006 Suraj Jadhav wrote :
> >   This sounds great...let me work on this and get back to you....
> >
> >
> >On Sun, 21 May 2006 Aaron Stanford wrote :
> > >Suraj,
> > >
> > >Here's a partial dump of my config.ttySX and FaxDispatch to use as templates:
> > >
> > >config:
> > >
> > >ModemType:              Class2.1
> > >ModemRate:              57600          # for V.34 faxing
> > >ModemNoFlowCmd:        AT&K0
> > >ModemSoftFlowCmd:      AT&K4
> > >ModemHardFlowCmd:      AT&K3
> > >
> > >Class2APCmd:            AT+FAP=1,1,1
> > >Class2BUGCmd:          AT+FBU=0        # early firmware is buggy
> > >Class2SendRTC:          yes
> > >Class2UseHex:          yes
> > >
> > ># Some firmwares do not report copy quality correction, although it
> > ># is present and cannot be disabled.  Thus modem-based CQ must be used.
> > >Class2CQQueryCmd:      "!(00-02),(00-02)"
> > >Class2CQCmd:            AT+FCQ=1,0
> > >
> > ># versions that respond to AT+FFC=? with non-zero data support RTFCC
> > >Class2RTFCC:            yes
> > >
> > ># unfortunately, HylaFAX can't currently send or receive in color
> > ># Also, the modem's extended resolution support is buggy
> > >ModemAnswerCmd:        AT+FCC=1,,,,0;A
> > >ModemDialCmd:          AT+FCC=1,,,,0;DT%s
> > >
> > ># If your modem supports ECM you may want to do something like this
> > >Class2Cmd:              AT+FCLASS=2.1;+FRY=4
> > >
> > ># Or with the MT5634ZBA-DID you'll probably need something like...
> > >ModemReadyCmds: AT*DS1*DD0*DF1*DN3*DP1  # enable DTMF-DID, wink-start, 3 digits
> > >CallIDPattern:  "DTMF"          # format of AT*DF1
> > >CallIDAnswerLength:    3              # three DTMF-DID digits then ATA
> > >
> > >FaxDispatch:
> > >
> > >case "$CALLID1" in
> > >906) SENDTO=djohnson@xxxxxxxxxxx; FILETYPE=pdf;;
> > >905) SENDTO=aaron@xxxxxxxxxx; FILETYPE=pdf;;
> > >900) SENDTO=jellinger@xxxxxxxxxxx; FILETYPE=pdf;;
> > >902) SENDTO=areid@xxxxxxxxxxx; FILETYPE=pdf;;
> > >904) SENDTO=bclute@xxxxxxxxxxx; FILETYPE=pdf;;
> > >903) SENDTO=jbuckman@xxxxxxxxxxx; FILETYPE=pdf;;
> > >901) SENDTO=khardy@xxxxxxxxxxx; FILETYPE=pdf;;
> > >esac
> > >
> > >Hope this helps,
> > >Aaron
> > >
> > >____________________ 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*
> > >
> >
> >
> >Thanks & Regards
> >Suraj Jadhav
>
>
>Thanks & Regards
>Suraj Jadhav

Thanks & Regards
Suraj Jadhav




Project hosted by iFAX Solutions