Skip to content

Israeli number for ElevenLabs agents ​

ElevenLabs Agents can take phone calls over SIP. Kolwire creates the SIP trunk at ElevenLabs for you, binds it to your agent and gives it an Israeli number.

What you need ​

  • An ElevenLabs agent (prompt, voice, tools) and an ElevenLabs API key.
  • A Kolwire account (in early access) and an Israeli number.

1. Connect the agent ​

ts
import { Kolwire } from "@kolwire/sdk";
const kw = new Kolwire();

const agent = await kw.agents.create({
  name: "Support",
  mode: "elevenlabs",
  external: { agent_id: "agent_…", transport: "tcp" },
  provider_api_key: process.env.ELEVENLABS_API_KEY,
});

await kw.agents.provision(agent.id);

provision creates a SIP gateway with new credentials and registers a SIP-trunk phone number at ElevenLabs, bound to your agent. Run it again to rotate the credentials.

2. Route calls to it ​

ts
// Inbound
await kw.numbers.update("pn_123", { voice_config: { mode: "agent", agent_id: agent.id } });

// Outbound
await kw.calls.create({ from: "+972721234567", to: "+972501234567", agent_id: agent.id });

Each call carries an X-VI-Call-ID header, available in ElevenLabs as the dynamic variable {{sip_vi_call_id}}, so your agent's tools can look the call up on Kolwire.

Notes ​

  • Phone minutes are billed by Kolwire in shekels; ElevenLabs bills the agent on your account.
  • Media is plain RTP (G.711); the ElevenLabs number is created with media encryption off.

More detail: OpenAI Realtime & ElevenLabs agents.