The official Python wrapper for TeleQuick. Async-first; built on aioquic for
ALPN-QUIC transport and PyJWT for zero-trust auth, with a native FFI core for
audio processing.
pip install .Point TELEQUICK_CREDENTIALS at your service-account JSON, then:
import asyncio
from telequick.client import TeleQuickClient
from telequick.media import TeleQuickAudioStream
async def main():
client = TeleQuickClient("pbx.telequick.com:443")
# Originate an outbound call against an external trunk.
response = await client.originate(
to="+1234567890",
ai_wss="wss://my-chatbot.com/media",
)
# Multiplex the raw audio stream.
stream = TeleQuickAudioStream()
await stream.connect("wss://pbx.telequick.com/media/session_789")
async for pcm_chunk in stream.receive_audio_loop():
# 16 kHz PCM, ready for your voice API.
...
if __name__ == "__main__":
asyncio.run(main())The FFI core (libtelequick_core_ffi.{so,dylib,dll}) is loaded at runtime.
Set TELEQUICK_LIB_PATH if it isn't on the default loader path; see the
core-sdk repo for build details.