SMS::Send::VoIP::MS - SMS::Send driver for VoIP.ms Web Services
Configure /etc/SMS-Send.ini [VoIP::MS] username=myuser password=mypass did=8005551212 use SMS::Send; my $sms = SMS::Send->new('VoIP::MS'); my $success = $sms->send_sms(text=> 'Hello World!', to =>'+17035551212'); use SMS::Send::VoIP::MS; my $sms = SMS::Send::VoIP::MS->new; my $success = $sms->send_sms(text=> 'Hello World!', to =>'+17035551212'); my $json = $sms->{__content}; my $href = $sms->{__data};
SMS::Send driver for VoIP.ms Web Services.
my $success = $sms->send_sms(text=> 'Hello World!', to =>'+17035551212');
Sets and returns the username string value which is passed to the web service as "api_username"
$sms->username("override");
Sets and returns the password string value which is passed to the web service as "api_password"
$sms->password("override");
Sets and returns the "did" string value (Direct Inward Dialing Number aka the From Phone Number) which is passed to the web service as "did".
Sets and returns the url for the web service.
Default: https://voip.ms/api/v1/rest.php
VoIPms, https://www.voip.ms/m/apidocs.php, https://voip.ms/m/api.php
Michael R. Davis, mrdvt92
Copyright (C) 2020 by Michael R. Davis
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.3 or, at your option, any later version of Perl 5 you may have available.
To install SMS::Send::VoIP::MS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::VoIP::MS
CPAN shell
perl -MCPAN -e shell install SMS::Send::VoIP::MS
For more information on module installation, please visit the detailed CPAN module installation guide.