#sip #voip #telephony #user-agent #sipstack

rsipstack

SIP Stack Rust library for building SIP applications

2 releases

new 0.1.1 Jan 16, 2025
0.1.0 Jan 10, 2025

#291 in Multimedia

Download history 127/week @ 2025-01-08

127 downloads per month

MIT license

625KB
3.5K SLoC

A SIP Stack written in Rust

WIP This is a work in progress and is not yet ready for production use.

A RFC 3261 compliant SIP stack written in Rust. The goal of this project is to provide a high-performance, reliable, and easy-to-use SIP stack that can be used in various scenarios.

TODO

  • Transport support
    • UDP
    • TCP
    • TLS
    • WebSocket
  • Digest Authentication
  • Transaction Layer
  • Dialog Layer
  • WASM target

Use Cases

This SIP stack can be used in various scenarios, including but not limited to:

  • Integration with WebRTC for browser-based communication, such as WebRTC SBC.
  • Building custom SIP proxies or registrars
  • Building custom SIP user agents (SIP.js alternative)

Why Rust?

We are a group of developers who are passionate about SIP and Rust. We believe that Rust is a great language for building high-performance network applications, and we want to bring the power of Rust to the SIP/WebRTC/SFU world.

How to run

# the sip phone will serve at: YOUR_NETWORK_IP:25060
cargo run --example client

Make a call to sip:YOUR_NETWORK_IP:25060 from another sip client.(e.g. linphone)

Dependencies

~9–17MB
~218K SLoC