Presence_MWI Module

Juha Heinanen

   <jh@tutpro.com>

Edited by

Juha Heinanen

   <jh@tutpro.com>

   Copyright © 2007 Juha Heinanen
     __________________________________________________________________

   Table of Contents

   1. Admin Guide

        1. Overview
        2. Dependencies

              2.1. Kamailio Modules
              2.2. External Libraries or Applications

        3. Parameters

              3.1. default_expires (int)

        4. Functions

   List of Examples

   1.1. Set default_expires parameter

Chapter 1. Admin Guide

   Table of Contents

   1. Overview
   2. Dependencies

        2.1. Kamailio Modules
        2.2. External Libraries or Applications

   3. Parameters

        3.1. default_expires (int)

   4. Functions

1. Overview

   The module does specific handling for notify-subscribe message-summary
   (message waiting indication) events as specified in RFC 3842. It is
   used with the general event handling module, presence. It constructs
   and adds message-summary event to it.

   The module does not currently implement any authorization rules. It
   assumes that publish requests are only issued by a voicemail
   application and subscribe requests only by the owner of voicemail box.
   Authorization can thus be easily done by Kamailio configuration file
   before calling handle_publish() and handle_subscribe() functions.

   The module implements a simple check of content type
   “application/simple-message-summary:” Content must start with
   “Messages-Waiting” status line followed by zero or more lines that
   consist of tabs and printable ASCII characters.

2. Dependencies

   2.1. Kamailio Modules
   2.2. External Libraries or Applications

2.1. Kamailio Modules

   The following modules must be loaded before this module:
     * presence.

2.2. External Libraries or Applications

   None.

3. Parameters

   3.1. default_expires (int)

3.1. default_expires (int)

   The default expires value used when missing from SUBSCRIBE message (in
   seconds).

   Default value is “3600”.

   Example 1.1. Set default_expires parameter
            ...
            modparam("presence_mwi", "default_expires", 3600)
            ...

4. Functions

   None to be used in configuration file.
