Convert::Cisco - Module for converting Cisco billing records


Convert-Cisco documentation  | view source Contained in the Convert-Cisco distribution.

Index


NAME

Top

Convert::Cisco - Module for converting Cisco billing records

VERSION

Top

Version 0.06

SYNOPSIS

Top

Convert Cisco billing record binary files. The format is available on the Cisco Website:

 http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel9/billinf/r9chap1.htm

Module used to convert Cisco billing records into XML

 use Convert::Cisco;

 my $obj = Convert::Cisco->new(stylesheet=>"cisco.xsl");
 $obj->to_xml("test.bin", "test.xml");

FUNCTIONS

Top

new

Constructor method, has the following optional parameters:

stylesheet

Adds a xml-stylesheet processing instruction to the top of all converted XML files

 <?xml-stylesheet href="cisco.xsl" type="text/xsl"?>

config

Billing record configuration data expressed in YAML format. This option is normally only used by the tests because it over-rides the modules field configuration.

to_xml

Converts a file into XML format. The current record format is:

 <?xml version="1.0" encoding="UTF-8"?>
 <cdrs>
  ..
  ..
  <cdb tag="1110" name="EndOfCall">
    <cde name="calling_party_category" tag="3000">0a</cde>
    <cde name="user_service_info" tag="3001">8090a3</cde>
    <cde name="calling_number_nature_of_address" tag="3003">02</cde>
	..
	..
  </cdb>
  ..
  ..

NOTE:

The XML format is subject to change and needs an associated XML DTD or Schema.

AUTHOR

Top

Mark O'Connor, <marko@cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-convert-cisco at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Convert-Cisco. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Convert::Cisco

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Convert-Cisco

* CPAN Ratings

http://cpanratings.perl.org/d/Convert-Cisco

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Convert-Cisco

* Search CPAN

http://search.cpan.org/dist/Convert-Cisco

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Convert-Cisco documentation  | view source Contained in the Convert-Cisco distribution.