<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ebrahim Manj</title>
    <description>The latest articles on DEV Community by Ebrahim Manj (@ebrahim_manj_ecda3a00df24).</description>
    <link>https://dev.to/ebrahim_manj_ecda3a00df24</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4106589%2Fe9d8c84b-5594-4520-8738-97be9198d34c.jpg</url>
      <title>DEV Community: Ebrahim Manj</title>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ebrahim_manj_ecda3a00df24"/>
    <language>en</language>
    <item>
      <title>How call tracking actually works: tracking numbers and dynamic number insertion explained</title>
      <dc:creator>Ebrahim Manj</dc:creator>
      <pubDate>Fri, 20 Nov 2026 12:44:17 +0000</pubDate>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24/how-call-tracking-actually-works-tracking-numbers-and-dynamic-number-insertion-explained-34co</link>
      <guid>https://dev.to/ebrahim_manj_ecda3a00df24/how-call-tracking-actually-works-tracking-numbers-and-dynamic-number-insertion-explained-34co</guid>
      <description>&lt;p&gt;Your analytics can tell you that someone clicked a Google ad, landed on &lt;code&gt;/pricing&lt;/code&gt; and left after 40 seconds. What it can't tell you is that they then picked up their phone and called you, and became your biggest customer.&lt;/p&gt;

&lt;p&gt;For a lot of businesses (plumbers, dentists, law firms, agencies running ads for them), &lt;strong&gt;the phone call is the conversion&lt;/strong&gt;. Call tracking is the set of tricks that connects that call back to the marketing that caused it.&lt;/p&gt;

&lt;p&gt;I'm building &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;, a call tracking product, and when I explain it to developers the reaction is usually "wait, how does it know which ad the caller came from?" This post answers that, step by step, including the core technique behind it: &lt;strong&gt;dynamic number insertion (DNI)&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core idea: the phone number is the tracking parameter
&lt;/h2&gt;

&lt;p&gt;On the web, you track attribution with things like &lt;code&gt;?utm_source=google&lt;/code&gt; or a &lt;code&gt;gclid&lt;/code&gt;. A phone call carries none of that. The only data you reliably get is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the number the caller dialed&lt;/li&gt;
&lt;li&gt;the caller's number (caller ID)&lt;/li&gt;
&lt;li&gt;the time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So call tracking uses &lt;strong&gt;the number that was dialed&lt;/strong&gt; as the tracking parameter. If each marketing source shows a different number, the dialed number tells you the source.&lt;/p&gt;

&lt;p&gt;All those numbers forward to the business's real line, so the business doesn't have to do anything differently. The call tracking platform sits in the middle, logs the call, and passes it through.&lt;/p&gt;

&lt;h2&gt;
  
  
  Static tracking numbers: one number per source
&lt;/h2&gt;

&lt;p&gt;The simplest version is &lt;strong&gt;static&lt;/strong&gt; numbers:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Where the number appears&lt;/th&gt;
&lt;th&gt;Number shown&lt;/th&gt;
&lt;th&gt;Forwards to&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Google Business Profile&lt;/td&gt;
&lt;td&gt;(555) 010-1001&lt;/td&gt;
&lt;td&gt;Main line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Facebook ads&lt;/td&gt;
&lt;td&gt;(555) 010-1002&lt;/td&gt;
&lt;td&gt;Main line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Billboard on Highway 9&lt;/td&gt;
&lt;td&gt;(555) 010-1003&lt;/td&gt;
&lt;td&gt;Main line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Direct mail flyer&lt;/td&gt;
&lt;td&gt;(555) 010-1004&lt;/td&gt;
&lt;td&gt;Main line&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A call to 1003 came from the billboard. Done.&lt;/p&gt;

&lt;p&gt;This works well for offline channels and fixed placements, and it's how a lot of businesses start. But it breaks down on your &lt;strong&gt;website&lt;/strong&gt;, because one page gets visitors from many sources. Someone from a Google ad and someone from an organic search land on the same homepage. One static number can't tell them apart.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dynamic number insertion: a number per visitor
&lt;/h2&gt;

&lt;p&gt;DNI solves the website problem. Instead of one number per source, you keep a &lt;strong&gt;pool&lt;/strong&gt; of numbers, and a script on your site:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Works out where the visitor came from (UTM tags, &lt;code&gt;gclid&lt;/code&gt;, referrer, landing page).&lt;/li&gt;
&lt;li&gt;Assigns that visitor a number from the pool for the length of their session.&lt;/li&gt;
&lt;li&gt;Swaps the phone number shown on the page for the assigned one.&lt;/li&gt;
&lt;li&gt;Remembers the assignment, so when that number rings, the platform knows which session (and therefore which source, keyword and page) the call belongs to.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When the session ends, the number goes back into the pool for the next visitor.&lt;/p&gt;

&lt;h3&gt;
  
  
  How big does the pool need to be?
&lt;/h3&gt;

&lt;p&gt;Each number is "held" by one visitor while they browse and for a while after, because people often call a few minutes after leaving. If two visitors get the same number at the same time, you can't tell their calls apart.&lt;/p&gt;

&lt;p&gt;A rough rule of thumb is: &lt;strong&gt;pool size ≈ peak concurrent visitors who see the number&lt;/strong&gt;, plus some headroom. Many platforms also let you pool only &lt;em&gt;paid&lt;/em&gt; traffic (where keyword-level data matters most) and show a single static number to everyone else, which keeps the pool small.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a DNI setup looks like, step by step
&lt;/h2&gt;

&lt;p&gt;Here's the flow from the visitor's side and the platform's side:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A visitor arrives.&lt;/strong&gt; A small script on the site reads where they came from: UTM tags, a Google Ads click ID (&lt;code&gt;gclid&lt;/code&gt;), the referring site, and the page they landed on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They get a number.&lt;/strong&gt; The platform picks a free number from the pool and assigns it to that visitor's session. It records which number went to which session, along with the source, campaign, keyword and landing page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The page shows their number.&lt;/strong&gt; Every phone number marked on the page (in the header, the contact section, click-to-call buttons) is swapped for the assigned one. Click-to-call links are updated too, so tapping on mobile dials the right number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The number stays with them.&lt;/strong&gt; As they browse more pages, they keep seeing the same number, so the session isn't split across several numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They call.&lt;/strong&gt; The call comes in to the pool number. The platform looks up which session held that number at that moment, attaches the source, campaign, keyword and landing page to the call, and forwards it to the business's real line. The caller never notices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The number is released.&lt;/strong&gt; After the session (plus a grace period for people who call a bit later) the number goes back into the pool.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That lookup in step 5 is the whole trick. Everything else a call tracking platform does is built on top of that match.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that make it hard in practice
&lt;/h2&gt;

&lt;p&gt;The basic flow is the easy part. What makes it hard:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pool exhaustion.&lt;/strong&gt; When every number is held, what do new visitors see? Usually a fallback number, and you lose attribution for those calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Late callers.&lt;/strong&gt; People call back hours later. Hold numbers too long and your pool runs out; release them too fast and calls get matched to the wrong visitor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bots and crawlers.&lt;/strong&gt; They don't call, but they do grab numbers. Filter them before assigning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SEO.&lt;/strong&gt; Don't swap the number search engines see in your structured data or Google Business Profile. Inconsistent business phone numbers can hurt local rankings. DNI should only change what human visitors see.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy and consent.&lt;/strong&gt; If you record calls, recording consent laws differ by state and country. Some require every party to agree. This is the caller's experience, not just a technical detail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Getting the data back out.&lt;/strong&gt; Marketers want calls to show up as conversions in Google Ads and GA4, not in a separate dashboard. That means sending events back with the original &lt;code&gt;gclid&lt;/code&gt; or client ID.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What happens after the call is matched
&lt;/h2&gt;

&lt;p&gt;Once you know which campaign drove a call, the interesting questions start: was it a good call? A new customer or a wrong number? This is where AI has changed the category. Platforms can now transcribe calls, summarize them and score how likely the caller is to buy, so you can judge a campaign by the &lt;strong&gt;quality&lt;/strong&gt; of its calls rather than just the count.&lt;/p&gt;

&lt;p&gt;That's the part we focus on at CallRing AI: call tracking with DNI and number pools, plus AI transcripts, summaries and call scoring, and spam call blocking, so a campaign that brings in 50 robocalls doesn't look like a success.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm building &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;, call tracking for small businesses and agencies. We launch in January. If you've built anything with phone numbers or telephony APIs, I'd like to hear what tripped you up in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>marketing</category>
      <category>analytics</category>
      <category>startup</category>
    </item>
    <item>
      <title>Building Secure SaaS Workspaces: Why Access Control Should Be a Core Feature In CallRing AI</title>
      <dc:creator>Ebrahim Manj</dc:creator>
      <pubDate>Sat, 31 Oct 2026 07:52:30 +0000</pubDate>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24/building-secure-saas-workspaces-why-access-control-should-be-a-core-feature-in-callring-ai-5b3m</link>
      <guid>https://dev.to/ebrahim_manj_ecda3a00df24/building-secure-saas-workspaces-why-access-control-should-be-a-core-feature-in-callring-ai-5b3m</guid>
      <description>&lt;p&gt;As SaaS applications grow, managing users becomes more complicated.&lt;/p&gt;

&lt;p&gt;A workspace might start with a single owner, but eventually it includes managers, team members, clients, and external collaborators. Each user has a different responsibility, and not everyone should have access to everything.&lt;/p&gt;

&lt;p&gt;This raises an important question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do you make collaboration easier without compromising workspace security?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The answer starts with proper access control.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Not Every User Should Have the Same Access
&lt;/h2&gt;

&lt;p&gt;One common mistake in SaaS development is giving every authenticated user similar access to application resources.&lt;/p&gt;

&lt;p&gt;Authentication tells us who a user is. Authorization determines what that user is allowed to do.&lt;/p&gt;

&lt;p&gt;These are two different security layers.&lt;/p&gt;

&lt;p&gt;For example, consider a call tracking platform with three user roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Manager:&lt;/strong&gt; Manages assigned team activities and permitted workspace operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Member:&lt;/strong&gt; Accesses assigned features and information according to permissions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Client:&lt;/strong&gt; Views only the information and reports made available to them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A well-designed authorization system ensures that each role operates within its assigned boundaries.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Workspace-Level Access Control
&lt;/h2&gt;

&lt;p&gt;In a multi-tenant SaaS application, workspace isolation is particularly important.&lt;/p&gt;

&lt;p&gt;A user may belong to multiple workspaces, but that doesn't mean they should automatically have access to all of them.&lt;/p&gt;

&lt;p&gt;A secure workspace architecture should verify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whether the user belongs to the requested workspace.&lt;/li&gt;
&lt;li&gt;Whether the user has an active invitation or membership.&lt;/li&gt;
&lt;li&gt;Whether the account owner has granted access.&lt;/li&gt;
&lt;li&gt;Whether the requested action is allowed for that user's role.&lt;/li&gt;
&lt;li&gt;Whether the user is accessing resources belonging to the correct workspace.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This verification should happen on the backend, not just in the frontend.&lt;/p&gt;

&lt;p&gt;Hiding a button or restricting a navigation menu is not sufficient security.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Authentication Is Not Enough
&lt;/h2&gt;

&lt;p&gt;Even if someone successfully logs into an application, they should not automatically gain access to every workspace.&lt;/p&gt;

&lt;p&gt;A secure system should validate permissions whenever a user attempts to access protected resources.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="nv"&gt;$user&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;hasAccessToWorkspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$workspace&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;abort&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'You do not have permission to access this workspace.'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a simplified example. In production, the authorization logic should also account for membership status, assigned roles, resource ownership, and individual permissions.&lt;/p&gt;

&lt;p&gt;The important principle is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every protected request should be authorized.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Why This Matters for Growing Businesses
&lt;/h2&gt;

&lt;p&gt;Imagine a marketing agency managing multiple clients.&lt;/p&gt;

&lt;p&gt;Each client has different campaigns, call records, team members, and business information.&lt;/p&gt;

&lt;p&gt;If workspace permissions are poorly implemented, one client might accidentally access another client's information.&lt;/p&gt;

&lt;p&gt;That creates serious privacy and security risks.&lt;/p&gt;

&lt;p&gt;Proper workspace isolation helps businesses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Protect sensitive business information.&lt;/li&gt;
&lt;li&gt;Prevent unauthorized workspace access.&lt;/li&gt;
&lt;li&gt;Manage teams with confidence.&lt;/li&gt;
&lt;li&gt;Give clients controlled access.&lt;/li&gt;
&lt;li&gt;Scale without losing control over permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. How We're Approaching This in &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;At CallRing AI, we're building a call tracking and lead intelligence platform where workspace management and access control are important parts of the product.&lt;/p&gt;

&lt;p&gt;Our goal is to give workspace owners control over who can enter their workspace and what each user can access.&lt;/p&gt;

&lt;p&gt;Managers, members, and clients should only be able to access workspaces and resources for which they have been granted permission.&lt;/p&gt;

&lt;p&gt;We believe security shouldn't be an afterthought added when a SaaS product becomes successful. It should be part of the architecture from the beginning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building a SaaS application isn't just about adding features. It's also about protecting the data and trust of the businesses using it.&lt;/p&gt;

&lt;p&gt;Authentication, authorization, role-based permissions, and workspace isolation should work together.&lt;/p&gt;

&lt;p&gt;Because in a multi-tenant application, controlling who can access a workspace is just as important as controlling what they can do inside it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your workspace. Your rules. Your permission.&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;About &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; is a call tracking and lead intelligence platform designed to help businesses track inbound calls, understand lead sources, and measure marketing performance.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;https://www.callring.ai&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  SaaS #Laravel #PHP #WebDevelopment #Security #MultiTenancy #RBAC #SoftwareEngineering
&lt;/h1&gt;

</description>
      <category>architecture</category>
      <category>saas</category>
      <category>security</category>
      <category>backend</category>
    </item>
    <item>
      <title>Building CallRing AI: From Call Tracking to Lead Intelligence</title>
      <dc:creator>Ebrahim Manj</dc:creator>
      <pubDate>Wed, 16 Sep 2026 08:06:42 +0000</pubDate>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24/building-callring-ai-from-call-tracking-to-lead-intelligence-1ci1</link>
      <guid>https://dev.to/ebrahim_manj_ecda3a00df24/building-callring-ai-from-call-tracking-to-lead-intelligence-1ci1</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddfg1gli4v1148r328dn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddfg1gli4v1148r328dn.png" alt=" " width="800" height="331"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Building a SaaS product from scratch is very different from building a normal web application.&lt;/p&gt;

&lt;p&gt;You don't just need to make the features work.&lt;/p&gt;

&lt;p&gt;You need to think about architecture, integrations, data isolation, permissions, scalability, tracking, billing, and — most importantly — how all of those pieces work together.&lt;/p&gt;

&lt;p&gt;That's what we've been working on with &lt;strong&gt;CallRing AI&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CallRing AI?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; is a call tracking and lead intelligence platform designed to help businesses understand where their calls are coming from and what happens after the call.&lt;/p&gt;

&lt;p&gt;The basic idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Don't just track the call. Understand the lead behind it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A business may receive calls from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google Ads&lt;/li&gt;
&lt;li&gt;Facebook Ads&lt;/li&gt;
&lt;li&gt;Landing pages&lt;/li&gt;
&lt;li&gt;Organic traffic&lt;/li&gt;
&lt;li&gt;Referrals&lt;/li&gt;
&lt;li&gt;Offline campaigns&lt;/li&gt;
&lt;li&gt;Direct traffic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of treating every call as an isolated event, &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; connects the call with its source and other lead information.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;p&gt;The application is built around the Laravel ecosystem and the TALL Stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Laravel&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Livewire&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tailwind CSS&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alpine.js&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MySQL&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We also use external services and APIs for things such as telephony, payments, analytics, and AI-powered conversation processing.&lt;/p&gt;

&lt;p&gt;One of the reasons I enjoy Laravel for SaaS development is how quickly you can move from an idea to a structured application without sacrificing the ability to build more advanced architecture later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Interesting Part: Attribution
&lt;/h2&gt;

&lt;p&gt;One of the biggest challenges is connecting a phone call back to its marketing source.&lt;/p&gt;

&lt;p&gt;Imagine someone clicks a Google Ad, visits a landing page, and later calls a business.&lt;/p&gt;

&lt;p&gt;The useful question isn't only:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Did we receive a call?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Which campaign generated this call, and what happened to the lead afterward?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That means the system needs to connect multiple pieces of data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Marketing Source
       ↓
Website Visit
       ↓
Tracking Number
       ↓
Incoming Call
       ↓
Contact / Lead
       ↓
Deal
       ↓
Revenue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a much more useful picture of marketing performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workspaces
&lt;/h2&gt;

&lt;p&gt;Another part of the architecture is the workspace system.&lt;/p&gt;

&lt;p&gt;Businesses can have multiple teams, branches, locations, or clients.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Workspace
├── Location A
│   ├── Phone Numbers
│   ├── Campaigns
│   └── Calls
│
├── Location B
│   ├── Phone Numbers
│   ├── Campaigns
│   └── Calls
│
└── Location C
    ├── Phone Numbers
    ├── Campaigns
    └── Calls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each workspace can have its own configuration, users, numbers, campaigns, and reporting.&lt;/p&gt;

&lt;p&gt;This also makes the platform useful for marketing agencies managing multiple clients.&lt;/p&gt;

&lt;h2&gt;
  
  
  Role-Based Access
&lt;/h2&gt;

&lt;p&gt;SaaS applications quickly become complicated when multiple people need different levels of access.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; uses workspace-based permissions so different users can have different responsibilities.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Owner&lt;/li&gt;
&lt;li&gt;Manager&lt;/li&gt;
&lt;li&gt;Member&lt;/li&gt;
&lt;li&gt;Client&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important part is making sure users only access the data they're supposed to see.&lt;/p&gt;

&lt;p&gt;This sounds simple, but it becomes an important architectural concern once an application has multiple workspaces and thousands of records.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI-Powered Conversation Intelligence
&lt;/h2&gt;

&lt;p&gt;Call tracking tells you that a conversation happened.&lt;/p&gt;

&lt;p&gt;But the conversation itself contains valuable information.&lt;/p&gt;

&lt;p&gt;That's where AI processing comes in.&lt;/p&gt;

&lt;p&gt;A call can be transformed into structured information such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transcript&lt;/li&gt;
&lt;li&gt;Summary&lt;/li&gt;
&lt;li&gt;Sentiment&lt;/li&gt;
&lt;li&gt;Speaker identification&lt;/li&gt;
&lt;li&gt;Lead score&lt;/li&gt;
&lt;li&gt;Important conversation details&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of manually listening to hundreds of recordings, a sales or marketing team can quickly understand what happened.&lt;/p&gt;

&lt;p&gt;The goal isn't simply to add "AI" to the product.&lt;/p&gt;

&lt;p&gt;The goal is to turn unstructured conversations into useful business data.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I've Learned Building It
&lt;/h2&gt;

&lt;p&gt;One of the biggest lessons I've learned while building CallRing AI is that SaaS development is mostly about connections.&lt;/p&gt;

&lt;p&gt;A single feature can touch several parts of the system.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Call
 ↓
Recording
 ↓
Transcript
 ↓
AI Analysis
 ↓
Lead
 ↓
Campaign
 ↓
Deal
 ↓
Revenue
 ↓
ROI
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each step needs reliable data.&lt;/p&gt;

&lt;p&gt;If one part of the chain is poorly designed, the final reporting becomes unreliable.&lt;/p&gt;

&lt;p&gt;That's why I'm spending a lot of time thinking about the data model and relationships instead of only focusing on the UI.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;We're continuing to work on &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; with a focus on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better call attribution&lt;/li&gt;
&lt;li&gt;AI conversation intelligence&lt;/li&gt;
&lt;li&gt;Marketing integrations&lt;/li&gt;
&lt;li&gt;CRM integrations&lt;/li&gt;
&lt;li&gt;Analytics&lt;/li&gt;
&lt;li&gt;Multi-workspace reporting&lt;/li&gt;
&lt;li&gt;Lead intelligence&lt;/li&gt;
&lt;li&gt;Developer-friendly APIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The product is still evolving, and that's one of the most interesting parts of building a SaaS product.&lt;/p&gt;

&lt;p&gt;You start with an idea.&lt;/p&gt;

&lt;p&gt;Then real users, real data, and real problems force the architecture to evolve.&lt;/p&gt;

&lt;p&gt;That's the journey we're currently on with CallRing AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Track. Analyse. Grow.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Learn more about &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; and follow the journey as we continue building the platform.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What are you building right now?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear about the architecture, stack, or problem you're working on.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>saas</category>
      <category>software</category>
      <category>startup</category>
    </item>
    <item>
      <title>Building CallRing AI AI: Turning Business Calls Into Actionable Data 📞🤖</title>
      <dc:creator>Ebrahim Manj</dc:creator>
      <pubDate>Mon, 07 Sep 2026 14:14:03 +0000</pubDate>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24/building-callring-ai-turning-business-calls-into-actionable-data-279k</link>
      <guid>https://dev.to/ebrahim_manj_ecda3a00df24/building-callring-ai-turning-business-calls-into-actionable-data-279k</guid>
      <description>&lt;p&gt;As a developer, I’ve always been interested in how we can turn raw data into something businesses can actually use.&lt;/p&gt;

&lt;p&gt;One area that still has a huge amount of untapped data is phone calls.&lt;/p&gt;

&lt;p&gt;Businesses receive hundreds or thousands of calls, but simply storing call logs and recordings isn't enough. The real value is understanding what happened during those conversations.&lt;/p&gt;

&lt;p&gt;That’s why I started building &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;📞 Track calls from different marketing sources&lt;br&gt;
🎙️ Record conversations&lt;br&gt;
📝 Transcribe calls with AI&lt;br&gt;
🤖 Analyze conversations and extract useful insights&lt;br&gt;
📊 Connect calls with leads, deals, and revenue&lt;br&gt;
🏢 Manage multiple workspaces and teams&lt;br&gt;
🔗 Integrate with tools businesses already use&lt;/p&gt;

&lt;p&gt;From the development side, building this has been an interesting combination of:&lt;/p&gt;

&lt;p&gt;Laravel &amp;amp; PHP&lt;br&gt;
Livewire&lt;br&gt;
MySQL&lt;br&gt;
JavaScript&lt;br&gt;
REST APIs&lt;br&gt;
VoIP integrations&lt;br&gt;
AI transcription&lt;br&gt;
Stripe&lt;br&gt;
Google APIs&lt;br&gt;
Webhooks &amp;amp; automation&lt;/p&gt;

&lt;p&gt;One of the biggest challenges is making all these systems work together reliably — especially when dealing with real-time calls, recordings, webhooks, transcription, and analytics.&lt;/p&gt;

&lt;p&gt;The goal isn't just to build another call-tracking dashboard.&lt;/p&gt;

&lt;p&gt;The goal is to turn every business conversation into useful data.&lt;/p&gt;

&lt;p&gt;I'm continuing to build and improve &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;, and I'll be sharing more of the technical challenges, architecture, integrations, and lessons learned along the way.&lt;/p&gt;

&lt;p&gt;What are some interesting problems you've been solving lately?&lt;/p&gt;

&lt;h1&gt;
  
  
  DevCommunity #Laravel #PHP #AI #SaaS #CallTracking #VoIP #SoftwareDevelopment #WebDevelopment #CallRingAI
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>saas</category>
      <category>softwaredevelopment</category>
      <category>startup</category>
    </item>
    <item>
      <title>Building an AI-Powered Call Tracking Platform: Turning Phone Conversations Into Data</title>
      <dc:creator>Ebrahim Manj</dc:creator>
      <pubDate>Wed, 02 Sep 2026 16:57:11 +0000</pubDate>
      <link>https://dev.to/ebrahim_manj_ecda3a00df24/building-an-ai-powered-call-tracking-platform-turning-phone-conversations-into-data-2i7g</link>
      <guid>https://dev.to/ebrahim_manj_ecda3a00df24/building-an-ai-powered-call-tracking-platform-turning-phone-conversations-into-data-2i7g</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Farbc9ylm0fh38sv3ol70.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Farbc9ylm0fh38sv3ol70.png" alt=" " width="800" height="387"&gt;&lt;/a&gt;Phone calls are still an important source of leads for many businesses, but tracking what happens during those calls can be surprisingly difficult.&lt;/p&gt;

&lt;p&gt;Forms and website events are easy to measure. Phone conversations are different.&lt;/p&gt;

&lt;p&gt;A business may know that someone called, but often doesn't know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which marketing campaign generated the call?&lt;/li&gt;
&lt;li&gt;Was the caller a qualified lead?&lt;/li&gt;
&lt;li&gt;What was discussed?&lt;/li&gt;
&lt;li&gt;Was the call converted into a customer?&lt;/li&gt;
&lt;li&gt;What was the outcome of the conversation?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the problem I wanted to solve with &lt;strong&gt;CallRing AI&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt;?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; is an AI-powered call tracking and analytics platform designed to help businesses understand the value behind their inbound phone calls.&lt;/p&gt;

&lt;p&gt;The basic flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Website / Marketing Campaign
            ↓
      Dynamic Number
            ↓
       Inbound Call
            ↓
      Call Tracking
            ↓
    Recording / Metadata
            ↓
      AI Transcription
            ↓
    Conversation Analysis
            ↓
      Business Insights
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instead of treating a phone call as simply "someone called," the goal is to turn the conversation into structured business data.&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical challenge
&lt;/h2&gt;

&lt;p&gt;Building a call tracking platform involves much more than receiving a phone call.&lt;/p&gt;

&lt;p&gt;The system needs to connect several pieces:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Phone infrastructure&lt;/li&gt;
&lt;li&gt;Call tracking&lt;/li&gt;
&lt;li&gt;Dynamic number insertion&lt;/li&gt;
&lt;li&gt;Call recording&lt;/li&gt;
&lt;li&gt;Speech-to-text transcription&lt;/li&gt;
&lt;li&gt;AI analysis&lt;/li&gt;
&lt;li&gt;Marketing attribution&lt;/li&gt;
&lt;li&gt;Analytics&lt;/li&gt;
&lt;li&gt;Integrations&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For example, when a visitor lands on a website, a dynamic phone number can be displayed based on the visitor's marketing source.&lt;/p&gt;

&lt;p&gt;When the visitor calls that number, the platform can associate the call with information such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Source: Google Ads
Campaign: Emergency Plumbing
Keyword: emergency plumber
Caller: +1XXXXXXXXXX
Duration: 04:32
Status: Qualified Lead
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The conversation can then be transcribed and analyzed using AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why AI makes call tracking more useful
&lt;/h2&gt;

&lt;p&gt;Traditional call tracking tells you things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Caller number&lt;/li&gt;
&lt;li&gt;Call duration&lt;/li&gt;
&lt;li&gt;Time of call&lt;/li&gt;
&lt;li&gt;Tracking number&lt;/li&gt;
&lt;li&gt;Campaign/source&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI can go further.&lt;/p&gt;

&lt;p&gt;A conversation can potentially be analyzed for:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Intent
Lead quality
Topics discussed
Customer questions
Buying signals
Call outcome
Sentiment
Potential revenue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This transforms raw call logs into information that sales and marketing teams can actually use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the platform
&lt;/h2&gt;

&lt;p&gt;For the backend, I'm using technologies from the Laravel ecosystem, with APIs connecting the application to telephony and AI services.&lt;/p&gt;

&lt;p&gt;A simplified architecture looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              ┌─────────────────┐
              │     Website     │
              └────────┬────────┘
                       │
                       ▼
              ┌─────────────────┐
              │  DNI / Tracking │
              └────────┬────────┘
                       │
                       ▼
              ┌─────────────────┐
              │ Telephony Layer │
              └────────┬────────┘
                       │
              ┌────────▼────────┐
              │   Call Events   │
              └────────┬────────┘
                       │
          ┌────────────┴────────────┐
          ▼                         ▼
   ┌─────────────┐           ┌─────────────┐
   │ Call Storage│           │ Transcription│
   └─────────────┘           └──────┬──────┘
                                    │
                                    ▼
                             ┌─────────────┐
                             │ AI Analysis │
                             └──────┬──────┘
                                    │
                                    ▼
                             ┌─────────────┐
                             │   Analytics │
                             └─────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One of the interesting parts of this project is making sure all these asynchronous events remain connected to the same call and customer journey.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bigger idea
&lt;/h2&gt;

&lt;p&gt;The goal isn't simply to build another call log dashboard.&lt;/p&gt;

&lt;p&gt;The bigger idea is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Every phone conversation contains business data.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If that data can be captured, transcribed, analyzed and connected to marketing attribution, businesses can make much better decisions about where their leads and revenue are coming from.&lt;/p&gt;

&lt;p&gt;I'm continuing to build &lt;a href="https://www.callring.ai" rel="noopener noreferrer"&gt;CallRing AI&lt;/a&gt; around this idea and exploring how AI can make traditional call tracking significantly more useful.&lt;/p&gt;

&lt;p&gt;If you're building something around &lt;strong&gt;Laravel, AI, telephony, call analytics, or SaaS&lt;/strong&gt;, I'd love to hear how you're approaching similar problems.&lt;/p&gt;

&lt;h1&gt;
  
  
  laravel #php #ai #saas #calltracking #conversationintelligence #webdevelopment #softwaredevelopment
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>analytics</category>
      <category>saas</category>
      <category>startup</category>
    </item>
  </channel>
</rss>
