[Asterisk-Users] PHP Gui for Asterisk (AGI questions)

Steven Critchfield critch at basesys.com
Mon Mar 17 12:16:37 MST 2003


On Mon, 2003-03-17 at 11:36, Stefano Finetti wrote:
> I was wondering about a little php-based GUI to manage Asterisk Extensions.
> 
> Many way to obtain this, but i think that implementing in a php script the
> AGI Commands should obtain the best results (more, the best result would
> come with AGI+Mysql instead of a text file like extensions.conf but...).

Text files would be better than a database since you could comment on
what you are trying to do with a text file. Also a text file can be
munged easier than a database when a change in argument format comes out
such as the function style of calling apps in asterisk. Maybe if you
need webbased configuration you could make a script that held your
working copy either in a flat file or text file , then generated a new
extensions.conf file as you commit changes. Once commited, you make a
call to asterisk to reload via the manager port. 

> The problem is that I've tried to understand *where* and *how* apply AGI
> commands, without, of course, any good result.
> 
> In which way AGI commands are passed to asterisk?
> Into the console?
> Executing applications via extensions.conf?

AGI commands come from a script invoked by asterisk itself, and
communicate via STDIN/STDOUT with asterisk.


-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list