Skip to main content

Interface: InitiateCallInput

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:26

Parameters for initiating an outbound call.

Properties​

callId​

callId: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:28

Internal call ID assigned by CallManager.


fromNumber​

fromNumber: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:30

E.164 phone number to call from.


mediaStreamToken?​

optional mediaStreamToken: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:46

Host-issued stream credential; carrier-specific XML determines its transport, including Twilio custom parameters.


mediaStreamUrl?​

optional mediaStreamUrl: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:44

Media stream WebSocket URL (for 'conversation' mode).


message?​

optional message: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:36

Pre-composed message (for 'notify' mode).


mode​

mode: CallMode

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:34

Call interaction mode.


notifyVoice?​

optional notifyVoice: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:38

TTS voice to use for notify-mode messages.


statusCallbackUrl?​

optional statusCallbackUrl: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:42

Status callback URL for call state changes.


toNumber​

toNumber: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:32

E.164 phone number to call.


webhookUrl​

webhookUrl: string

Defined in: packages/agentos/src/io/channels/telephony/IVoiceCallProvider.ts:40

Webhook URL the provider should call back to.