1 package FS::cdr::asterisk;
4 use vars qw(@ISA %info);
5 use FS::cdr qw(_cdr_date_parser_maker);
9 #http://www.the-asterisk-book.com/unstable/funktionen-cdr.html
12 OMIT => 1, #asterisk 1.4+
13 IGNORE => 1, #asterisk 1.2
14 BILLING => 2, #asterisk 1.4+
15 BILL => 2, #asterisk 1.2
33 _cdr_date_parser_maker('startdate'),
34 _cdr_date_parser_maker('answerdate'),
35 _cdr_date_parser_maker('enddate'),
39 sub { my($cdr, $amaflags) = @_; $cdr->amaflags($amaflags{$amaflags}); },