Прошу помочь мне с проблемой отправки факсов в HylaFax 4.4.4 на FreeBSD 7.1 x86
Всё поставил пользуясь во многом статьёй с Лисярового замечательного ресурса. Всё работает, вот проблема только с отправкой факсов. Насколько я понял я не могу разобраться с правилом дозвона в конфиге.
У нас в организации на внешние номера сначала набирается 9, а потом номер. Можете если в этом проблема помочь состряпать строку дозвона?

Модем железный, COM'овский не помню какая модель но поддерживается отлично. Код Свердловска где мы и находимся 343.
/var/spool/hylafax/etc/config.ttyd0
Код: Выделить всё
CountryCode: 7
AreaCode: 343
FAXNumber: ""
LongDistancePrefix: 8
InternationalPrefix: 10
DialStringRules: "etc/dialrules"
ServerTracing: 1
SessionTracing: 0xFFF
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0644
RingsBeforeAnswer: 1
SpeakerVolume: on
GettyArgs: "-h %1 dx_%s"
LogFacility: HYLAFAX
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&K0 # setup no flow control
ModemHardFlowCmd: AT&K3 # setup hardware flow control
ModemSoftFlowCmd: AT&K4 # setup software flow control
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd: !Rockwell
ModemModelQueryCmd: !RC288DPi
ModemRevQueryCmd: ATI3 # product information
#
ModemDialCmd: ATDT%s # T for tone dialing
######################## For AvantFAX ##########################################
FaxrcvdCmd: bin/faxrcvd.php #
DynamicConfig: bin/dynconf.php #
UseJobTSI: true #
Код: Выделить всё
Area=${AreaCode} ! local area code
Country=${CountryCode} ! local country code
IDPrefix=${InternationalPrefix} ! prefix for placing an international call
LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call
!
WS=" " ! our notion of white space
!
! Convert a phone number to a canonical format:
!
! +<country><areacode><rest>
!
! by (possibly) stripping off leading dialing prefixes for
! long distance and/or international dialing.
!
CanonicalNumber := [
%.* = ! strip calling card stuff
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
[^+0-9]+ = ! strip white space etc.
^${IDPrefix} = + ! replace int. dialing code
^${LDPrefix} = +${Country} ! replace l.d. dialing code
^[^+] = +${Country}${Area}& ! otherwise, insert canon form
]
!
! Process a dialing string according to local requirements.
! These rules do only one transformation: they convert in-country
! international calls to long-distance calls.
!
DialString := [
[-${WS}.]+ = ! strip syntactic sugar
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
^[+]${Country} = ${LDPrefix} ! long distance call
^[+] = ${IDPrefix} ! international call
]
