<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
SOAP<br>
<br>
My 2 cents,<br>
<br>
Jeremy<br>
<br>
<br>
Chris Albertson wrote:<br>
<blockquote type="cite"
cite="mid20030317222257.27868.qmail@web41306.mail.yahoo.com">
<pre wrap="">I think the way to go with conf. file for Asterisk is XML.
When I first saw the Asterisk conf files I wondered if Eric
Allman had found a new job working on Asterisk. (That's
a joke for those of you who have had to maintain a sendmail
installation. sendmail.cf is the definition of cryptic)
Some advantages of XML:
1) Parsers and file editors already exist for XML. Users could
edit files with ready made GUI tools, programmers can use
XML with XML libraries. There are even web-based tools for
maintaining XML data.
2) Parsers and file editors can perform file validation. Making
it not-possible to save an invalid file.
3) (some) Database systems can gobble up XML and spit it back
out. Yes, I think the DBMS idea was resonable for a large
installation. Overkill if less then say a few hundred
extensions. Large sites like to manage phone extension and,
extension to physical location maping and other stuff in a DBMS.
4) XML (with addition of a style sheet) can be directly displayed
in a web browser
5) Without a GUI and/or wrb front end the system will remain
only "geek usable". (Your average "phone guy" doesn't know
how to use vi.)
6) XML readers can ignor parts of the XML file they don't understand.
This allows one file to carry information for multiple readers
ad for new additions too the file not to break older readers.
--- Steven Critchfield <a class="moz-txt-link-rfc2396E" href="mailto:critch@basesys.com"><critch@basesys.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Mon, 2003-03-17 at 11:36, Stefano Finetti wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I was wondering about a little php-based GUI to manage Asterisk
</pre>
</blockquote>
<pre wrap="">Extensions.
</pre>
<blockquote type="cite">
<pre wrap="">Many way to obtain this, but i think that implementing in a php
</pre>
</blockquote>
<pre wrap="">script the
</pre>
<blockquote type="cite">
<pre wrap="">AGI Commands should obtain the best results (more, the best result
</pre>
</blockquote>
<pre wrap="">would
</pre>
<blockquote type="cite">
<pre wrap="">come with AGI+Mysql instead of a text file like extensions.conf
</pre>
</blockquote>
<pre wrap="">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.
</pre>
<blockquote type="cite">
<pre wrap="">The problem is that I've tried to understand *where* and *how*
</pre>
</blockquote>
<pre wrap="">apply AGI
</pre>
<blockquote type="cite">
<pre wrap="">commands, without, of course, any good result.
In which way AGI commands are passed to asterisk?
Into the console?
Executing applications via extensions.conf?
</pre>
</blockquote>
<pre wrap="">AGI commands come from a script invoked by asterisk itself, and
communicate via STDIN/STDOUT with asterisk.
--
Steven Critchfield <a class="moz-txt-link-rfc2396E" href="mailto:critch@basesys.com"><critch@basesys.com></a>
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
=====
Chris Albertson
Home: 310-376-1029 <a class="moz-txt-link-abbreviated" href="mailto:chrisalbertson90278@yahoo.com">chrisalbertson90278@yahoo.com</a>
Cell: 310-990-7550
Office: 310-336-5189 <a class="moz-txt-link-abbreviated" href="mailto:Christopher.J.Albertson@aero.org">Christopher.J.Albertson@aero.org</a>
KG6OMK
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
<a class="moz-txt-link-freetext" href="http://platinum.yahoo.com">http://platinum.yahoo.com</a>
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>