NAME
NetSDS::EDR - read/write Event Details Records
SYNOPSIS
use NetSDS::EDR;
my $edr = NetSDS::EDR->new(
filename => '/mnt/billing/call-stats.dat',
);
...
$edr->write(
{
callerid => '80441234567',
clip => '89001234567',
start_time => '2006-12-55 12:21:46',
end_time => '2008-12-55 12:33:22'
}
);
DESCRIPTION
NetSDS
module contains superclass all other classes should be inherited from.
CLASS API
- new(%params) - class constructor
-
my $edr = NetSDS::EDR->new( filename => '/mnt/stat/ivr.dat', );
- write($rec1 [,$rec2 [...,$recN]]) - write EDR to file
-
This methods converts records to JSON and write to file. Each record writing to one separate string.
EXAMPLES
See samples
directory.
BUGS
Unknown yet
SEE ALSO
None
TODO
None
AUTHOR
Michael Bochkaryov <misha@rattler.kiev.ua>