Idiomatic Rust client for TeleQuick — telephony origination, media streaming, and zero-trust JWT auth, built on Tokio + Quinn (QUIC).
[dependencies]
telequick-sdk = "1.0"
tokio = { version = "1", features = ["full"] }use telequick_sdk::TeleQuickClient;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let client = TeleQuickClient::connect("pbx.telequick.com:443").await?;
let resp = client
.originate(
"+1234567890",
"wss://my-chatbot.com/media",
)
.await?;
println!("call sid = {}", resp.call_sid);
Ok(())
}The native FFI core (libtelequick_core_ffi.{so,dylib,dll}) is loaded at
runtime via libloading. Set TELEQUICK_LIB_PATH if it isn't on the default
loader path.
src/client.rs— high-levelTeleQuickClient(originate, hangup, media).src/ffi.rs—extern "C"bindings to the C++ core.src/method_id.rs— wire-format method IDs (mirrored across all SDKs).tests/— integration tests against a mock gateway.