I would like to send an sms that is in the variable. But i got no value when receiving the sms
code :
set var="http:\\google.com.sg/maps?"
echo "$var" | sudo gammu sendsms TEXT +65123456
please advise.
Thank you.
http://en.doc.centreon.com/HowToSendSMSWithGammueddie25wm wrote:I would like to send an sms that is in the variable. But i got no value when receiving the sms
please advise.Code: Select all
set var="http:\\google.com.sg/maps?" echo "$var" | sudo gammu sendsms TEXT +65123456
Thank you.
Code: Select all
set var="http://google.com.sg/maps?"
echo "$var" | gammu --sendsms TEXT +65123456
Not just that, but in the middle of the night in the United Kingdom when we're all sleeping.jamesh wrote:Your post has been up less than four hours. You might need to try a little patience....
Code: Select all
var="http://google.com.sg/maps?"
echo "$var" | gammu --sendsms TEXT +65123456
I wonder if that site is reliable? It differs from what seems to be the 'home' site for the project, which gives the commands as arguments, not options.DougieLawson wrote: http://en.doc.centreon.com/HowToSendSMSWithGammu
Try changing your code to:Code: Select all
set var="http://google.com.sg/maps?" echo "$var" | gammu --sendsms TEXT +65123456
Code: Select all
echo "All your base are belong to us" | gammu sendsms TEXT 123456