Interface: VoiceCallConfig
Defined in: packages/agentos/src/io/channels/telephony/types.ts:491
Full voice call system configuration.
Properties
allowedNumbers?
optionalallowedNumbers:string[]
Defined in: packages/agentos/src/io/channels/telephony/types.ts:501
Allowlist of E.164 numbers (for 'allowlist' policy).
defaultMode?
optionaldefaultMode:CallMode
Defined in: packages/agentos/src/io/channels/telephony/types.ts:503
Default call mode for outbound calls.
eventHandling?
optionaleventHandling:"legacy"|"carrier"
Defined in: packages/agentos/src/io/channels/telephony/types.ts:516
Opt-in in-process transition repair; durable callbacks use the repaired reducer regardless.
inboundPolicy?
optionalinboundPolicy:InboundPolicy
Defined in: packages/agentos/src/io/channels/telephony/types.ts:499
Inbound call policy.
maxDurationSeconds?
optionalmaxDurationSeconds:number
Defined in: packages/agentos/src/io/channels/telephony/types.ts:505
Maximum call duration in seconds (default: 300 = 5 min).
provider
provider:
ProviderConfig
Defined in: packages/agentos/src/io/channels/telephony/types.ts:493
Active telephony provider.
streaming?
optionalstreaming:object
Defined in: packages/agentos/src/io/channels/telephony/types.ts:509
Media stream configuration.
enabled
enabled:
boolean
Whether to use bidirectional media streams.
wsPath?
optionalwsPath:string
WebSocket path for media streams (default: /voice/media-stream).
stt?
optionalstt:VoiceCallSttConfig
Defined in: packages/agentos/src/io/channels/telephony/types.ts:497
STT settings for phone audio.
tts?
optionaltts:VoiceCallTtsConfig
Defined in: packages/agentos/src/io/channels/telephony/types.ts:495
TTS settings for phone audio.
webhookBaseUrl?
optionalwebhookBaseUrl:string
Defined in: packages/agentos/src/io/channels/telephony/types.ts:507
Webhook base URL for receiving provider callbacks.