Build Status codecov

NAME

ComXo::Call2 - API for the ComXo Call2 service (www.call2.com)

SYNOPSIS

use ComXo::Call2;

DESCRIPTION

ComXo::Call2 is a perl implemention for http://www.comxo.com/webservices/buttontel.cfm

METHODS

new

InitCall

Initiate A Call

my $call_id = $call2->InitCall(
    anumber  => $call_to,   # to number
    bnumber  => $call_from, # from number
    alias    => 'alias',    # optional
) or die $call2->errstr;

GetAllCalls

Get All Call Details

my @calls = $call2->GetAllCalls(
    fromdate => $dt_from,
    todate   => $dt_to
) or die $call2->errstr;

Array of arrayref of

Call Reference,Start Time,A Number,B Number,A Clear Reason,B Clear Reason,A Status,B Status,Duration(seconds), A Country,B Country,Cost,Name,Company,Post Code,Email,Product,URL,Extra1,Extra2,Extra3,Extra4,Extra5,AAnswered,BAnswered

GetCallStatus

Get Call Details

my $call_status = $call2->GetCallStatus($call_id) or die $call2->errstr;

Arrayref of

Call Reference,Start Time,A Number,B Number,A Clear Reason,B Clear Reason,A Status,B Status,Duration(seconds), A Country,B Country,Cost,Name,Company,Post Code,Email,Product,URL,Extra1,Extra2,Extra3,Extra4,Extra5,AAnswered,BAnswered

AUTHOR

Binary.com fayland@binary.com

COPYRIGHT

Copyright 2014- Binary.com

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO