HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Everything but CallerID



And of course i would forget the logs/confs!

#################################################
# Minicom output
#################################################
AT#CID=1

OK



RING



DATE = 0122

TIME = 1023

NMBR = newfax

NAME = 220616



RING



RING

#################################################
# config.ttyS0
#################################################
CountryCode:        42
AreaCode:           0207
FAXNumber:          Our fax number
LongDistancePrefix: 1
InternationalPrefix:044
DialStringRules:    etc/dialrules
ServerTracing:      1
SessionTracing:     11
RecvFileMode:       0600
LogFileMode:        0600
DeviceMode:         0600
RingsBeforeAnswer:  1
SpeakerVolume:      off
GettyArgs:          "-h %l dx_%s"
LocalIdentifier:    Arishi
TagLineFont:        etc/lutRS18.pcf
TagLineFormat:      "From %%l|%c|Page %%P of %%T"
MaxRecvPages:       30
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
ModemRestCmds:      AT#CID=1
RingsBeforeAnswer:  1
CallIDPattern:      "NMBR = "
CallIDPattern:      "NAME = "

#################################################
# FaxDispatch
#################################################
SENDTO=mike@workaddress
FILETYPE=pdf
echo "1: $CALLID1 2: $CALLID2 Num: $CIDNUMBER Name: $CIDNAME" >/tmp/fax/feck.txt
case "$CALLID1" in
220618) SENDTO=mike@workaddress;FILETYPE=pdf;;
esac


case "$CALLID" in
220616) SENDTO=mike@homeaddress;FILETYPE=pdf;;

#################################################
# feck.txt
#################################################
1:   2:   Num:   Name:

---------------------
Mike Woods
Systems Administrator


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




Project hosted by iFAX Solutions