---
title: "How to Augment Voice Calls with Twilio Intelligence"
description: "This tutorial shows PHP developers how to augment a Twilio voice AI agent with Conversation Intelligence, Conversation Orchestrator, and Conversation Memory. The goal is to retrieve a short summary of each customer call, analyze the caller’s sentiment, and check whether the agent followed set guidelines. The information is persisted to a SQLite database for later use. The tutorial builds on a previous voice agent tutorial and requires a Twilio account, a voice-capable phone number, and ngrok to expose the local server. It walks through setting up Conversation Orchestrator, Conversation Intelligence, and the application database, then testing the flow with example questions. The post also mentions the Conversations API (V2) for retrieving call summaries and sentiment analysis."
---

# How to Augment Voice Calls with Twilio Intelligence

[Twilio](https://yomu.fyi/company/twilio) · Matthew Setter · Sep 29, 2026

**Type:** Tutorial

## Summary

This tutorial shows PHP developers how to augment a Twilio voice AI agent with Conversation Intelligence, Conversation Orchestrator, and Conversation Memory. The goal is to retrieve a short summary of each customer call, analyze the caller’s sentiment, and check whether the agent followed set guidelines. The information is persisted to a SQLite database for later use. The tutorial builds on a previous voice agent tutorial and requires a Twilio account, a voice-capable phone number, and ngrok to expose the local server. It walks through setting up Conversation Orchestrator, Conversation Intelligence, and the application database, then testing the flow with example questions. The post also mentions the Conversations API (V2) for retrieving call summaries and sentiment analysis.

## Context

The post is a tutorial for PHP developers extending a Twilio voice AI agent with Conversation Intelligence, Conversation Orchestrator, and Conversation Memory, persisting call summaries and sentiment to SQLite.

## Approach / What changed

Set up Conversation Orchestrator and Conversation Memory, then Conversation Intelligence, make the app publicly accessible via ngrok, create a SQLite database with dump.sql, and test the flow with sample questions to verify summaries, sentiment, and guideline adherence.

## Takeaways

- Conversation Intelligence, Conversation Orchestrator, and Conversation Memory work together to provide real-time call summaries, sentiment analysis, and guideline adherence checks.
- The Conversations API (V2) can retrieve a short summary of each call and an analysis of the caller’s sentiment, which can be persisted to a SQLite database.
- The tutorial is geared toward PHP developers but offers C# and JavaScript options for building the same project.

## FAQ

### What do I need to follow this tutorial?

You need a free Twilio account, a voice-capable Twilio phone number, the Owl Air phone agent from the previous tutorial or any Conversation, SQLite support, and ngrok or a similar tool to expose your local server to Twilio.

### What can I do with the retrieved conversation data?

You can retrieve a short summary of each customer call, an analysis of the caller's sentiment, and whether the agent followed the guidelines you set. This information can be persisted to a SQLite database for later use.

### How do I test the application?

You can test the full flow by asking questions like 'What's the baggage policy?', 'How do loyalty points work?', and 'Can I change my flight?' to verify the agent's responses and the stored conversation data.

**Tags:** [Conversation Intelligence](https://yomu.fyi/topic/conversation-intelligence), [Conversation Memory](https://yomu.fyi/topic/conversation-memory), [Conversation Orchestrator](https://yomu.fyi/topic/conversation-orchestrator), [PHP](https://yomu.fyi/topic/php), [Twilio](https://yomu.fyi/topic/twilio)

- Source: [Twilio](https://www.twilio.com/en-us/blog/developers/tutorials/product/augment-voice-calls-twilio-intelligence-php)
- Source URL: https://www.twilio.com/en-us/blog/developers/tutorials/product/augment-voice-calls-twilio-intelligence-php
- Ingested by Yomu: 2026-09-30T21:00:11.340Z

[Read original post](https://www.twilio.com/en-us/blog/developers/tutorials/product/augment-voice-calls-twilio-intelligence-php)
