|
@@ -12,60 +12,72 @@ Juha Heinanen
|
|
|
|
|
|
Copyright © 2007 Juha Heinanen
|
|
Copyright © 2007 Juha Heinanen
|
|
Revision History
|
|
Revision History
|
|
- Revision $Revision: 1 $ $Date: 2007-04-30 14:05:57 +0200 (Mon,
|
|
|
|
- 30 Jan 2007) $
|
|
|
|
- __________________________________________________________
|
|
|
|
|
|
+ Revision $Revision: 1 $ $Date: 2007-04-30 14:05:57 +0200 (Mon, 30 Jan
|
|
|
|
+ 2007) $
|
|
|
|
+ __________________________________________________________________
|
|
|
|
|
|
Table of Contents
|
|
Table of Contents
|
|
|
|
|
|
1. Admin Guide
|
|
1. Admin Guide
|
|
|
|
|
|
- 1.1. Overview
|
|
|
|
- 1.2. Dependencies
|
|
|
|
|
|
+ 1. Overview
|
|
|
|
+ 2. Dependencies
|
|
|
|
|
|
- 1.2.1. Kamailio Modules
|
|
|
|
- 1.2.2. External Libraries or Applications
|
|
|
|
|
|
+ 2.1. Kamailio Modules
|
|
|
|
+ 2.2. External Libraries or Applications
|
|
|
|
|
|
- 1.3. Exported Parameters
|
|
|
|
- 1.4. Exported Functions
|
|
|
|
|
|
+ 3. Exported Parameters
|
|
|
|
+ 4. Exported Functions
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
Chapter 1. Admin Guide
|
|
|
|
|
|
-1.1. Overview
|
|
|
|
|
|
+ Table of Contents
|
|
|
|
+
|
|
|
|
+ 1. Overview
|
|
|
|
+ 2. Dependencies
|
|
|
|
+
|
|
|
|
+ 2.1. Kamailio Modules
|
|
|
|
+ 2.2. External Libraries or Applications
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
+ 3. Exported Parameters
|
|
|
|
+ 4. Exported Functions
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
+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
|
|
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.
|
|
|
|
|
|
+ "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
|
|
|
|
|
|
-1.2. Dependencies
|
|
|
|
|
|
+ 2.1. Kamailio Modules
|
|
|
|
+ 2.2. External Libraries or Applications
|
|
|
|
|
|
-1.2.1. Kamailio Modules
|
|
|
|
|
|
+2.1. Kamailio Modules
|
|
|
|
|
|
The following modules must be loaded before this module:
|
|
The following modules must be loaded before this module:
|
|
* presence.
|
|
* presence.
|
|
|
|
|
|
-1.2.2. External Libraries or Applications
|
|
|
|
|
|
+2.2. External Libraries or Applications
|
|
|
|
|
|
None.
|
|
None.
|
|
|
|
|
|
-1.3. Exported Parameters
|
|
|
|
|
|
+3. Exported Parameters
|
|
|
|
|
|
None.
|
|
None.
|
|
|
|
|
|
-1.4. Exported Functions
|
|
|
|
|
|
+4. Exported Functions
|
|
|
|
|
|
None to be used in configuration file.
|
|
None to be used in configuration file.
|