18 lines
449 B
Rust
18 lines
449 B
Rust
//! SIP protocol library for the proxy engine.
|
|
//!
|
|
//! Provides SIP message parsing/serialization, dialog state management,
|
|
//! SDP handling, Digest authentication, and URI rewriting.
|
|
//! Ported from the TypeScript `ts/sip/` library.
|
|
|
|
pub mod message;
|
|
pub mod dialog;
|
|
pub mod helpers;
|
|
pub mod rewrite;
|
|
|
|
/// Network endpoint (address + port).
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
pub struct Endpoint {
|
|
pub address: String,
|
|
pub port: u16,
|
|
}
|