Table of Contents
List of Tables
List of Examples
This module serves as an example of how to write a module in OpenSIPS. Its primary goal is to simplify the development of new modules for newcomers, providing a clear and accessible starting point.
The following modules must be loaded before this module:
No dependencies on other OpenSIPS modules.
The default parameter used when the example_str() function is called without any parameter.
Default value is “” (empty sring).
The default parameter used when the example_int() function is called without any parameter.
Default value is “0”.
Function that simply prints a message to log, saying that it has been called.
This function can be used from any route.
Function that simply prints a message to log, saying that it has been called. If a parameter is passed, it is printed in the log, otherwise the value of default_str parameter is used.
Meaning of the parameters is as follows:
string (string, optional) - parameter to be logged
This function can be used from any route.
Function that simply prints a message to log, saying that it has been called. If a parameter is passed, it is printed in the log, otherwise the value of default_int parameter is used.
Meaning of the parameters is as follows:
int (integer, optional) - parameter to be logged
This function can be used from any route.
Table 2.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
Name | DevScore | Commits | Lines ++ | Lines -- | |
---|---|---|---|---|---|
1. | Razvan Crainea (@razvancrainea) | 4 | 1 | 349 | 0 |
(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)
(2) including any documentation-related commits, excluding merge commits. Regarding imported patches/code, we do our best to count the work on behalf of the proper owner, as per the "fix_authors" and "mod_renames" arrays in opensips/doc/build-contrib.sh. If you identify any patches/commits which do not get properly attributed to you, please submit a pull request which extends "fix_authors" and/or "mod_renames".
(3) ignoring whitespace edits, renamed files and auto-generated files
Table 2.2. Most recently active contributors(1) to this module
Name | Commit Activity | |
---|---|---|
1. | Razvan Crainea (@razvancrainea) | Jul 2024 - Jul 2024 |
(1) including any documentation-related commits, excluding merge commits
Last edited by: Razvan Crainea (@razvancrainea).
Documentation Copyrights:
Copyright © 2024 OpenSIPS Solutions;