;
; Phonebill log scanner configuration
;
; If you have created a new scanner, or if you have a log file which
; is currently not supported then please don't hestitate and mail it
; uuencoded to "raymondp@sphinx.stack.urc.tue.nl".
;
; Token   Description                         Type        Range
; =====   ===========                         ====        =====
; %n      host name                           STRING
; %a      phone number                        STRING
; %A      phone number (char restriction)     STRING  
; %f      Fido-style address                  INT:INT/INT(.INT)
;
; %h      hour (connection)                   INT         0..23
; %m      minutes (connection)                INT         0..59
; %s      seconds (connection)                INT         0..59
; %y      year (connection)                   INT         1970..
; %e      year, short (connection)            INT         0..99
; %o      month (connection)                  INT         1..12
; %t      month, string (connection)          STRING
; %d      day of month (connection)           INT         1..31
; %p      AM or PM (connection)               STRING      ("AM"|"PM"|"A"|"P"|" ")
;
; %H      hour (end of connection)            INT         0..23
; %M      minutes (end of connection)         INT         0..59
; %S      seconds (end of connection)         INT         0..59
; %Y      year (end of connection)            INT         1970..
; %E      year, short (end of connection)     INT         0..99
; %O      month (end of connection)           INT         1..12
; %T      month, string (end of connection)   STRING
; %D      day of month (end of connection)    INT         1..31
; %P      AM or PM (end of connection)        STRING      ("AM"|"PM"|"A"|"P"|" ")
;
; %U      hours (connection length)           INT
; %I      minutes (connection length)         INT
; %X      seconds (connection length)         INT
;
; %#      dummy number                        INT
; %$      dummy string                        STRING      # >= 1
; %c      dummy character                     CHAR
;
; 
; *** Term action logfile ***
(scanner
        (name "Term action log")
        (scanstring.reset "%#-%$-%# %#:%#:%# Start of session %$")
        (scanstring.default "%d-%t-%e %h:%m:%s Connected to \"%n\" (%a)." "%D-%T-%E %H:%M:%S Carrier lost (%$)." "%D-%T-%E %H:%M:%S End of session." "%D-%T-%E %H:%M:%S Hung up the line.")
        (signature "%d-%t-%e %h:%m:%s Phonebill logscan.")
)

; *** Term call log ***
(scanner
        (name "Term call log")
        (scanstring.reset "")
        (scanstring.default "%n (%a)" "Login:\t%$ %t %d %h:%m:%s %y" "Login:  %$ %t %d %h:%m:%s %y" "Logout: %$ %T %D %H:%M:%S %Y" "Time online: %U:%I:%X")
        (signature "-- Phonebill logscan")
)

; *** Trapdoor ***
(scanner
        (name                   "Trapdoor")
        (scanstring.reset       "%c %#-%$-%# %#:%#:%# %$TrapDoor %$ closed"
                                "%c %#-%$-%# %#:%#:%# %$TrapDoor %$ opened"
                                "%c %#-%$-%# %#:%#:%#  Incoming call detected"
                                "%c %#-%$-%# %#:%#:%#  Call failed"
                                "%c %#-%$-%# %#:%#:%#  BUSY"
                                "%c %#-%$-%# %#:%#:%#  User break"
                                "%c %D-%T-%E %H:%M:%S  Session connect time %$"
                                "%c %D-%T-%E %H:%M:%S  Baudrate too low")
        (scanstring.default     "%c %#-%$-%# %#:%#:%#  Calling %n (%f)"
                                "%c %#-%$-%# %#:%#:%#  Calling %a" 
                                "%c %d-%t-%e %h:%m:%s  CONNECT %$")
        (signature              "+ %d-%t-%e %h:%m:%s  Phonebill logscan")
)

; *** NComm ***
(scanner
        (name "NComm")
        (scanstring.reset "")
        (scanstring.default "%n (%a)" "Login:\t%$ %t %d %h:%m:%s %y" "Login:  %$ %t %d %h:%m:%s %y" "Logout: %$ %T %D %H:%M:%S %Y" "Time online: %U:%I:%X")
        (signature "-- Phonebill logscan")
)

; *** UUCP TimeLog (UUSPOOL:TimeLog) ***
(scanner
        (name "UUCP TimeLog")
        (scanstring.default "%d-%t-%e %h:%m %I:%X in=%$ out=%$ %n")
        (signature "%d-%t-%e %h:%m Phonebill logscan")
)

; *** Trapfax ***
(scanner
        (name "Trapfax")
        (noyear 1)
        (scanstring.default "  %#  %d/%o %h:%m S  %a %#  %I:%X  %$")
        (signature "-- Phonebill logscan")
)

; *** MagiCall ***
(scanner
        (name "MagiCall")
        (scanstring.reset "%#/%#/%# %#:%#:%# - MagiCall session started.")
        (scanstring.default "%o/%d/%e %h:%m:%s - Connected to: %n." "%O/%D/%E %H:%M:%S - Disconnected.")
        (signature "%o/%d/%e %h:%m:%s - Phonebill logscan.")
)

; *** Terminus ***
(scanner
        (name "Terminus")
        (scanstring.reset "%#-%#-%# %#:%#:%# Session start")
        (scanstring.default "%d-%o-%e %h:%m:%s Connection at %#bps to: %n @ %a" "%D-%O-%E %H:%M:%S Hangup modem" "%D-%O-%E %H:%M:%S Carrier lost" "%D-%O-%E %H:%M:%S Session end")
        (signature "%d-%o-%e %h:%m:%s Phonebill logscan")
)

; *** JrComm ***
(scanner
        (name "JrComm")
        (scanstring.reset "%#/%#/%# %#:%#:%# - JR-Comm session started.")
        (scanstring.default "%o/%d/%e %h:%m:%s - %n:" "%O/%D/%E %H:%M:%S - JR-Comm session finished." "%O/%D/%E %H:%M:%S - Disconnected.")
        (signature "%o/%d/%e %h:%m:%s - Phonebill logscan")
)

; **** Multifax professional ****
(scanner
        (name "Multifax professional")
        (noyear 1)
        (scanstring.default "%d.%o. %h:%m %I:%X %# %20a %25n %$s")
        (signature "%d.%o. %h:%m Phonebill logscan")
)

; *** Multifax 2.0 ***
(scanner
        (name "Multifax 2.0")
        (scanstring.default "%# %3$ %t %d %h:%m:%s %y %# %# %I:%X %15a %n (%$")
        (signature "-- Phonebill logscan")
)

; *** TKR-BTX ***
(scanner
        (name "TKR-BTX")
        (scanstring.default "TEL. %a:" "ONLINE: %d.%o.%e %h:%m:%s (%#)  OFFLINE: %#.%#.%# %#:%#:%# (%#)  ==> %U:%I:%X")
        (signature "-- Phonebill logscan")
)

; *** MicroDot ***
(scanner
        (name "MicroDot")
        (scanstring.reset "%#:%#:%# %#.%#.%# EXIT MicroDot" "%#:%#:%# %#.%#.%# START MicroDot %$")
        (scanstring.default "%#:%#:%# %#.%#.%# NETCALL bei %n" "%#:%#:%# %#.%#.%# NETCALL Waehle %a" "%h:%m:%s %d.%o.%e NETCALL Verbindung hergestellt" "%H:%M:%S %D.%O.%E NETCALL %$ (%#s gesamte Verbindungsdauer)")
        (signature "%h:%m:%s %d.%o.%e Phonebill logscan")
)

; *** AutoPilot ***
(scanner
        (name "AutoPilot")
        (scanstring.reset "%#-%#-%# %#:%#:%# - AutoPilot Started" "%#-%#-%# %#:%#:%# - AutoPilot Terminated")
        (scanstring.default "%#-%#-%# %#:%#:%# - Dialing %n @ %a" "%o-%d-%e %h:%m:%s - Connected to %n @ %$" "%O-%D-%E %H:%M:%S - Hands On terminated" "%O-%D-%E %H:%M:%S - End of Session" "%O-%D-%E %H:%M:%S - Abnormal Termination of Session")
        (signature "%o-%d-%e %h:%m:%s - Phonebill logscan")
)

; *** TheAnswer ***
(scanner
        (name "TheAnswer")
        (scanstring.reset "%#.%#.%# %#:%#:%# - Sequenzende" "NEXT:")
        (scanstring.default "%#.%#.%# %#:%#:%# - Netcallbeginn auf %n" "%d.%o.%y %h:%m:%s - CONNECT-%$" "%D.%O.%Y %H:%M:%S - DISCONNECT")
        (signature "%d.%o.%y %h:%m:%s - Phonebill logscan")
)

; *** CyberPager ***
(scanner
        (name "CyberPager")
        (scanstring.default "(%#-%3$-%# %#:%#:%#) dialixo,%$,- dialed %n (%a) %$" "(%d-%t-%e %h:%m:%s) dialixo,%$,- login successful" "(%D-%T-%E %H:%M:%S) dialixo,%$,- connection terminated")
        (signature "(%d-%t-%e %h:%m:%s) Phonebill logscan")
)

; *** GPFax (Just a dummy entry -- this scanner is built-in) ***
(scanner
        (name "GPFax")
)

; *** JamMail ***
(scanner
        (name "JamMail")
        (scanstring.hardreset "")
        (scanstring.sticky "%c[32m[M] %#:%#:%# Startup on %$ %d-%t-%e" "%c[32m[M] %#:%#:%# Startup on %$ %d-%t-%e %#:%#:%#")
        (scanstring.reset "[%c] %#:%#:%# -busy" "[%c] %#:%#:%# Timeout" "[%c] %#:%#:%# Waiting for Call...")
        (scanstring.default "[%c] %#:%#:%# Trying To Connect To %n#%$" "[%c] %h:%m:%s connect %$" "[%c] %#:%#:%# End of %$ Session %$ Duration: %U:%I:%X")
        (signature "[M] %h:%m:%s Phonebill logscan")
)

; *** JamMail phone log ***
(scanner
        (name                   "JamMail phone log")
        (scanstring.default     "%y-%o-%d %h:%m:%s %U:%I:%X %# %$ %n#%a %$")
        (signature              "--- Phonebill logscan")
)

; *** Xenolink 1.90 ***
(scanner
    (name                   "Xenolink 1.90")
    (scanstring.reset       "%c %#-%3$-%# %#:%# Answering modem"
                            "|")
    (scanstring.default     "%c %#-%3$-%# %#:%# Xenolink mailer dialing %$ (at %a)"
                            "%c %d-%t-%e %h:%m CONNECT %$"
                            "%c %D-%T-%E %H:%M Session completed")
    (signature              "| %d-%t-%e %h:%m Phonebill logscan")
)

; *** DreamTerm log file (pre 1.40) ***
(scanner
        (name "DreamTerm pre 1.40 call log")
        (scanstring.reset "")
        (scanstring.default "%3$ %t %d %h:%m:%s %y %3$ %T %D %H:%M:%S %Y" "%n" "%a")
        (signature "-- Phonebill logscan")
)

; *** DreamTerm log file (1.40+)***
(scanner
        (name "DreamTerm 1.40+ call log ")
        (scanstring.reset "")
        (scanstring.default "%3$ %d-%t-%e %h:%m:%s %3$ %D-%T-%E %H:%M:%S" "%n" "%a")
        (signature "-- Phonebill logscan")
)

; *** OLA ***
(scanner
        (name                    "Off-line Amiga")
        (scanstring.reset        "%#-%#-%# %#:%#:%# AVE started."
                                 "%D-%O-%E %H:%M:%S Hang-up"
                                 "%D-%O-%E %H:%M:%S AVE ended.")
        (scanstring.default      "%#-%#-%# %#:%#:%# Dial %n %a"
                                 "%d-%o-%e %h:%m:%s Girotel sessie gestart.")
        (signature               "%d-%o-%e %h:%m:%s Phonebill logscan.")
)

; *** AmiTel ***
(scanner
        (name "AmiTel")
        (scanstring.reset        "")
        (scanstring.default      "%n (%$) (%a)"
                                 "%n (%a)"
                                 " (%a)"
                                 "Connexion   : %$ %d-%t-%e %h:%m:%s"
                                 "Déconnexion : %$ %D-%T-%E %H:%M:%S")
        (signature               "-- Phonebill logscan")
)


; *** ISDN-Master-Telephone-Log ***
(scanner
        (name                    "Master Telephone-Log")
        (scanstring.default      "DATE=%d-%o-%e TIME=%h:%m:%s MSN=%# PARTY=%a DURATION=%X COST=%# CODE=18")
        ; Signatures are currently disabled. If you want them to be enabled,
        ; remove the ";" from the following line, and replace "xxxx" with
        ; your number to fool the ISDN program.
        ;(signature               "DATE=%d-%o-%e TIME=%h:%m:%s MSN=1 PARTY=xxxx DURATION=0 COST=0 CODE=17 ;PBLS")
)

