<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Moy Blog</title>
	<link>http://www.moythreads.com/wordpress</link>
	<description>Abandon All Hope, Ye Who Read This Blog</description>
	<pubDate>Wed, 19 Nov 2008 22:45:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>Comment on Asterisk Asynchronous AGI by manuna</title>
		<link>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-338</link>
		<author>manuna</author>
		<pubDate>Fri, 04 Jul 2008 08:37:25 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-338</guid>
					<description>Sorry, i've really misunderstood the way it works. My mind was that asynchronous channel can execute some AGI script (determined in dialplan), meanwhile being able to receive and execute asynchronous commands  (from an external AMI application). So the initial script sets up a call, and later on it can be asynchronously bridged, put on hold, etc.</description>
		<content:encoded><![CDATA[<p>Sorry, i&#8217;ve really misunderstood the way it works. My mind was that asynchronous channel can execute some AGI script (determined in dialplan), meanwhile being able to receive and execute asynchronous commands  (from an external AMI application). So the initial script sets up a call, and later on it can be asynchronously bridged, put on hold, etc.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Asterisk Asynchronous AGI by moy</title>
		<link>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-337</link>
		<author>moy</author>
		<pubDate>Thu, 03 Jul 2008 13:47:43 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-337</guid>
					<description>Then probably AsyncAGI is not for you.

 What you don't seem to understand is what I just said to you, AsyncAGI HANDLES ALL THE CHANNELS THROUGH THE MANAGER, there is no such thing as an execution script (sure thing probably there will be manager connections controled from scripts, but that's outside the AsyncAGI scope to know). That's what "Async" means, Asynchronous. 

When you execute a script via FastAGI that script will control the channel during the life of the script, your script just takes care of that single channel and when you execute an AGI command your script "blocks" its execution until the command finishes.

AsyncAGI just puts the channel to wait for Asynchronous AGI commands, where those commands will come from? is up to you. In my case I had a program that connected to the Asterisk manager and handled all the channels, so I had a single script that worked pretty much like a PBX in a scripting language, took care of knowing which channels were active and what to do with ALL of them, bridging them, un-bridging them, put in them in conferences, play audio etc. 

If  you do anything at all with Async AGI you will have to understand event-oriented programming, because that's how  you do to control channels over AsyncAGI.</description>
		<content:encoded><![CDATA[<p>Then probably AsyncAGI is not for you.</p>
<p> What you don&#8217;t seem to understand is what I just said to you, AsyncAGI HANDLES ALL THE CHANNELS THROUGH THE MANAGER, there is no such thing as an execution script (sure thing probably there will be manager connections controled from scripts, but that&#8217;s outside the AsyncAGI scope to know). That&#8217;s what &#8220;Async&#8221; means, Asynchronous. </p>
<p>When you execute a script via FastAGI that script will control the channel during the life of the script, your script just takes care of that single channel and when you execute an AGI command your script &#8220;blocks&#8221; its execution until the command finishes.</p>
<p>AsyncAGI just puts the channel to wait for Asynchronous AGI commands, where those commands will come from? is up to you. In my case I had a program that connected to the Asterisk manager and handled all the channels, so I had a single script that worked pretty much like a PBX in a scripting language, took care of knowing which channels were active and what to do with ALL of them, bridging them, un-bridging them, put in them in conferences, play audio etc. </p>
<p>If  you do anything at all with Async AGI you will have to understand event-oriented programming, because that&#8217;s how  you do to control channels over AsyncAGI.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Asterisk Asynchronous AGI by manuna</title>
		<link>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-336</link>
		<author>manuna</author>
		<pubDate>Thu, 03 Jul 2008 08:58:25 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-336</guid>
					<description>Will this be implemented in a way like:
AGI(agi:async/scriptname?par1=val1&#38;par2=val2...) ?
For me it's crucial to determine scriptname, because my FastAGI server processes different kinds of scripts, depending on extension dialed.</description>
		<content:encoded><![CDATA[<p>Will this be implemented in a way like:<br />
AGI(agi:async/scriptname?par1=val1&amp;par2=val2&#8230;) ?<br />
For me it&#8217;s crucial to determine scriptname, because my FastAGI server processes different kinds of scripts, depending on extension dialed.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Asterisk Asynchronous AGI by moy</title>
		<link>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-335</link>
		<author>moy</author>
		<pubDate>Wed, 02 Jul 2008 21:22:31 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-335</guid>
					<description>You are correct in that it's quite undocumented. Sorry about that, I will fix that as soon as I have a chance, I will add an entry into voip-info.org

Even when anything you can do through FastAGI you can do it as well throug Async AGI, the client code has to change quite a bit since now, froma single connection you have to be aware of ALL channels, not of a single channel. This brings power but also complexity when dealing with many channels.

Currently you cannot pass parameters directly to AsyncAGI, but you can 

Set(param1=val1)
Set(param2=val2)
AGI(agi:async)

Then from your manager connection
Action: AGI
Command: GetVariable param1

However I agree is easier to just pass parameters, so I will add that support.</description>
		<content:encoded><![CDATA[<p>You are correct in that it&#8217;s quite undocumented. Sorry about that, I will fix that as soon as I have a chance, I will add an entry into voip-info.org</p>
<p>Even when anything you can do through FastAGI you can do it as well throug Async AGI, the client code has to change quite a bit since now, froma single connection you have to be aware of ALL channels, not of a single channel. This brings power but also complexity when dealing with many channels.</p>
<p>Currently you cannot pass parameters directly to AsyncAGI, but you can </p>
<p>Set(param1=val1)<br />
Set(param2=val2)<br />
AGI(agi:async)</p>
<p>Then from your manager connection<br />
Action: AGI<br />
Command: GetVariable param1</p>
<p>However I agree is easier to just pass parameters, so I will add that support.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on MFC/R2 branch for Asterisk is available by moy</title>
		<link>http://www.moythreads.com/wordpress/2008/04/30/mfcr2-branch-for-asterisk-is-available/#comment-334</link>
		<author>moy</author>
		<pubDate>Wed, 02 Jul 2008 21:12:53 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2008/04/30/mfcr2-branch-for-asterisk-is-available/#comment-334</guid>
					<description>If your question is regarding Unicall, don't cross-post your questions. You alredy asked this in other post. See my answer there.

 If your question is regarding openr2, there is no mfcr2_variant parameter for Nicaragua, if you are interested in having it contact me.</description>
		<content:encoded><![CDATA[<p>If your question is regarding Unicall, don&#8217;t cross-post your questions. You alredy asked this in other post. See my answer there.</p>
<p> If your question is regarding openr2, there is no mfcr2_variant parameter for Nicaragua, if you are interested in having it contact me.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Unicall para Asterisk 1.4 by moy</title>
		<link>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-333</link>
		<author>moy</author>
		<pubDate>Wed, 02 Jul 2008 21:06:49 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-333</guid>
					<description>intenta con ITU 

Si no te funciona contactame por msn o google talk (moises punto silva en gmail punto com) para ver si implementamos tu variante</description>
		<content:encoded><![CDATA[<p>intenta con ITU </p>
<p>Si no te funciona contactame por msn o google talk (moises punto silva en gmail punto com) para ver si implementamos tu variante</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Unicall para Asterisk 1.4 by jetm</title>
		<link>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-332</link>
		<author>jetm</author>
		<pubDate>Wed, 02 Jul 2008 17:07:26 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-332</guid>
					<description>Tengo un Elastix 1.1 en Nicaragua con un E1.

Existe un protocolvariant= para este país? o Será posible usar otra variente?</description>
		<content:encoded><![CDATA[<p>Tengo un Elastix 1.1 en Nicaragua con un E1.</p>
<p>Existe un protocolvariant= para este país? o Será posible usar otra variente?</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on MFC/R2 branch for Asterisk is available by jetm</title>
		<link>http://www.moythreads.com/wordpress/2008/04/30/mfcr2-branch-for-asterisk-is-available/#comment-331</link>
		<author>jetm</author>
		<pubDate>Wed, 02 Jul 2008 17:04:26 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2008/04/30/mfcr2-branch-for-asterisk-is-available/#comment-331</guid>
					<description>Hi:

I have a Elastix 1.1 in Nicaragua with E1. 

There is protocolvariant= for this country? or I can use another variant?</description>
		<content:encoded><![CDATA[<p>Hi:</p>
<p>I have a Elastix 1.1 in Nicaragua with E1. </p>
<p>There is protocolvariant= for this country? or I can use another variant?</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Asterisk Asynchronous AGI by manuna</title>
		<link>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-330</link>
		<author>manuna</author>
		<pubDate>Wed, 02 Jul 2008 15:24:36 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-330</guid>
					<description>Last days i tried to make something usable with AsyncAgi (using Asterisk-Java). It's a nice thing, but really undocumented over the internet. 
The question is: what's the simplest way of replacing FastAGI server with AsyncAGI server? I guess, all AGI scripts can be left intact, but i don't quite understand, how should dialplan look like.

ie, Fastagi call looked like:
123 =&#62;{
      AGI(agi://hostname:4567/scriptname?param1=val1&#38;param2=val2);
};

How should this be implemented with AsyncAGI?</description>
		<content:encoded><![CDATA[<p>Last days i tried to make something usable with AsyncAgi (using Asterisk-Java). It&#8217;s a nice thing, but really undocumented over the internet.<br />
The question is: what&#8217;s the simplest way of replacing FastAGI server with AsyncAGI server? I guess, all AGI scripts can be left intact, but i don&#8217;t quite understand, how should dialplan look like.</p>
<p>ie, Fastagi call looked like:<br />
123 =&gt;{<br />
      AGI(agi://hostname:4567/scriptname?param1=val1&amp;param2=val2);<br />
};</p>
<p>How should this be implemented with AsyncAGI?</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Unicall para Asterisk 1.4 by moy</title>
		<link>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-328</link>
		<author>moy</author>
		<pubDate>Tue, 17 Jun 2008 15:42:53 +0000</pubDate>
		<guid>http://www.moythreads.com/wordpress/2007/02/25/unicall-para-asterisk-14/#comment-328</guid>
					<description>cambiate a openr2 :-) (www.libopenr2.org)

En su defecto, provee de mas información para saber que sucede.</description>
		<content:encoded><![CDATA[<p>cambiate a openr2 <img src='http://www.moythreads.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> (www.libopenr2.org)</p>
<p>En su defecto, provee de mas información para saber que sucede.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
