| 1 |
SMS-OPS Module |
| 2 |
|
| 3 |
Carsten Bock |
| 4 |
|
| 5 |
ng-voice GmbH |
| 6 |
<[email protected]> |
| 7 |
|
| 8 |
Edited by |
| 9 |
|
| 10 |
Carsten Bock |
| 11 |
|
| 12 |
<[email protected]> |
| 13 |
|
| 14 |
Copyright © 2015 Carsten Bock, ng-voice GmbH |
| 15 |
__________________________________________________________________ |
| 16 |
|
| 17 |
Table of Contents |
| 18 |
|
| 19 |
1. Admin Guide |
| 20 |
|
| 21 |
1. Overview |
| 22 |
2. Dependencies |
| 23 |
|
| 24 |
2.1. Kamailio Modules |
| 25 |
2.2. External Libraries or Applications |
| 26 |
|
| 27 |
3. Parameters |
| 28 |
|
| 29 |
3.1. |
| 30 |
|
| 31 |
4. Functions |
| 32 |
|
| 33 |
4.1. isRPDATA() |
| 34 |
4.2. smsdump() |
| 35 |
|
| 36 |
5. Variables |
| 37 |
|
| 38 |
List of Examples |
| 39 |
|
| 40 |
1.1. isRPDATA() usage |
| 41 |
1.2. smsdump() usage |
| 42 |
|
| 43 |
Chapter 1. Admin Guide |
| 44 |
|
| 45 |
Table of Contents |
| 46 |
|
| 47 |
1. Overview |
| 48 |
2. Dependencies |
| 49 |
|
| 50 |
2.1. Kamailio Modules |
| 51 |
2.2. External Libraries or Applications |
| 52 |
|
| 53 |
3. Parameters |
| 54 |
|
| 55 |
3.1. |
| 56 |
|
| 57 |
4. Functions |
| 58 |
|
| 59 |
4.1. isRPDATA() |
| 60 |
4.2. smsdump() |
| 61 |
|
| 62 |
5. Variables |
| 63 |
|
| 64 |
1. Overview |
| 65 |
|
| 66 |
This module collects the Transformations for 3GPP-SMS. |
| 67 |
|
| 68 |
2. Dependencies |
| 69 |
|
| 70 |
2.1. Kamailio Modules |
| 71 |
2.2. External Libraries or Applications |
| 72 |
|
| 73 |
2.1. Kamailio Modules |
| 74 |
|
| 75 |
The following modules must be loaded before this module: |
| 76 |
* No dependencies on other Kamailio modules. |
| 77 |
|
| 78 |
2.2. External Libraries or Applications |
| 79 |
|
| 80 |
The following libraries or applications must be installed before |
| 81 |
running Kamailio with this module loaded: |
| 82 |
* None. |
| 83 |
|
| 84 |
3. Parameters |
| 85 |
|
| 86 |
3.1. |
| 87 |
|
| 88 |
There are no configurable Parameters yet |
| 89 |
|
| 90 |
4. Functions |
| 91 |
|
| 92 |
4.1. isRPDATA() |
| 93 |
4.2. smsdump() |
| 94 |
|
| 95 |
4.1. isRPDATA() |
| 96 |
|
| 97 |
Returns true, if the message contains RP-Data in its body. |
| 98 |
|
| 99 |
This function can be used from REQUEST_ROUTE. |
| 100 |
|
| 101 |
Example 1.1. isRPDATA() usage |
| 102 |
... |
| 103 |
if (isRPDATA()) |
| 104 |
{ |
| 105 |
... |
| 106 |
} |
| 107 |
... |
| 108 |
|
| 109 |
4.2. smsdump() |
| 110 |
|
| 111 |
Dumps the content of a 3GPP-SMS message to the Debug-Log. |
| 112 |
|
| 113 |
Please make sure, to have debug-Log enabled. Otherwise, you won't see |
| 114 |
anything. |
| 115 |
|
| 116 |
This function can be used from REQUEST_ROUTE. |
| 117 |
|
| 118 |
Example 1.2. smsdump() usage |
| 119 |
... |
| 120 |
smsdump(); |
| 121 |
... |
| 122 |
|
| 123 |
5. Variables |
| 124 |
|
| 125 |
Several variables are exported by the module to access the attributes |
| 126 |
of the SMS. |
| 127 |
* $smsack |
| 128 |
$smsbody |
| 129 |
$rpdata(key) |
| 130 |
$tpdu(key) |