Vonage::Click2Call - Perl extension for using the Vonage Click2Call service (https://secure.click2callu.com/)
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; }
Use the Vonage™ Click-2-Call third party interface (https://secure.click2callu.com/) to place a call from your Vonage line to another party.
Fixed string formatting bug (%d on phone numbers over 2.1billion numeric value). Thanks to Bill Smargiassi
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
perl, LWP::UserAgent, SSL
Matt Sanford, <mzsanford@cpan.org>
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:
Non-ASCII character seen before =encoding in 'Vonage™'. Assuming CP1252
To install Vonage::Click2Call, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Vonage::Click2Call
CPAN shell
perl -MCPAN -e shell install Vonage::Click2Call
For more information on module installation, please visit the detailed CPAN module installation guide.