NAME

Vonage::Click2Call - Perl extension for using the Vonage Click2Call service (https://secure.click2callu.com/)

SYNOPSIS

use Vonage::Click2Call;

my $vonage = Vonage::Click2Call->new(login => 'user',
                                     password => 'pass',
                                     no_https_check => 1, # wasteful after the first time. turn it off.
                                     );
if (! $vonage) {
    # no $vonage for errstr...
    die "Failed during initilization : " . $Vonage::Click2Call::errstr;
}

# get my phone numbers
my @phoneNumbers = $vonage->fromNumbers();
if (! defined($phoneNumbers[0])) {
    die "No phone numbers found : " . $vonage->errstr;
}
printf("I have %d numbers configured.",scalar(@phoneNumbers));

# call someone. don't forget the leading 1.
my $rc = $vonage->call($phoneNumbers[0],'12125551234');
if (! $rc) {
    die "Failed to place a call : " . $vonage->errstr;
}

DESCRIPTION

Use the Vonage™ Click-2-Call third party interface (https://secure.click2callu.com/) to place a call from your Vonage line to another party.

HISTORY

0.11

Fixed string formatting bug (%d on phone numbers over 2.1billion numeric value). Thanks to Bill Smargiassi

0.10

Original version; created by h2xs 1.23 with options

  -A
	-C
	-X
	-b
	5.5.3
	-n
	Vonage::Click2Call
	--skip-exporter
	--skip-autoloader
	-v
	0.10

SEE ALSO

perl, LWP::UserAgent, SSL

AUTHOR

Matt Sanford, <mzsanford@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Matt Sanford

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 122:

Non-ASCII character seen before =encoding in 'Vonage™'. Assuming CP1252