SMS-OPS Module

Carsten Bock

ng-voice GmbH

Edited by

Carsten Bock


Table of Contents

1. Admin Guide
1. Overview
2. Dependencies
2.1. Kamailio Modules
2.2. External Libraries or Applications
3. Parameters
3.1.
4. Functions
4.1. isRPDATA()
4.2. smsdump()
5. Variables

List of Examples

1.1. isRPDATA() usage
1.2. smsdump() usage

Chapter 1. Admin Guide

1. Overview

This module collects the Transformations for 3GPP-SMS.

2. Dependencies

2.1. Kamailio Modules

The following modules must be loaded before this module:

  • No dependencies on other Kamailio modules.

2.2. External Libraries or Applications

The following libraries or applications must be installed before running Kamailio with this module loaded:

  • None.

3. Parameters

There are no configurable Parameters yet

4. Functions

4.1. isRPDATA()

Returns true, if the message contains RP-Data in its body.

This function can be used from REQUEST_ROUTE.

Example 1.1. isRPDATA() usage

...
if (isRPDATA())
{
    ...
}
...

4.2. smsdump()

Dumps the content of a 3GPP-SMS message to the Debug-Log.

Please make sure, to have debug-Log enabled. Otherwise, you won't see anything.

This function can be used from REQUEST_ROUTE.

Example 1.2. smsdump() usage

...
smsdump();
...

5. Variables

Several variables are exported by the module to access the attributes of the SMS.

  • $smsack

    $smsbody

    $rpdata(key)

    $tpdu(key)