proto_sctp Module


Table of Contents

1. Admin Guide
1.1. Overview
1.2. Dependencies
1.2.1. OpenSIPS Modules
1.2.2. External Libraries or Applications
1.3. Exported Parameters
1.3.1. sctp_port (integer)
2. Frequently Asked Questions
3. Contributors
3.1. By Commit Statistics
3.2. By Commit Activity
4. Documentation
4.1. Contributors

List of Tables

3.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
3.2. Most recently active contributors(1) to this module

List of Examples

1.1. Set sctp_port parameter

Chapter 1. Admin Guide

1.1. Overview

The proto_sctp module is an optional transport module (shared library) which exports the required logic in order to handle SCTP-based communication. (socket initialization and send/recv primitives to be used by higher-level network layers)

Once loaded, you will be able to define "sctp:" listeners in your script.

1.2. Dependencies

1.2.1. OpenSIPS Modules

The following modules must be loaded before this module:

  • None.

1.2.2. External Libraries or Applications

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

  • None.

1.3. Exported Parameters

1.3.1. sctp_port (integer)

The default port to be used for all SCTP related operation. Be careful as the default port impacts both the SIP listening part (if no port is defined in the SCTP listeners) and the SIP sending part (if the destination SCTP URI has no explicit port).

If you want to change only the listening port for STP, use the port option in the SIP listener defintion.

Default value is 5060.

Example 1.1. Set sctp_port parameter

...
modparam("proto_sctp", "sctp_port", 5070)
...

Chapter 2. Frequently Asked Questions

2.1.

After switching to OpenSIPS 2.1, I'm getting this error: "listeners found for protocol sctp, but no module can handle it"

You need to load the "proto_sctp" module. In your script, make sure you do a loadmodule "proto_sctp.so" after setting the mpath.

Chapter 3. Contributors

3.1. By Commit Statistics

Table 3.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)

 NameDevScoreCommitsLines ++Lines --
1. Bogdan-Andrei Iancu (@bogdan-iancu)11544873
2. Razvan Crainea (@razvancrainea)1081118
3. Liviu Chircu (@liviuchircu)7415325
4. Maksym Sobolyev (@sobomax)421110
5. Ionut Ionita (@ionutrazvanionita)3111
6. Peter Lemenkov (@lemenkov)3111
7. Zero King (@l2dy)3111
8. Vlad Patrascu (@rvlad-patrascu)2110

(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

3.2. By Commit Activity

Table 3.2. Most recently active contributors(1) to this module

 NameCommit Activity
1. Maksym Sobolyev (@sobomax)Feb 2023 - Nov 2023
2. Bogdan-Andrei Iancu (@bogdan-iancu)Feb 2015 - Apr 2021
3. Zero King (@l2dy)Mar 2020 - Mar 2020
4. Razvan Crainea (@razvancrainea)Aug 2015 - Sep 2019
5. Peter Lemenkov (@lemenkov)Jun 2018 - Jun 2018
6. Liviu Chircu (@liviuchircu)Mar 2015 - Jun 2018
7. Vlad Patrascu (@rvlad-patrascu)May 2017 - May 2017
8. Ionut Ionita (@ionutrazvanionita)Feb 2016 - Feb 2016

(1) including any documentation-related commits, excluding merge commits

Chapter 4. Documentation

4.1. Contributors

Last edited by: Zero King (@l2dy), Peter Lemenkov (@lemenkov), Liviu Chircu (@liviuchircu), Bogdan-Andrei Iancu (@bogdan-iancu).

Documentation Copyrights:

Copyright © 2015 www.opensips-solutions.com