Daniel-Constantin
Mierla
FhG FOKUS

    		mierla@fokus.fraunhofer.de

2003
FhG FOKUS
$Revision: 1.4 $
$Date: 2007/01/17 12:14:58 $

# Msilo Module

## Overview

This modules provides offline message storage for SER. It stores received messages for an offline user and sends them when the user becomes online.

For each message, the modules stores "Request-URI" ("R-URI") only if it is a complete address of record ("username@hostname"), URI from "To" header, URI from "From" header, incoming time, expiration time, content type and body of the message. If "R-URI" is not an address of record (it might be the contact address for current SIP session) the URI from "To" header will be used as R-URI.

When the expiration time passed, the message is discarded from database. Expiration time is computed based on incoming time and one of the module's parameters.

Every time when a user registers with SER, the module is looking in database for offline messages intended for that user. All of them will be sent to contact address provided in REGISTER request.

It may happen the SIP user to be registered but his SIP User Agent to have no support for MESSAGE request. In this case it should be used the "failure_route" to store the undelivered requests.

## Dependencies

### SER modules

The following modules must be loaded before this module:

- database module - mysql, dbtext or other module that implements the "db" interface and provides support for storing/receiving data to/from a database system.

- tm - Transaction module is used to send SIP requests.

## Installation And Running

### SER Configuration File

Configuration example for msilo module.

#### SER Configuration Example