Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.1

Request #16447 Create command line script for sending SMS messages
Submitted: 2009-07-17 19:34 UTC
From: loci Assigned:
Status: Open Package: Net_SMS (version CVS)
PHP Version: 5.2.5 OS: Unix/Linux
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-17 19:34 UTC] loci (Nikita Fedyashev)
Description: ------------ This can be very useful for those who need to send an SMS messages right from the command line. This script can use the main Net_SMS framework.

Comments

 [2009-07-17 22:08 UTC] bishop (Bishop Bettini)
I agree! I already have a command line script that's specifically hard-coded to use tmppl.com (my gateway), so we can refactor that into the Net_SMS framework. The question I have is how to generalize the script per driver -- that is, how to select the driver and supply the startup parameters for it (eg authentication). Maybe a configuration file? Or just require the user supply the information via the command-line and let them create their own aliases/scripts to simplify?
 [2009-07-18 13:49 UTC] doconnor (Daniel O'Connor)
Perhaps this would be better as an example piece of documentation, rather than a command line script. IE this package is about providing a collection of drivers, not about sending sms from the command line. Patches welcome