| 1 |
SS7 Ops Module |
| 2 |
|
| 3 |
Holger Freyther |
| 4 |
|
| 5 |
<[email protected]> |
| 6 |
|
| 7 |
Edited by |
| 8 |
|
| 9 |
Holger Freyther |
| 10 |
|
| 11 |
<[email protected]> |
| 12 |
|
| 13 |
Copyright © 2016 Strong Leaf Consultant Ltd. |
| 14 |
__________________________________________________________________ |
| 15 |
|
| 16 |
Table of Contents |
| 17 |
|
| 18 |
1. Admin Guide |
| 19 |
|
| 20 |
1. Overview |
| 21 |
2. External Libraries or Applications |
| 22 |
3. Functions |
| 23 |
|
| 24 |
3.1. isup_to_json |
| 25 |
|
| 26 |
4. Variables |
| 27 |
|
| 28 |
4.1. isup(id) |
| 29 |
|
| 30 |
List of Examples |
| 31 |
|
| 32 |
1.1. isup_to_json usage |
| 33 |
|
| 34 |
Chapter 1. Admin Guide |
| 35 |
|
| 36 |
Table of Contents |
| 37 |
|
| 38 |
1. Overview |
| 39 |
2. External Libraries or Applications |
| 40 |
3. Functions |
| 41 |
|
| 42 |
3.1. isup_to_json |
| 43 |
|
| 44 |
4. Variables |
| 45 |
|
| 46 |
4.1. isup(id) |
| 47 |
|
| 48 |
1. Overview |
| 49 |
|
| 50 |
The ss7ops module can currently handle M2UA/MTP-L3/ISUP and convert it |
| 51 |
to JSON. In the future this might gain support for more SIGTRAN |
| 52 |
adoptions and ITU TCAP/GSM MAP. |
| 53 |
|
| 54 |
2. External Libraries or Applications |
| 55 |
|
| 56 |
The following libraries or applications must be installed before |
| 57 |
running Kamailio with this module loaded: |
| 58 |
* None. |
| 59 |
|
| 60 |
3. Functions |
| 61 |
|
| 62 |
3.1. isup_to_json |
| 63 |
|
| 64 |
3.1. isup_to_json |
| 65 |
|
| 66 |
isup_to_json(proto) |
| 67 |
|
| 68 |
Pass the HEP protocol type as parameter (e.g. 8 for M2UA) and the |
| 69 |
contained ISUP payload will be converted to a JSON string. The result |
| 70 |
can be accessed using the $isup(1) variable. |
| 71 |
|
| 72 |
Example 1.1. isup_to_json usage |
| 73 |
... |
| 74 |
isup_to_json(8); |
| 75 |
... |
| 76 |
|
| 77 |
4. Variables |
| 78 |
|
| 79 |
4.1. isup(id) |
| 80 |
|
| 81 |
4.1. isup(id) |
| 82 |
|
| 83 |
If id is set to 1, return the JSON representation as string for the |
| 84 |
last message that was parsed. |