[Asterisk-java-cvs] CVS: asterisk-java/xdocs tutorial.xml,1.1,1.2
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-03-13 11:32:58
|
Update of /cvsroot/asterisk-java/asterisk-java/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22243/xdocs Modified Files: tutorial.xml Log Message: Index: tutorial.xml =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/xdocs/tutorial.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -p -r1.1 -r1.2 --- tutorial.xml 11 Mar 2005 23:17:46 -0000 1.1 +++ tutorial.xml 13 Mar 2005 11:32:47 -0000 1.2 @@ -60,13 +60,13 @@ public class HelloAGIScript extends Abst public void service(AGIRequest request, AGIChannel channel) throws AGIException { - // Answer the channel... + // Answer the channel... answer(channel); - // ...say hello... + // ...say hello... streamFile(channel, "welcome"); - // ...and hangup. + // ...and hangup. hangup(channel); } } @@ -133,8 +133,8 @@ INFO: End AGIScript HelloAGIScript on AG and the poolSize.</p> <p>The bindPort determines the TCP port the server will listen on. By default this is the FastAGI port 4573. If you change it make sure to include the - new port in your URLs used in <code>extensions.conf</code>. When using - bindPort 1234 your <code>extensions.conf</code> will look like:</p> + new port in the URLs used in <code>extensions.conf</code>. When using + bindPort 1234 your <code>extensions.conf</code> will contain:</p> <source><![CDATA[ exten => 1300,1,Agi(agi://localhost:1234/hello.agi) ]]></source> @@ -142,7 +142,7 @@ exten => 1300,1,Agi(agi://localhost:1234 DefaultAGIServer uses a fixed size thread pool to serve your AGIScripts. The poolSize determines how many threads are spawned at startup and thus limits the number of AGIScripts that can run at the same time. So you - should set the poolSize to at least the number of concurrent calls your + should set the poolSize to at least the number of concurrent calls the AGIServer should be able to handle. The default value is 10.</p> <p>These configuration properties can be set by providing a <code>fastagi.properties</code> file on the classpath.</p> |