Archive

Archive for the ‘VOIP’ Category

Introduction to PHP AGI (Asterisk Gateway Interface)

August 17th, 2010 2 comments

The (AGI) Asterisk Gateway Interface is an interface for adding functionality to Asterisk with many different programming languages. Perl, PHP, C, Pascal, Bourne Shell, or any other programming language that you like.

To use AGI, create an extension on extension.conf, with this format (example extension number 5151):

exten => 5151,1,AGI(test.php)

 

Then place the script (for example in PHP, test.php) on the specified AGI folder in asterisk.conf, for example in /var/lib/asterisk/agi-bin.

The script should be executable, so you must first chmod +x to the script.

As an example, let create simple AGI application that fetch the web for a currency data and speak it to the caller. To simplify our self, we are going to use PHP and PHPAGI library.

Read more…

  • Share/Bookmark
Categories: Asterisk, PHP, VOIP Tags: , ,

Internet Telephone Calls: VoIP Basics

September 18th, 2009 No comments

Copyright (c) 2009 Nermine Shaker

Optical fiber provides cheaper bandwidth for l...

Image via Wikipedia

You’ve seen the commercials and read the news advertisements for telephone service using your computer: very cheap monthly fees; make all the calls you want; keep your telephone number forever; and voice quality as good as a landline. You’ve heard the claims and you’ve heard the term "VoIP." Here’s the scoop.

VoIP stands for Voice over Internet Protocol and it does what the name suggests – it transmits voice data using IP packets over the Internet. It is also called Internet Telephony. It’s easier to understand VoIP if you know a little about our telephone system – PSTN (the Public Switched Telephone Network) and a little about the Internet.

Read more…

  • Share/Bookmark
This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.