Telstra and Vodafone have a mobile number that you can dial
which provides a terminal interface that you can send your
message via. The telco's make their money off the mobile
phone charge.
Vodafone will send to any mobile, Telstras only sends to
Telstra mobiles. Can't remember if the number below is
Telstra or Vodafone. Check it out by dialing the number
with minicom.
rgds
Pete
--
#!/bin/sh
SMSNUMBER=0412345678
SMSMESSAGE=This is a test
CHATFILE=/tmp/chat
cat <<END >$CHATFILE
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "atz"
OK "atm1l1"
OK "atdt00418707767"
"TO QUIT)" "$SMSNUMBER"
"RETURN KEY" "$SMSMESSAGE"
"" ""
END
/usr/sbin/chat -v -f $CHATFILE </dev/modem >/dev/modem
if [ $? -ne 0 ]
then
echo Message Unsuccessful!
else
echo Message \"$SMSMESSAGE\" Sent
fi
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug