OpenAI put GPT-Live-1.1 in the API in November 2026. OpenAI's own SIP examples use Twilio and US numbers. If your callers are in India, the hard parts are somewhere else:
- finding a trunk for your +91 number that OpenAI will accept,
- getting Hindi right on 8 kHz phone audio,
- staying inside TRAI's calling rules, and
- knowing what a minute costs in rupees once everything is added up.
This is the path we would follow, with working code for each step. Every API detail was checked against OpenAI's docs on 24 November 2026.
Disclosure: I work at Fonix, which builds voice agents for Indian businesses. Fonix is not built on GPT-Live. This is the guide we wanted when we evaluated it.
TL;DR
- GPT-Live-1.1 (
gpt-live-1.1, endpointv1/live/sessions) is full duplex: it listens while it talks. It hands tool work to a separate backend model (delegation), which is billed separately. - Price: $0.05 per connected minute, billed by the second. The $0.02 standby rate is for WebRTC only. SIP calls always bill at the active rate.
- SIP needs TLS signalling on port 5061 and SDES-SRTP media. OpenAI has an India endpoint:
sip:$PROJECT_ID@sip-in.api.openai.com;transport=tls. - OpenAI's partner list (LiveKit, Twilio, Telnyx, Bandwidth, Daily/Pipecat) has no Indian telephony provider. Check your trunk before you write any code.
- The API has one Hindi voice,
nira(female). ChatGPT's Hindi voices, Neer and Leher, are not in the API list. - At ₹88 to the dollar, voice time alone is about ₹4.40 a minute. Add GST, the backend, telephony and forex, and our worked example comes to about ₹6.60.
1. What you are wiring up
Caller ──(phone network)──> Indian provider, your +91 number
│ SIP over TLS :5061, SDES-SRTP audio
▼
sip:proj_xxx@sip-in.api.openai.com
│ webhook: live.transport.incoming
▼
Your server ──POST /v1/live/sessions/{id}/accept──> OpenAI
│
└──wss://api.openai.com/v1/live/sessions/{id}/attach (the "sideband")
transcripts · tool calls · keypad presses · call progress · final usage
GPT-Live is the voice. It does not know your business. Bookings, lookups and anything else that touches your systems run in the backend and in tools you write. Of the eight steps a call goes through, four are yours alone (webhook, accept, sideband, tools). You share two more with your provider: the trunk and transfers.
2. The trunk: ask before you code
GPT-Live doesn't connect to the phone network itself. Your provider owns the number and passes the call to OpenAI over SIP. Plenty of SIP trunks run plain SIP over UDP on port 5060 by default, and OpenAI refuses that.
If your numbers are with Exotel, Plivo, Ozonetel, Knowlarity, Tata Tele or Airtel, get written answers to these questions:
| Ask your provider | Why it matters |
|---|---|
| Does your trunk support TLS on port 5061 to an external SIP address? | OpenAI only accepts TLS signalling. |
| Does it support SDES-SRTP media? | GPT-Live requires encrypted audio. Without SRTP the call never connects. OpenAI's docs say to enable SRTP in your provider's settings. |
| Can my +91 number route to an endpoint outside your network, on my plan? | Indian numbers come from licensed operators, and how calls leave their networks is regulated. |
| Do you honour SIP REFER? | GPT-Live transfers calls with REFER. If the provider ignores it, transfers need another route. |
| What do inbound and outbound minutes cost? Is there a monthly trunk or number fee? | This part of the cost isn't in GPT-Live's price. |
For outbound calls: digest auth and an sips: endpoint? |
OpenAI dials out using sips: URLs and SIP digest authentication. |
Network rules
These come from OpenAI's SIP guide:
-
Signalling: outbound TCP/TLS on port 5061 to the addresses DNS returns for
sip-in.api.openai.com. That endpoint routes to SIP hosts in India. -
Media: bidirectional SRTP over UDP to and from
13.79.45.80/28,20.204.17.112/28,23.98.140.64/28,40.67.149.176/28and40.83.204.240/28. The exact IP and port arrive in the negotiated SDP.
The India endpoint decides where signalling lands. It doesn't, by itself, tell you where inference runs or where transcripts are stored. Ask OpenAI if that matters for your sector. (More on rules below.)
Project setup
- In your OpenAI project settings, go to Webhooks and create an endpoint subscribed to
live.transport.incoming. Keep the signing secret. - Copy your project ID (
proj_...) from General. - Point the provider's trunk at
sip:proj_xxx@sip-in.api.openai.com;transport=tls.
3. Answer the call
OpenAI posts a webhook for each incoming call. Verify the signature on the raw body, deduplicate retries, then accept or reject. The first decision wins. The phone rings for at most 3 minutes.
// server.js: Node 20+, Express, the official openai SDK. Keys stay on the server.
import express from "express";
import OpenAI from "openai";
import { attach } from "./sideband.js";
const openai = new OpenAI({ webhookSecret: process.env.OPENAI_WEBHOOK_SECRET });
const app = express();
const seen = new Set(); // use Redis or your database in production
const TOOLS = [
{
type: "function",
name: "find_slots",
description: "List free appointment slots for a date (YYYY-MM-DD).",
parameters: {
type: "object",
properties: { date: { type: "string" } },
required: ["date"],
additionalProperties: false,
},
strict: true,
},
{
type: "function",
name: "book_slot",
description: "Book a slot returned by find_slots.",
parameters: {
type: "object",
properties: {
slot_id: { type: "string" },
name: { type: "string" },
phone: { type: "string", description: "10-digit Indian mobile number" },
},
required: ["slot_id", "name", "phone"],
additionalProperties: false,
},
strict: true,
},
];
// No express.json() here: signature verification needs the exact bytes.
app.post("/openai/webhook", express.text({ type: "*/*" }), async (req, res) => {
let event;
try {
event = await openai.webhooks.unwrap(req.body, req.headers);
} catch {
return res.sendStatus(400); // signature did not verify
}
res.sendStatus(200); // acknowledge fast; OpenAI retries non-2xx responses
const deliveryId = req.headers["webhook-id"]; // the same on every retry
if (seen.has(deliveryId) || event.type !== "live.transport.incoming") return;
seen.add(deliveryId);
if (event.data.type !== "sip") return;
// Treat SIP headers (From, To...) as caller metadata, never as authorization.
const sessionId = event.data.session_id;
const r = await fetch(`https://api.openai.com/v1/live/sessions/${sessionId}/accept`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
session: {
type: "live",
model: "gpt-live-1.1",
instructions: [
"You answer the phone for Sharma Dental Clinic in Pune.",
"Reply in the language the caller uses: Hindi, English or a mix.",
"Hand anything about availability or bookings to the backend.",
"Read phone numbers back in two groups of five digits and wait for a yes.",
"If asked, say you are an automated assistant.",
].join(" "),
audio: { output: { voice: "nira" } }, // the API's Hindi voice; omit audio.format on SIP
delegation: {
type: "responses",
responses: {
model: "gpt-6-luna", // OpenAI's suggested starting point; gpt-6-sol for harder tasks
instructions:
"Use find_slots before offering any time. Never state a slot you did not fetch. " +
"Confirm name and phone before book_slot.",
tools: TOOLS,
},
},
},
}),
});
if (!r.ok) {
console.error("accept failed", r.status, await r.text());
return;
}
attach(sessionId); // straight away: the sideband replays only the last 3 seconds
});
app.listen(3000, () => console.log("listening on :3000"));
Notes:
-
gpt-live-1.1comes from the model page. Some of OpenAI's SIP examples still showgpt-live-1. - To decline a call,
POST /v1/live/sessions/{id}/rejectwith an integer SIP status between 300 and 699, for example{ "status_code": 486 }for busy. - The function-tool objects use the standard Responses API shape, inside
delegation.responses.tools. - If you'd rather run your own agent, use
delegation: { type: "client" }. Your server then receivessession.delegation.createdand replies withsession.commentary.append.
4. The sideband: tool calls, keypad, final usage
SIP carries the audio. Everything else arrives on a WebSocket you attach to the session. With Responses delegation, backend events arrive wrapped in a response.event envelope. Read finished function calls from the nested response.output_item.done. Return results with response.item.create, then send response.create. Appending the output alone doesn't resume the backend.
// sideband.js
import WebSocket from "ws";
import { findSlots, bookSlot } from "./calendar.js"; // your own calendar code
const tools = {
find_slots: ({ date }) => findSlots(date),
book_slot: ({ slot_id, name, phone }) => bookSlot(slot_id, name, phone),
};
export function attach(sessionId) {
const ws = new WebSocket(`wss://api.openai.com/v1/live/sessions/${sessionId}/attach`, {
headers: { Authorization: `Bearer ${process.env.OPENAI_API_KEY}` },
});
const handled = new Set(); // events can be replayed when you attach
ws.on("message", async (raw) => {
const msg = JSON.parse(raw.toString());
if (msg.type === "response.event") {
const ev = msg.event;
if (ev.type !== "response.output_item.done" || ev.item?.type !== "function_call") return;
const { call_id, name, arguments: args } = ev.item;
if (handled.has(call_id)) return; // one owner per side effect
handled.add(call_id);
let output;
try {
output = await tools[name](JSON.parse(args));
} catch (err) {
// Give the backend something it can say, not silence.
output = { error: "The calendar is not responding. Offer to take a message." };
}
ws.send(JSON.stringify({
type: "response.item.create",
event_id: `out_${call_id}`,
item: { type: "function_call_output", call_id, output: JSON.stringify(output) },
}));
ws.send(JSON.stringify({ type: "response.create", event_id: `go_${call_id}` }));
return;
}
switch (msg.type) {
case "transport.dtmf.received":
// Callers press keys out of habit. Decide what 0 or 9 should do.
console.log("keypad", msg);
break;
case "session.usage.updated":
// Running total of billed seconds, useful for live cost dashboards.
break;
case "session.closed":
console.log("call ended:", msg.reason, "billed seconds:", msg.usage?.seconds);
ws.close();
break;
}
});
ws.on("error", (err) => console.error("sideband error", err.message));
}
Make every tool fast. GPT-Live can keep talking while a lookup runs, but a calendar call that takes several seconds still feels slow on the phone. Decide what the agent says when a tool fails. A wrong answer is the worst outcome, and dead air comes next.
5. Hindi on phone audio
Three things matter more than "it's multilingual":
-
One Hindi voice. OpenAI's GPT-Live voice table lists
nira(Hindi, female). There's no male Hindi voice. ChatGPT's Neer and Leher are not in the API list. - Narrowband audio. Browser demos run at 24 kHz. Phone calls arrive at 8 kHz, usually G.711, and that loses much of what separates similar sounds. The playground isn't a test.
- No other Indian-language voices. If your callers speak Tamil, Kannada, Bengali or Marathi, test them separately. Hindi results don't carry over.
The cheapest test that catches the most bugs is the read-back. Call your own number from a mobile, ideally somewhere noisy, and say each of these the way a real caller would. Then check what the agent repeats and what reaches your tools:
| Say this | Check |
|---|---|
| "मेरा number नौ-आठ-सात-शून्य, फिर 4 2 1 9 8 6" | Hindi and English digits in one breath → 9870421986
|
| "परसों शाम को" | Relative day ("day after tomorrow") resolved to the right date |
| "साढ़े छह के आसपास" | Half-hour time → 6:30 pm, not 6 or 7 |
| "डेढ़ हज़ार" / "ढाई सौ" | 1,500 / 250, not 1,000 or 200 |
| A name spelled letter by letter | Spelled names survive the line |
| "Main road, temple ke paas" | Landmark-style addresses saved as said |
If the read-back is wrong, the booking is wrong. Put these phrases in a regression script and run them on every prompt change.
6. Outbound calls, and TRAI
GPT-Live places outbound calls through your trunk. Outbound SIP calling runs through the Live API, not the Realtime API.
# Outbound call. Numbers are E.164 (+91...). Keep credentials on the server.
jq -n \
--arg u "$SIP_USERNAME" --arg p "$SIP_PASSWORD" \
--arg to "$CUSTOMER_E164" --arg from "$YOUR_E164" '{
session: {
model: "gpt-live-1.1",
instructions: "Confirm the appointment booked for tomorrow at 11 am. Offer to move it if needed.",
audio: { output: { voice: "nira" } },
delegation: { type: "client" }
},
transport: {
type: "sip",
destination: $to,
trunk: {
provider_url: "sips:sip.your-provider.example:5061",
auth: { type: "digest", username: $u, password: $p },
caller_number: $from
}
}
}' | curl https://api.openai.com/v1/live/sessions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @-
A 200 response means the session started, not that anyone answered. Attach the sideband at once and watch transport.ringing, transport.answered and transport.failed. Ringing is capped at 3 minutes and a connected call at 2 hours. Neither limit can be changed.
Before you dial anyone, check India's rules. They apply whichever model you use:
- Promotional calls must come from registered 140-series numbers, with your business registered on DLT. Promotional calls from ordinary 10-digit numbers can get all of the sender's numbers disconnected.
- Banks, NBFCs, insurers and other regulated financial firms make service and transactional calls from the 1600 series.
- NCPR (Do Not Disturb): scrub promotional lists before you call.
- DPDP Act 2023: recordings, transcripts and caller numbers are personal data. Give notice, state the purpose, limit retention, and know where the data is processed. The DPDP Rules were notified in November 2025. Some sectors go further: RBI, for example, requires payment data to be stored in India.
Inbound answering is the simple case, because the caller rang you.
7. Transfer to a person, or hang up
# Hand the caller to your front desk. Your provider must honour SIP REFER.
curl -X POST "https://api.openai.com/v1/live/sessions/$SESSION_ID/refer" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target_uri": "tel:+91XXXXXXXXXX"}'
# End the call
curl -X POST "https://api.openai.com/v1/live/sessions/$SESSION_ID/hangup" \
-H "Authorization: Bearer $OPENAI_API_KEY"
Both return 200 with an empty body. The REFER target becomes the Refer-To header, and your provider handles the rest of the transfer. Keep the sideband open until session.closed delivers the final usage.
8. What a minute costs in rupees
GPT-Live's own price is fixed. Everything else depends on your setup. Here is a worked example for 1,000 connected minutes a month. Only the first line is OpenAI's published price; the others are example values. Replace them with your own.
| Line | Basis | ₹ a month |
|---|---|---|
| GPT-Live-1.1 voice | 1,000 min × $0.05 × ₹88 | 4,400 |
| Backend model | example: ₹0.50 a minute | 500 |
| Card forex markup | example: 2% of the OpenAI bill | 98 |
| Telephony | example: ₹0.60 a minute | 600 |
| GST | 18% on all of the above | 1,008 |
| Total | 6,606 (₹6.61 a minute) |
Three things catch people out:
- Silence costs the same as speech. Standby pricing doesn't apply to SIP. A caller hunting for a pen, or waiting on a slow lookup, is billed at the full rate.
- The backend bills per delegation. A booking call that checks the calendar three times costs more than one that answers an FAQ.
- Engineering isn't in any per-minute number. Someone builds and runs the server, call logs, recordings, dashboards and alerts.
To try other numbers, use the calculator on the full guide. It takes your minutes, today's exchange rate, your telephony rate and whether you can claim the GST back.
9. Production checklist
- [ ] Trunk confirmed in writing: TLS 5061, SDES-SRTP, routing to an external SIP address, REFER support
- [ ] Firewall allows TLS to
sip-in.api.openai.comand SRTP from OpenAI's five media ranges - [ ] Webhook signature verified on the raw body; retries deduplicated by
webhook-id - [ ] Sideband attached immediately after accept or create (3-second replay window)
- [ ] Each side effect has one owner, so a tool never runs twice
- [ ] Every tool returns within a second or two, and every failure has something to say
- [ ] Read-back test passes on a real mobile line: digits, relative days, half-hours, amounts, names
- [ ] Transfer to a human tested end to end, including when nobody picks up
- [ ] Call recording, retention and notice in place under the DPDP Act
- [ ] Outbound numbers and DLT registration sorted before the first campaign
- [ ] Concurrency checked on your organisation's limits page (GPT-Live-1.1 has its own limit, separate from GPT-Live-1)
- [ ] Someone gets alerted when calls start failing at 9 pm
If you'd rather not build all of this
GPT-Live-1.1 is a strong voice model, and if you have engineers and an agent you already trust, it's a good thing to build on. If what you actually need is callers answered well, in Hindi, Hinglish or another Indian language, with call logs and transcripts you can read, Fonix does that without the project plan. Setup takes about two minutes, and the free trial includes 20 test minutes.
The full guide also covers the build-or-buy comparison and an FAQ: GPT-Live-1.1 phone agent in India.
Sources: OpenAI's GPT-Live-1.1 model page, the Telephony and SIP guide, the GPT-Live delegation guide and the GPT-Live voice table, all read on 24 November 2026. OpenAI changes these often, so check the docs before you ship.
Top comments (0)