voiptext is a command-line utility which can send short text messages to phones through a VoIP service that supports such functionality.