Send SMS via VoIP provider API

Hi Everyone,

My VoIP provider offers an API to send SMS, any ideas how I might implement it in OpenHab 2 to send notifications or use in rules?

The documentation is here:


Use the sendHttpGetRequest Action. It is a pretty straight forward API.

You may need to use URL encoding for some characters like spaces.

Consider Design Pattern: Separation of Behaviors so you can put this call in one place and still send alerts from all your rules.