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.
- Transport support
- UDP
- TCP
- TLS
- WebSocket
- Digest Authentication
- Transaction Layer
- Dialog Layer
- WASM target
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)
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.
# 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)
- apply for OpenAI API key
- set the API key in the environment variable
OPENAI_API_KEY
export OPENAI_API_KEY=your_openai_api_key
# or moddify the .env file
cargo run --example client -- --realtime --prompt "What is the meaning of life?"
# or prompt from the text
cargo run --example client -- --realtime --prompt prompt.txt