.AmiLog - 25. Oktober 1995 NAME AmiLog - Erzeugt CallInfo-Kompatibles Logfile, welches mit PhoneBill ausgewertet werden kann. Damit können AmiTCP-Verbindungen (z.B. per SLIP oder PPP) mit in die Telefonabrechnung einbezogen werden. SYNOPSIS AmiLog NAME/K,NUMBER/K DESCRIPTION Ohne Optionen wird in die dafür vorgesehen Platzhalter eine Info- und Copyright-Meldung ausgegeben, da diese Plätze nicht leer sein dürfen. Ansonsten werden die als Parameter übergebenen "Info-Strings" an die dafür vorgesehene Stelle im CallInfo-Output eingefügt. Sowohl die Option "NAME" als auch "NUMBER" erwarten nur normale Strings als Eingabe. Mit "NUMBER" wird nur angedeutet, daß CallInfo dort eigentlich die Telefonnummer der Verbindung ausgegeben hätte. Phonebill unterscheidet an dieser Stelle jedoch keine Strings von Zahlen, so daß ich hier eine etwas freiere Gestaltung des Logfiles zulasse. AmiLog erzeugt eine CallInfo-kompatible Ausgabe (vergleichbar auch mit dem Log_Calls-File von Term) beim Start und wartet dann auf ein Ctrl-c, um die Ausgabe zu vervollständigen. USAGE In Verbindung mit AmiTCP kann ein CallInfo-kompatibles Logfile erzeugt werden, welches mit PhoneBill ausgewertet werden kann. Somit wird es möglich, AmiTCP-Verbindungen (über kostenpflichtige Telefonleitungen) mit in die Gebührenberechnung von Phonebill einzubinden. Dazu muß bei PhoneBill als Scanner "Term call log" gewählt werden. Ein Aufruf bietet sich in "AmiTCP:db/User-Startnet" an: Run AmiTCP:bin/AmiLog >>AmiTCP:log/AmiTCP.log AmiLog erzeugt dabei den 1. Teil der Ausgabe (Verbindungsaufbau) und hängt ihn (deshalb >>) an die Datei "AmiTCP:log/AmiTCP.log" an. Danach wartet AmiLog auf ein Ctrl-C, um die Ausgabe zu vervollständigen und sich zu beenden. Dies geschieht am Besten in der Datei "AmiTCP:bin/stopnet": Break >NIL: `Status COM=AmiTCP:bin/AmiLog` Dabei ist auf die korrekte Pfadangabe zu achten, es muß die gleiche wie beim Start von AmiLog sein! Nach diesem Break vervollständigt AmiLog die Ausgabe und wird automatisch beendet. SEE ALSO Phonebill 3.3c, © 1993-1995 SPHINX, geschrieben von Raymond Penners. BUGS Das Programm ist Enforcer- und Mungwall geprüft und es sind (noch?) keine Bugs bekannt. HISTORY 1.0 Erste Version, ohne Parameter 1.1 Mit Parameter 1.2 Mit komfortablen (ReadArgs-) Parametern COPYRIGHT The whole program and all files in this archive are © 1995 by Manuel Fischer. All rights reserved. This is freely distributable software, not Public Domain. AUTHOR Manuel Fischer Cunostr. 17 D-14199 Berlin Germany EMail: leto@cs.tu-berlin.de or M_Fischer@bamp.berlinet.de The program was written with GoldED and compiled with SAS/C V 6.56. DISTRIBUTION This program may be copied and freely distributed via electronic media such as Mailboxes, Internet and Usenet, as long as the integrity of the whole archive is kept and this README is included without any changes. You are allowed to re-pack this archive with other compressing methods, as long as all files are kept unmodified in such a new archive. You are not allowed to add any files to the archive, delete any files from the archive or modify any of the files in the archive. Especially BBS sysops are not allowed to add any advertisments to this archive or to any of the files of the archive. If you find any archive with such BBS ads, please send them to me. This software may only be included in freely distributable Disk and CDROM libraries with the written permission of the author. If you want to be added, please send me a stamped, self addressed envelope. This permission is herewith given for The Fred Fish Library (including the CD ROM releases) The Fred Fish Library on CD ROM The AmiNet CD ROM's from Walnut Creek DISCLAIMER The following disclaimer is for the program called 'AmiLog', from now on called 'program'. I hereby reject any liability or responsibility for these or any other consequences from the use of 'program' whatsoever. This includes, but is not limited to, damage to your equipment, to your data, personal injuries, loss of money, loss of hair, loss of concience or any other kinds of side effects. Although 'program' has been tested thoroughly on some different machines, I cannot rule out the possibility that 'program' * is somehow incompatible to your equipment * has bugs that show up on your equipment * does not do what it is supposed to do on your equipment It is your responsiblity to take any precautions necessary to protect yourself from these or any other effects. I explicitly reject any liability or responsibility from the consequences of you using 'program'.