<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mahadi Zulfiker]]></title><description><![CDATA[Notes on realtime voice AI, telephony and commerce systems, written while building them — Bangla phone agents over SIP, wallet ledgers that have to reconcile, a]]></description><link>https://mahadizulfiker.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6aaf8c459698cfd5f66167b4/4d7542b1-6743-45f6-85fb-90f44bc39f36.png</url><title>Mahadi Zulfiker</title><link>https://mahadizulfiker.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 14:11:01 GMT</lastBuildDate><atom:link href="https://mahadizulfiker.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Building a voice AI that answers the phone in Bangla]]></title><description><![CDATA[Most "voice AI" demos are a microphone in a browser tab. A phone call is a different problem. The moment you put an AI on a real phone line, three things a demo hides become the entire engineering pro]]></description><link>https://mahadizulfiker.hashnode.dev/building-a-voice-ai-that-answers-the-phone-in-bangla</link><guid isPermaLink="true">https://mahadizulfiker.hashnode.dev/building-a-voice-ai-that-answers-the-phone-in-bangla</guid><category><![CDATA[webdev]]></category><category><![CDATA[AI]]></category><category><![CDATA[WebRTC]]></category><category><![CDATA[voice ai]]></category><dc:creator><![CDATA[Mahadi Zulfiker]]></dc:creator><pubDate>Sun, 20 Sep 2026 07:55:18 GMT</pubDate><content:encoded><![CDATA[<p>Most "voice AI" demos are a microphone in a browser tab. A phone call is a different problem. The moment you put an AI on a real phone line, three things a demo hides become the entire engineering problem: latency, telephony, and a voice that sounds human in the caller's own language.</p>
<p>I spent a good while on this building a Bangla-speaking call agent at <a href="https://mahadizulfiker.dev/work/selorax-voice-ai">SeloraX</a>. Here is what actually mattered.</p>
<h2>The latency budget is smaller than you think</h2>
<p>On a real call, people start to feel something is wrong at around <strong>300 milliseconds</strong> of dead air. That is your entire round-trip budget: speech in → transcription → model reasoning → speech out → back down the phone line. Every hop spends part of it.</p>
<p>The naive pipeline record a turn, send it up, wait for a full response, synthesize it, play it blows the budget on the first sentence. The fix is to stream every stage and overlap them: begin synthesizing the start of the answer while the model is still generating the end of it.</p>
<p>You cannot bolt this on later. It decides your architecture on day one.</p>
<h2>Telephony is the unglamorous hard part</h2>
<p>The model is the easy 20%. Bridging a SIP telephony gateway into a realtime audio pipeline is where the real work lives call setup, codecs, jitter, and the fact that phone audio is narrow-band and lossy.</p>
<p>A model that sounds great on studio audio can fall apart on 8 kHz phone-band sound. This surprises people every time.</p>
<h2>Why a custom voice</h2>
<p>No hosted TTS produced conversational Bangla we were willing to ship. So the voice is a custom-trained model, tuned for phone-band audio specifically.</p>
<p>That is a real tradeoff, and I want to be clear it is not free: a custom voice is far more work and has to be maintained, versus a hosted one you never think about again. But there was no hosted option that made the call feel like a person and on a phone call, the voice <em>is</em> the product. Everything else the caller never sees.</p>
<h2>What I'd tell someone starting</h2>
<ul>
<li><p>Design the whole thing around the 300 ms budget from day one. You cannot bolt streaming on afterwards.</p>
</li>
<li><p>Spend your hardest week on the SIP/telephony bridge, not the prompt.</p>
</li>
<li><p>Test on real phone audio early. Studio audio lies to you.</p>
</li>
</ul>
<hr />
<p>The full case study, including how this became a multi-tenant platform merchants run themselves, is on my site: <a href="https://mahadizulfiker.dev/work/selorax-voice-ai">mahadizulfiker.dev/work/selorax-voice-ai</a></p>
<p>I'm Mahadi Zulfiker, a full-stack engineer in Dhaka building voice-AI and commerce systems. More writing at <a href="https://mahadizulfiker.dev/notes">mahadizulfiker.dev/notes</a>.<br /><a href="https://mahadizulfiker.dev/notes/building-a-bangla-voice-agent">https://mahadizulfiker.dev/notes/building-a-bangla-voice-agent</a></p>
]]></content:encoded></item></channel></rss>