Get a registered provider by name.
Optional name: VoiceProviderNameRegister a handler for call events.
Unsubscribe function.
Initiate an outbound phone call.
Creates a CallRecord in 'initiated' state, delegates to the provider to place the call, and returns the internal call ID.
Optional fromOptional mode?: CallModeOptional message?: stringOptional seedOptional providerProcess an incoming webhook from a telephony provider.
Verifies the signature, parses events, and applies state transitions. Idempotent — duplicate event IDs are silently skipped.
Process a single normalized call event.
Get a call by internal ID.
Find a call by provider-assigned call ID.
Get all active (non-terminal) calls.
Handle an inbound call based on the configured policy. Creates a CallRecord if the call is accepted.
Optional seed
Register a telephony provider.