# Connect a phone number's calls to the agent's audio socket

> Connect a phone number's calls to the agent's audio socket: 4 companies fully do it, 10 with a limit, 31 carry the tag. Every listing in Phone calling & voice transport with the reason and a source.

- Canonical: https://www.anchorterminal.com/niches/voice-calling.number-to-agent-stream/
- Markdown: https://www.anchorterminal.com/niches/voice-calling.number-to-agent-stream/index.md (~1,850 tokens)
- Slim: https://www.anchorterminal.com/niches/voice-calling.number-to-agent-stream/index.min.md (~380 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/niches/voice-calling.number-to-agent-stream/index.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-15

Four or more companies' docs show a full fit.

| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |
| --- | --- | --- | --- | --- |
| 4 | 10 | 31 | 24 | 12 |

## What counts as done

An inbound call to the number opens a bidirectional audio stream to the given URL, the stream's codec and sample rate are stated in docs and selectable, the called and calling numbers and a call id reach the socket as parameters, two calls at once get two independent streams, and audio sent back is heard by the caller.

Measured, for our own tests: first caller audio reaches the socket within 1 second of answer, and audio sent back plays at normal speed with no gaps over 200 ms across a 5-minute call.

How agents ask for it: give my agent a phone number; stream the call audio to my websocket; hook my voice bot up to a real phone line; answer calls on this number with my agent

## Does the job

The docs show it meets the test above, and nothing we read says otherwise.

- **46elks Voice API (46elks AB)**: Each call to a websocket number opens a new socket; hello carries callid, from and to; the agent picks pcm_8000, pcm_16000, pcm_24000, g722, ulaw and others with listening and sending messages, and audio goes both ways. Measured bar not published.
- **Infobip Calls API + MCP (Infobip Ltd)**: A WEBSOCKET call leg joined to the caller streams L16 at 8, 16, 24 or 32 kHz both ways, set per configuration, with up to 512 bytes of customData (numbers, call id) in websocket:connected; one socket per leg. Needs a calls configuration and subscription first. Measured bar unpublished.
- **SignalWire Voice API (SignalWire, Inc.)**: SWML connect to stream:wss:// gives a bidirectional stream with codec PCMU, PCMA, G722 or L16 at a chosen rate (for example L16@24000h), custom_parameters in the start message and the callSid. Trial projects take only verified numbers. Measured bar unpublished.
- **Telnyx Voice API + MCP (Telnyx LLC)**: stream_url with stream_bidirectional_mode rtp and stream_bidirectional_codec PCMU, PCMA, G722, Opus 16 kHz, AMR-WB 16 kHz or L16 16 kHz; the start event carries from, to, call ids and client_state, and connections are Ed25519-signed. One stream per call. Measured bar unpublished.

## Does the job, with a limit

It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.

- **Bandwidth Voice API + MCP (Bandwidth Inc.)**: StartStream mode=bidirectional sends callId and up to 12 StreamParams in the start message, but call audio reaches the socket only as 8 kHz PCMU; 16 or 24 kHz PCM sent back is resampled to 8 kHz. Default cap 100 active sessions.
- **didlogic Voice API (DID Logic PTE. LTD.)**: A number destination with transport 12 streams each call to your wss:// URL, but the spec only says the endpoint must speak "the didlogic WebSocket call protocol"; no protocol page, codec, sample rate or call-context fields were found in the docs index or OpenAPI file.
- **Exotel Voice API + MCP (Exotel Techcom Private Limited)**: The Voicebot applet opens a bidirectional socket per call with call_sid, from, to and up to 3 custom parameters, and ?sample-rate=16000 or 24000 picks the PCM rate. The applet page also says all payloads are 8 kHz, so the docs disagree, and acc-31 hit a field-spelling mismatch.
- **jambonz (FirstFive8, Inc.)**: The listen verb streams L16 at 8, 16, 24, 48 or 64 kHz both ways, and the first text frame carries callSid and the call attributes plus custom metadata. jambonz sells no numbers, so the inbound call needs another carrier's trunk first. Measured bar unpublished.
- **LiveKit Telephony (LiveKit Incorporated)**: Calls join a room as SIP participants and a dispatch rule starts the agent, rather than streaming to your socket URL; trunk media config picks PCMU, PCMA, G722 or AMR-WB. Phone Numbers are US only, and acc-19 and acc-20 hit missing dispatch and post-greeting silence.
- **Plivo Voice API (Plivo Inc.)**: Stream bidirectional=true with contentType audio/x-l16;rate=16000, audio/x-l16;rate=8000 or mulaw; the start event carries callId, streamId and extraHeaders for custom context. Free tier allows 2 concurrent calls and a new paid US account 5, above which calls fail with 5030.
- **Sinch Voice API + MCP (Sinch AB (publ))**: A SVAML dial to a STREAM destination opens a bidirectional PCM socket at a chosen sampleRate (8000 to 96000), and ConnectRequest carries callId and arbitrary callHeaders. Voice API v2 is labelled preview, and a lost socket hangs up the call with no reconnect.
- **Twilio Programmable Voice API + MCP (Twilio Inc.)**: Connect Stream opens a bidirectional socket with callSid and custom Parameter values in start, one per call, but the documented media format is audio/x-mulaw at 8000 Hz only, which acc-03 blamed for poor recognition; acc-01, acc-02 and acc-11 hit dropped or silent streams.
- **Vonage Voice API + MCP (Vonage Holdings Corp.)**: An NCCO connect to a websocket endpoint picks audio/l16 at 8, 16 or 24 kHz and passes custom headers, with call uuid, from and to in websocket:connected. acc-12 saw replies randomly play at 4 to 8 times speed into the call.
- **Voximplant (Voximplant, Inc.)**: A VoxEngine scenario on the number calls sendMediaTo a WebSocket with encoding and customParameters set per stream, defaulting to PCM16 at 8 kHz; the call logic must be written as VoxEngine JavaScript first, and the full encoding list was not opened.

- not this job: DIDWW Voice and Number Management API (DIDWW Ireland Limited): DIDWW sends calls over SIP trunks only; the API v3 resource list has no call, stream or websocket resource.

## What stops agents finishing

- only 8 kHz mu-law offered on the stream, which degrades recognition (acc-03, acc-30)
- trial account answers only verified numbers
- stream protocol fields documented differently from what the platform sends (acc-31)
- a new paid account capped at a handful of concurrent calls

## Around it

Before: voice-calling.get-number-in-country. After: voice-agents.inbound-receptionist, speech-to-text.voice-agent-live, text-to-speech.voice-agent-turn.

## Where this comes from

Weight 24 of 100 in Phone calling & voice transport: 12 of 49 accounts, the largest group: Twilio Media Streams starter-repo issues and Stack Overflow questions about silence, dropped sockets, speeded-up audio and 8 kHz audio hurting recognition, plus Telnyx, Vonage and Exotel stream accounts

As data: https://www.anchorterminal.com/api/v1/use-cases/voice-calling.number-to-agent-stream.json, or the MCP tool get_use_case with id voice-calling.number-to-agent-stream. Draft, read 2026-11-15 from public docs and first-hand accounts, not yet reviewed by a person.

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
