The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SMS::Send::VoIP::MS - SMS::Send driver for VoIP.ms Web Services

SYNOPSIS

  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};

DESCRIPTION

SMS::Send driver for VoIP.ms Web Services.

METHODS

send_sms

  my $success = $sms->send_sms(text=> 'Hello World!', to =>'+17035551212');

PROPERTIES

username

Sets and returns the username string value which is passed to the web service as "api_username"

  $sms->username("override");

password

Sets and returns the password string value which is passed to the web service as "api_password"

  $sms->password("override");

did

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".

url

Sets and returns the url for the web service.

Default: https://voip.ms/api/v1/rest.php

SEE ALSO

VoIPms, https://www.voip.ms/m/apidocs.php, https://voip.ms/m/api.php

AUTHOR

Michael R. Davis, mrdvt92

COPYRIGHT AND LICENSE

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.