Directories
ยถ
| Path | Synopsis |
|---|---|
|
examples
|
|
|
anthropic-demo
command
Basic Anthropic Claude chat demo (sync + stream).
|
Basic Anthropic Claude chat demo (sync + stream). |
|
batch-processing-demo
command
|
|
|
chain-demo
command
|
|
|
chunk-demo
command
|
|
|
embedder-demo
command
|
|
|
exutil
Package exutil provides shared helpers for example programs.
|
Package exutil provides shared helpers for example programs. |
|
knowledge-demo
command
|
|
|
memory-demo
command
|
|
|
memory-layers-demo
command
|
|
|
ollama-demo
command
Basic Ollama local chat demo (sync + stream).
|
Basic Ollama local chat demo (sync + stream). |
|
openai-demo
command
Basic OpenAI chat demo (sync + stream).
|
Basic OpenAI chat demo (sync + stream). |
|
prompt-demo
command
|
|
|
qdrant-demo
command
|
|
|
response-demo
command
Basic OpenAI-compatible gateway chat demo (sync + stream).
|
Basic OpenAI-compatible gateway chat demo (sync + stream). |
|
search-demo
command
|
|
|
sip-outbound-demo
command
SIP outbound (UAC) demo: dial a remote UAS, wait for 200 OK + ACK, then BYE.
|
SIP outbound (UAC) demo: dial a remote UAS, wait for 200 OK + ACK, then BYE. |
|
sip-rtp-server
command
SIP RTP media server โ runs separately from the signaling server.
|
SIP RTP media server โ runs separately from the signaling server. |
|
sip-signaling-server
command
SIP signaling-only server โ no local RTP socket.
|
SIP signaling-only server โ no local RTP socket. |
|
sip-split/controlapi
Package controlapi defines the HTTP contract between the split SIP signaling server and one or more RTP media servers.
|
Package controlapi defines the HTTP contract between the split SIP signaling server and one or more RTP media servers. |
|
sip-split/rtppool
Package rtppool routes signaling control requests across multiple RTP media nodes.
|
Package rtppool routes signaling control requests across multiple RTP media nodes. |
|
sip-uas-demo
command
Minimal SIP UAS demo: OPTIONS, INVITE (SDP answer), ACK, BYE over UDP.
|
Minimal SIP UAS demo: OPTIONS, INVITE (SDP answer), ACK, BYE over UDP. |
|
tools-demo
command
|
|
|
voice-demo/asr-denoise-demo
command
ASR Denoiser Demo: ๆผ็คบๅฆไฝๅจ ASR ็ฎก้ไธญไฝฟ็จ้ๅชๅจ
|
ASR Denoiser Demo: ๆผ็คบๅฆไฝๅจ ASR ็ฎก้ไธญไฝฟ็จ้ๅชๅจ |
|
voice-demo/dialogue
command
Dialog WebSocket server: receives voice-plane events and streams LLM replies.
|
Dialog WebSocket server: receives voice-plane events and streams LLM replies. |
|
voice-demo/realtime
command
Realtime voice demo: browser (web1) or xiaozhi device โ xiaozhi WS โ multimodal agent.
|
Realtime voice demo: browser (web1) or xiaozhi device โ xiaozhi WS โ multimodal agent. |
|
voice-demo/voice
command
Voice media server: WebRTC browser client + xiaozhi WebSocket.
|
Voice media server: WebRTC browser client + xiaozhi WebSocket. |
|
voice-demo/voiceutil
Package voiceutil wires ASR/TTS/realtime factories for voice-demo examples.
|
Package voiceutil wires ASR/TTS/realtime factories for voice-demo examples. |
|
voiceclone-volcengine-demo
command
|
|
|
voiceclone-xunfei-demo
command
|
|
|
rnnoise
By default the package builds as a stub.
|
By default the package builds as a stub. |
|
Package prompt provides comprehensive prompt template management for LLM applications.
|
Package prompt provides comprehensive prompt template management for LLM applications. |
|
sip
Package sip provides a pure SIP/2.0 signaling stack (no RTP, no AI).
|
Package sip provides a pure SIP/2.0 signaling stack (no RTP, no AI). |
|
sip/dialog
Package dialog tracks minimal SIP dialog state for pkg/sip1 (Call-ID, tags, early/confirmed).
|
Package dialog tracks minimal SIP dialog state for pkg/sip1 (Call-ID, tags, early/confirmed). |
|
sip/gateway
Package gateway wires the pure SIP stack (stack + transaction + uas) into a ready-to-run UDP UAS with logrus logging.
|
Package gateway wires the pure SIP stack (stack + transaction + uas) into a ready-to-run UDP UAS with logrus logging. |
|
sip/historyinfo
Package historyinfo implements RFC 7044 History-Info and RFC 5806 Diversion header processing for the SIP call-transfer / retargeting path.
|
Package historyinfo implements RFC 7044 History-Info and RFC 5806 Diversion header processing for the SIP call-transfer / retargeting path. |
|
sip/hooks
Package hooks defines optional callbacks for call lifecycle and recording delivery.
|
Package hooks defines optional callbacks for call lifecycle and recording delivery. |
|
sip/identity
Package identity implements RFC 3325 P-Asserted-Identity (PAI) and Privacy header processing for both outbound (UAC) and inbound (UAS) signaling paths.
|
Package identity implements RFC 3325 P-Asserted-Identity (PAI) and Privacy header processing for both outbound (UAC) and inbound (UAS) signaling paths. |
|
sip/internal/siplog
Package siplog provides the shared logrus logger for protocol/sip subpackages.
|
Package siplog provides the shared logrus logger for protocol/sip subpackages. |
|
sip/metrics
Package metrics is the SIP-signaling-layer observability surface.
|
Package metrics is the SIP-signaling-layer observability surface. |
|
sip/observability
Package metrics is a tiny, dependency-free Prometheus exposition backend tailored to VoiceServer's needs.
|
Package metrics is a tiny, dependency-free Prometheus exposition backend tailored to VoiceServer's needs. |
|
sip/outbound
Package outbound implements SIP UAC (outbound) signaling without media binding.
|
Package outbound implements SIP UAC (outbound) signaling without media binding. |
|
sip/sdp
Package sdp parses and generates minimal audio SDP bodies for SIP/VoIP.
|
Package sdp parses and generates minimal audio SDP bodies for SIP/VoIP. |
|
sip/session_timer
Package session_timer implements RFC 4028 Session Timers in SIP.
|
Package session_timer implements RFC 4028 Session Timers in SIP. |
|
sip/signalinglog
Package signalinglog provides optional logrus hooks for SIP signaling audit trails.
|
Package signalinglog provides optional logrus hooks for SIP signaling audit trails. |
|
sip/stack
Package stack is the SIP/2.0 signaling layer for pkg/sip.
|
Package stack is the SIP/2.0 signaling layer for pkg/sip. |
|
sip/transaction
Package transaction provides SIP UDP transaction helpers layered under pkg/sip/stack.Endpoint.
|
Package transaction provides SIP UDP transaction helpers layered under pkg/sip/stack.Endpoint. |
|
sip/transfer
Package transfer implements B2BUA-style call transfer signaling (RFC 3515 REFER + NOTIFY).
|
Package transfer implements B2BUA-style call transfer signaling (RFC 3515 REFER + NOTIFY). |
|
sip/uas
Package uas registers inbound (UAS-side) SIP method handlers on stack.Endpoint using typed callbacks.
|
Package uas registers inbound (UAS-side) SIP method handlers on stack.Endpoint using typed callbacks. |
|
sipmedia
Package sipmedia is the SIP RTP/audio plane, separate from pure signaling (protocol/sip).
|
Package sipmedia is the SIP RTP/audio plane, separate from pure signaling (protocol/sip). |
|
sipmedia/codecreg
Package codecreg holds the SIP audio codec negotiation registry.
|
Package codecreg holds the SIP audio codec negotiation registry. |
|
sipmedia/dtmf
Package dtmf decodes SIP RTP out-of-band DTMF (RFC 2833 / RFC 4733 telephone-event).
|
Package dtmf decodes SIP RTP out-of-band DTMF (RFC 2833 / RFC 4733 telephone-event). |
|
sipmedia/internal/siplog
Package siplog provides the shared logrus logger for protocol/sipmedia subpackages.
|
Package siplog provides the shared logrus logger for protocol/sipmedia subpackages. |
|
sipmedia/session
Package session binds pkg/sip1/rtp to pkg/media using pkg/sip1/sdp negotiation (no duplicate codec math).
|
Package session binds pkg/sip1/rtp to pkg/media using pkg/sip1/sdp negotiation (no duplicate codec math). |
|
sipmedia/transferbridge
Package transferbridge wires two SIP media legs (protocol/sipmedia/session) after a signaling-only transfer (protocol/sip/transfer) completes.
|
Package transferbridge wires two SIP media legs (protocol/sipmedia/session) after a signaling-only transfer (protocol/sip/transfer) completes. |
|
voice
Package voice provides transport-agnostic voice capabilities for AI calls.
|
Package voice provides transport-agnostic voice capabilities for AI calls. |
|
voice/siprealtime
Package siprealtime wires pkg/realtime agents into SIP RTP call legs.
|
Package siprealtime wires pkg/realtime agents into SIP RTP call legs. |
|
voice/webrtc
Package webrtc terminates 1v1 WebRTC AI voice calls over HTTP SDP signaling.
|
Package webrtc terminates 1v1 WebRTC AI voice calls over HTTP SDP signaling. |
|
voice/xiaozhi
Package xiaozhi implements the xiaozhi-esp32 WebSocket voice protocol.
|
Package xiaozhi implements the xiaozhi-esp32 WebSocket voice protocol. |
|
shared
|
|
|
models
Package models defines commonly used LLM model identifier constants, grouped by vendor.
|
Package models defines commonly used LLM model identifier constants, grouped by vendor. |
|
Package vad provides unified voice activity detection (VAD) interface supporting multiple providers (HTTP, WebSocket) with session management and health checks.
|
Package vad provides unified voice activity detection (VAD) interface supporting multiple providers (HTTP, WebSocket) with session management and health checks. |
Click to show internal directories.
Click to hide internal directories.