view mod_sms_free/README.markdown @ 4939:7d6ae8bb95dc

mod_delegation: use clean_xmlns to remove jabber:client namespace from node: for the same reason as in mod_privilege, `jabber:client` namespace is removed with the clean_xmlns method coming from there. Furthermore, the forwarded <iq> stanza use the `jabber:client` xmlns while the stanza may come from a component with e.g. `jabber:component:accept` xmlns, this can lead to inconsistencies between the <iq> stanza and children (like <error> element).
author Goffi <goffi@goffi.org>
date Sat, 28 May 2022 16:42:13 +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)
  ----- ------------------------------------