Asterisk/hylafax

From Wiki
Revision as of 14:58, 10 March 2013 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

kvm timezone = UTC !!!

/etc/asterisk/iax.conf

[general]
bindport=4569
bindaddr=0.0.0.0
disallow=all
allow=alaw
allow=ulaw

[iaxmodem]
type = friend
secret = faxpassword
port = 4570
host = dynamic
context = fax-out
disallow = all
allow = alaw
requirecalltoken=no


IAXmodem

install iaxmodem

apt-get install iaxmodem
touch /etc/iaxmodem/ttyIAX0

/etc/iaxmodem/ttyIAX0

device         /dev/ttyIAX0
owner          uucp:uucp
mode           660
port           4570
refresh        50
server         127.0.0.1
peername       iaxmodem
secret         password
codec          alaw

restart iaxmodem

/etc/init.d/iaxmodem restart


HylaFax

install hylafax

apt-get install hylafax-server
faxsetup

/etc/hylafax/config.ttyIAX0

CountryCode:           49
AreaCode:              ??VorwahlOhneNull??
FAXNumber:             "+49 ??VorwahlOhneNull?? ??MSN??"
LongDistancePrefix:    0
InternationalPrefix:   00
DialStringRules:       etc/dialrules
ServerTracing:         1
SessionTracing:        11
RecvFileMode:          0600
LogFileMode:           0600
DeviceMode:            0600
RingsBeforeAnswer:     1
SpeakerVolume:         off
GettyArgs:             "-h %l dx_%s"
LocalIdentifier:       "??Vorname?? ??Nachname??"
TagLineFont:           etc/lutRS18.pcf
TagLineFormat:         "From %%l|%a, %d.%m.%Y - %X|Page %%P of %%T"
MaxRecvPages:          50


ModemType:             Class1

ModemResetCmds:        "ATH1\nAT+VCID=1"
ModemReadyCmds:        ATH0

Class1AdaptRecvCmd:    AT+FAR=1
Class1TMConnectDelay:  400

CallIDPattern:         "NMBR="
CallIDPattern:         "NAME="
CallIDPattern:         "ANID="
CallIDPattern:         "NDID="


Testrun

sendfax -n -d ??FAXNUMMER?? test.txt
faxstat -s