Sending SMS from shell

How to send a SMS from the shell command line:

$ /usr/share/ofono/scripts/send-sms /ril_0 +4915122xxxxxx "hola amor" 0
Send message using modem /ril_0 ...
/ril_0/message_9E43FC88AB4794131903B8CD3BF4D1254D18DBD9

Last updated: Sat Oct 17 15:35:27 CEST 2015