PROTO_UDP module
Admin Guide
Section titled “Admin Guide”Overview
Section titled “Overview”The proto_udp module is a built-in transport module which exports the required logic in order to handle UDP-based communication. (socket initialization and send/recv primitives to be used by higher-level network layers)
Once loaded, you will be able to define “udp:” listeners in your script.
Dependencies
Section titled “Dependencies”OpenSIPS Modules
Section titled “OpenSIPS Modules”The following modules must be loaded before this module:
- None.
External Libraries or Applications
Section titled “External Libraries or Applications”The following libraries or applications must be installed before running OpenSIPS with this module loaded:
- None.
Exported Parameters
Section titled “Exported Parameters”udp_port (integer)
Section titled “udp_port (integer)”The default port to be used by all UDP listeners.
Default value is 5060.
...modparam("proto_udp", "udp_port", 5070)...Frequently Asked Questions
Section titled “Frequently Asked Questions”Q: After switching to OpenSIPS 2.1, I’m getting this error: “listeners found for protocol udp, but no module can handle it”
You need to load the “proto_udp” module. In your script, make sure you do a loadmodule “proto_udp.so” after setting the mpath.
Q: I cannot locate “proto_udp.so”. Where is it?
The “proto_udp” and “proto_tcp” modules are simply built into the opensips binary by default. They are not available as shared libraries, but look like modules for code consistency reasons.
Contributors
Section titled “Contributors”By Commit Statistics
Section titled “By Commit Statistics”Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
| # | Name | DevScore | Commits | Lines++ | Lines— |
|---|---|---|---|---|---|
| 1. | Bogdan-Andrei Iancu (@bogdan-iancu) | 10 | 6 | 352 | 12 |
| 2. | Razvan Crainea (@razvancrainea) | 6 | 4 | 21 | 33 |
| 3. | Stefan Darius (@dariusstefan) | 5 | 3 | 91 | 11 |
| 4. | Liviu Chircu (@liviuchircu) | 5 | 2 | 159 | 1 |
(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
(3) ignoring whitespace edits, renamed files and auto-generated files
By Commit Activity
Section titled “By Commit Activity”| # | Name | Commit Activity |
|---|---|---|
| 1. | Stefan Darius (@dariusstefan) | Jun 2026 - Jul 2026 |
| 2. | Razvan Crainea (@razvancrainea) | Feb 2015 - Jun 2026 |
| 3. | Bogdan-Andrei Iancu (@bogdan-iancu) | Feb 2015 - Aug 2015 |
| 4. | Liviu Chircu (@liviuchircu) | Mar 2015 - May 2015 |
(1) including any documentation-related commits, excluding merge commits
Documentation
Section titled “Documentation”Contributors
Section titled “Contributors”Last edited by: Razvan Crainea (@razvancrainea), Liviu Chircu (@liviuchircu).
License
Section titled “License”All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0