Asterisk/hylafax: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „==== kvm timezone = UTC !!! ==== ==== /etc/asterisk/iax.conf ==== <pre> [general] bindport=4569 bindaddr=0.0.0.0 disallow=all allow=alaw allow=ulaw [iaxmodem…“)
 
No edit summary
 
Line 1: Line 1:
==== kvm timezone = UTC !!! ====
==== kvm timezone = UTC !!! ====
* http://sourceforge.net/projects/wphfforwin7/


==== /etc/asterisk/iax.conf ====
==== /etc/asterisk/iax.conf ====

Latest revision as of 14:58, 10 March 2013

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