Update of /cvsroot/asterisk-java/asterisk-java/xdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17753/xdocs
Added Files:
design.xml
Log Message:
Added stub for design documentation
--- NEW FILE: design.xml ---
<?xml version="1.0"?>
<!--
/*
* Copyright 2004-2005 Stefan Reuter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
-->
<document>
<properties>
<author email="srt at users.sourceforge.net">Stefan Reuter</author>
<title>Design</title>
</properties>
<meta name="keywords" content="Asterisk,asterisk,Java,java,Manager API,FastAGI,AGI"/>
<body>
<section name="Design">
<p>This document shows a brief overview of the design of
Asterisk-Java and the requirements that lead to that
design.</p>
<subsection name="Introduction">
<p>When I first stumbled upon Asterisk there haven't been
many options to integrate your own applications.</p>
<p> First of all you have the possibility to write your own
Asterisk applications. That's the way many internal
functions are implemented, for example Asterisk's
Dial, Voicemail and Queue commands.
This approach usually requires writing a small
module in C that uses Asterisk's internal API an is
compiled into a shared object that is loaded when
Asterisk starts. Your application is then tightly
coupled to Asterisk but has access to any internal
structure.</p>
<p>The second approach is to write AGI scripts. An AGI
script is to Asterisk what a CGI script is to an
HTTP server.</p>
</subsection>
<subsection name="Requirements">
<p></p>
</subsection>
<subsection name="Overall Design">
<p></p>
</subsection>
<subsection name="AGI">
<p><a href="images/agi.png"><img src="images/agi-thumb.png"/></a></p>
</subsection>
<subsection name="Manager API">
<p><a href="images/manager.png"><img src="images/manager-thumb.png"/></a></p>
</subsection>
</section>
</body>
</document>
|