News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Marcelo Gornstein's Blog:
Advanced telephony applications with PHP and PAGI using call flow nodes
April 04, 2012 @ 11:21:54

Marcelo Gornstein has a new post to his blog (in his PHP and PAGI series) showing how you can use call nodes to create more complicated telephony applications.

Now, since version 1.10.0, PAGI comes with a neat feature, which is a small abstraction layer over the pagi client, called "Nodes". Also, the "NodeController" will orchestrate how those nodes interact with each other. Nodes are essentially call flow nodes. These new features will allow you to implement complete call flows in no time, and maybe even without using the pagi client by yourself. In this article, I'll introduce the nodes by themselves (and how to unit test them), and will talk about the node controller in a latter article.

He introduces the concepts of these Nodes and shows how to create a simple client, make a node off of it and read in the user's input. Code is also included for a basic IVR menu, working with pre-prompt messages, digits, datetimes and calling card PIN numbers. There's also some examples of calling validators on the input, making callbacks, tracking the nodes via in internal system and mocking out the nodes for testing purposes.

0 comments voice your opinion now!
pagi telephony application call flow node tutorial


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: Converting Legacy Apps to CakePHP, Part 2

PHPFreaks.com: Regular Expressions (Part1) - Basic Syntax

Shay Ben Moshe's Blog: Hashing Passwords Properly

HowToForge.com: LAMP Installation On Ubuntu 6.06 For Linux Noobs

PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort Algorithm


Community Events





Don't see your event here?
Let us know!


series install introduction opinion version composer security tool laravel voicesoftheelephpant update language release package symfony podcast framework interview library community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework