Skip to content

PROTO_UDP module

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.

The following modules must be loaded before this module:

  • None.

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

  • None.

The default port to be used by all UDP listeners.

Default value is 5060.

Set udp_port parameter
...
modparam("proto_udp", "udp_port", 5070)
...

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.

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

#NameDevScoreCommitsLines++Lines—
1.Bogdan-Andrei Iancu (@bogdan-iancu)10635212
2.Razvan Crainea (@razvancrainea)642133
3.Stefan Darius (@dariusstefan)539111
4.Liviu Chircu (@liviuchircu)521591

(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

#NameCommit 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

Last edited by: Razvan Crainea (@razvancrainea), Liviu Chircu (@liviuchircu).

All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0