PBLogAn 0.0.5 - Phone Box Log Analyzer
======================================
Author: solx@internet.com.uy



See the COPYING for license information.


Description
-----------
Dump information from a Phone Box which prints information via serial
port. The data is captured in a postgresql database, what let us make 
several kind of queryies.
Supports Panasonic KXT308/616 and Goldstar PBX.

***
The readserial script is based on a program written by Paul Haas, the 
original program can be reached at http://hamjudo.com/rcx/talkrcx.txt
***


Install
-------
Read de INSTALL file.


The database structure
----------------------

	costos (costs per minute)
		pref	prefix, it can contain a string or a regular 
			expression
		codigo	code, that identify the group of rates 
		xhora	per hour, if it depends on a per hour rate
		costo	cost, the value of a minute

	tarifas (rates)
		codigo	code, that identify the group of rates
		desde	since,  
		hasta	until, period of time where the rate applyies
		pulsos	pulses, amount of pulses that are computed per minute
		dow	dow, day of the week

	personas (people that uses the PBX)
		codigo	internal code that identifies the user
		nombre  user name
		passwd  this password is the "identification" the user must
			type in the phoneset.

	personales (personal phone numbers)

	comercial 
	
	log	
	



