Mercurial > prosody-modules
view mod_sms_free/README.markdown @ 5381:32a9817c7516
mod_firewall: Initialize compiled chunk just once for all handlers
This should fix a case where some stateful dependencies (such as throttles)
produce separate instances for every call to new_handler(), leading to
surprising behaviour (e.g. rules executed via JUMP CHAIN vs ::deliver would
have separate rate limits).
This also adds better error handling in case the compiled code fails to run
for some reason.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 28 Apr 2023 13:27:06 +0100 |
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) ----- ------------------------------------