mod_csi_simple Client State Indication

This module enables simple traffic optimisation for clients that have reported themselves as inactive to mod_csi.

This module automatically loads mod_csi.

How it works

The module works by buffering unimportant traffic to inactive devices, such as contact status changes. The data is released when any important data comes in (such as a message from a contact), or when the queue size is reached.

Stanzas currently classified as important are:

  • presence stanzas other than status changes, i.e. subscription requests.
  • message stanza that…
  • Any iq stanzas.

The decision can be further influenced by other modules.

Configuration

option type default
csi_queue_size number 256

History

This module was first added in 0.11.x. It came from the community module mod_csi_pump.

In trunk it will also flush the queue when incoming traffic from clients is received, since its radio would be active already.