Skip to main content

Interface: VoiceCallConfig

Defined in: packages/agentos/src/channels/telephony/types.ts:487

Full voice call system configuration.

Properties

allowedNumbers?

optional allowedNumbers: string[]

Defined in: packages/agentos/src/channels/telephony/types.ts:497

Allowlist of E.164 numbers (for 'allowlist' policy).


defaultMode?

optional defaultMode: CallMode

Defined in: packages/agentos/src/channels/telephony/types.ts:499

Default call mode for outbound calls.


inboundPolicy?

optional inboundPolicy: InboundPolicy

Defined in: packages/agentos/src/channels/telephony/types.ts:495

Inbound call policy.


maxDurationSeconds?

optional maxDurationSeconds: number

Defined in: packages/agentos/src/channels/telephony/types.ts:501

Maximum call duration in seconds (default: 300 = 5 min).


provider

provider: ProviderConfig

Defined in: packages/agentos/src/channels/telephony/types.ts:489

Active telephony provider.


streaming?

optional streaming: object

Defined in: packages/agentos/src/channels/telephony/types.ts:505

Media stream configuration.

enabled

enabled: boolean

Whether to use bidirectional media streams.

wsPath?

optional wsPath: string

WebSocket path for media streams (default: /voice/media-stream).


stt?

optional stt: VoiceCallSttConfig

Defined in: packages/agentos/src/channels/telephony/types.ts:493

STT settings for phone audio.


tts?

optional tts: VoiceCallTtsConfig

Defined in: packages/agentos/src/channels/telephony/types.ts:491

TTS settings for phone audio.


webhookBaseUrl?

optional webhookBaseUrl: string

Defined in: packages/agentos/src/channels/telephony/types.ts:503

Webhook base URL for receiving provider callbacks.