view mod_sms_free/README.markdown @ 5276:67777cb7353d

mod_http_oauth2: Pedantic optimization Checking the length of the string seems like 30% more expensive than comparing it with the empty string (by reference, probably).
author Kim Alvefur <zash@zash.se>
date Sun, 26 Mar 2023 14:37:42 +0200
parents a07bd12fe554
children
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: XMPP to SMS gateway using the HTTP API provided by mobile.free.fr
...

Introduction
============

This module sends an SMS to your phone when you receive a message on XMPP when
your status is xa or disconnected.

Note that it doesn’t support sending SMS to anyone else than yourself, in that
it is quite different from other gateways.

Configuration
=============

In prosody.cfg.lua:

    modules_enabled = {
        "sms_free",
    }

Usage
=====

Every user who wants to use this gateway can issue an ad-hoc command to their
server, then follow the instructions and start receiving messages by SMS when
they are unavailable or xa.

Compatibility
=============

  ----- ------------------------------------
  trunk Works
  0.11  Does not work (SNI support required)
  ----- ------------------------------------