<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Shift8 PHP Asterisk Manager Library</title>
	<atom:link href="http://www.foriamroot.org/shift8-php-asterisk-manager-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/</link>
	<description>Tech junkies unite!</description>
	<lastBuildDate>Wed, 28 Dec 2011 03:14:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: mobius</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-7168</link>
		<dc:creator>mobius</dc:creator>
		<pubDate>Sat, 16 Jul 2011 11:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-7168</guid>
		<description>@Tube,

Well I&#039;ve heard this one before. I believe AMI has made a major step forward since it was first added to the asterisk trunk. I believe that it can be considered a rather safe option when you need to send commands to an asterisk server through it. I have created various production applications (Dialers, Queue Monitors/Actions, etc) through the AMI that for the load they are getting they never had any issues. 

However if you were to read events from asterisk, through lets say a web application I would think twice of my implementation. I wouldn&#039;t want for each web connection to have one connection to the AMI, and I would probably implement a proxy in-between so that asterisk will send the events to the proxy and have the proxy distribute the messages to the web clients. (One idea that comes to mind easily is have the proxy receive the messages, send them to a message queue system like RabbitMQ and then via a fanout queue to spread the message to all clients listening)

What are you thinking of building?</description>
		<content:encoded><![CDATA[<p>@Tube,</p>
<p>Well I&#8217;ve heard this one before. I believe AMI has made a major step forward since it was first added to the asterisk trunk. I believe that it can be considered a rather safe option when you need to send commands to an asterisk server through it. I have created various production applications (Dialers, Queue Monitors/Actions, etc) through the AMI that for the load they are getting they never had any issues. </p>
<p>However if you were to read events from asterisk, through lets say a web application I would think twice of my implementation. I wouldn&#8217;t want for each web connection to have one connection to the AMI, and I would probably implement a proxy in-between so that asterisk will send the events to the proxy and have the proxy distribute the messages to the web clients. (One idea that comes to mind easily is have the proxy receive the messages, send them to a message queue system like RabbitMQ and then via a fanout queue to spread the message to all clients listening)</p>
<p>What are you thinking of building?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tube</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-7166</link>
		<dc:creator>Tube</dc:creator>
		<pubDate>Thu, 14 Jul 2011 15:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-7166</guid>
		<description>I think Asterisk Manager API is not very stable, so far. Your thoughts on this?</description>
		<content:encoded><![CDATA[<p>I think Asterisk Manager API is not very stable, so far. Your thoughts on this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mobius</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-7053</link>
		<dc:creator>mobius</dc:creator>
		<pubDate>Mon, 15 Nov 2010 13:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-7053</guid>
		<description>Masimiliano,

Well it took me a while but I&#039;ve crafted something up for you to check out. You can find it here: &lt;a href=&quot;/simple-channel-monitoring-via-shift8/&quot; rel=&quot;nofollow&quot;&gt;Simple Channel Monitoring via Shift8&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Masimiliano,</p>
<p>Well it took me a while but I&#8217;ve crafted something up for you to check out. You can find it here: <a href="/simple-channel-monitoring-via-shift8/" rel="nofollow">Simple Channel Monitoring via Shift8</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mobius</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-7052</link>
		<dc:creator>mobius</dc:creator>
		<pubDate>Sat, 06 Nov 2010 09:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-7052</guid>
		<description>Hi Massimiliano,

You are right. I will try to come up with something in the next few days and I&#039;ll post it here :)</description>
		<content:encoded><![CDATA[<p>Hi Massimiliano,</p>
<p>You are right. I will try to come up with something in the next few days and I&#8217;ll post it here <img src='http://www.foriamroot.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Massimiliano</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-7051</link>
		<dc:creator>Massimiliano</dc:creator>
		<pubDate>Sat, 06 Nov 2010 07:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-7051</guid>
		<description>Hi,

Shift8 seem to be a very interesting project but it lack of examples and documentation as you told in TODO list.
Anyway, I would try it in a faster bit but to do so I should have a minimal GUI (web frontend).
Thus, can you provide an example of a little web client that monitor the Asterisk channels status in real time?
I think it will be a good starting point for everyone would try and assist you in the project expansion.
Every project can be a good project if it has a good community and more effort as possible.

Thank you.
Massimiliano</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Shift8 seem to be a very interesting project but it lack of examples and documentation as you told in TODO list.<br />
Anyway, I would try it in a faster bit but to do so I should have a minimal GUI (web frontend).<br />
Thus, can you provide an example of a little web client that monitor the Asterisk channels status in real time?<br />
I think it will be a good starting point for everyone would try and assist you in the project expansion.<br />
Every project can be a good project if it has a good community and more effort as possible.</p>
<p>Thank you.<br />
Massimiliano</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mobius</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-4563</link>
		<dc:creator>mobius</dc:creator>
		<pubDate>Sun, 18 Apr 2010 19:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-4563</guid>
		<description>Hi David,

Well if you feel like contributing any part you are most welcome to do so!

As for your question, in any applications I&#039;ve build using Shift8 I&#039;ve never had any problems with the Manager disconnecting. Maybe it is AJAM that does a difference (since Shift8 is using AJAM). Give it a try and we could work any issues out!</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Well if you feel like contributing any part you are most welcome to do so!</p>
<p>As for your question, in any applications I&#8217;ve build using Shift8 I&#8217;ve never had any problems with the Manager disconnecting. Maybe it is AJAM that does a difference (since Shift8 is using AJAM). Give it a try and we could work any issues out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-4560</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 18 Apr 2010 12:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-4560</guid>
		<description>Hi

First, 
I can try to help coding small php tasks in my spare time (hope i&#039;ll have one)

2nd, I&#039;m using the old PHP AGI API and one of problems i experience is an occasional manger&#039;s logging off. Is it an issue that you familiar with/was fixed? or is it my own bug?

Tnx! David R.</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>First,<br />
I can try to help coding small php tasks in my spare time (hope i&#8217;ll have one)</p>
<p>2nd, I&#8217;m using the old PHP AGI API and one of problems i experience is an occasional manger&#8217;s logging off. Is it an issue that you familiar with/was fixed? or is it my own bug?</p>
<p>Tnx! David R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: setlasterror</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-4534</link>
		<dc:creator>setlasterror</dc:creator>
		<pubDate>Thu, 01 Apr 2010 17:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-4534</guid>
		<description>[...] in a textbox. To achieve this we have to call native keyboard event for tab key whenever enter is...Shift8 PHP Asterisk Manager Library Bow before me...for I ...Shift8 provides a simple mechanism over the AJAM asterisk interface. Apart from the obvious reason [...]</description>
		<content:encoded><![CDATA[<p>[...] in a textbox. To achieve this we have to call native keyboard event for tab key whenever enter is&#8230;Shift8 PHP Asterisk Manager Library Bow before me&#8230;for I &#8230;Shift8 provides a simple mechanism over the AJAM asterisk interface. Apart from the obvious reason [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-4532</link>
		<dc:creator>Pawel</dc:creator>
		<pubDate>Thu, 01 Apr 2010 08:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-4532</guid>
		<description>Hi,

Could you give me examle how to ( if possible ) get uniqueid of call generated with originate.

Thanks
Pawel</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Could you give me examle how to ( if possible ) get uniqueid of call generated with originate.</p>
<p>Thanks<br />
Pawel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mobius</title>
		<link>http://www.foriamroot.org/shift8-php-asterisk-manager-library/comment-page-1/#comment-4514</link>
		<dc:creator>mobius</dc:creator>
		<pubDate>Mon, 22 Mar 2010 08:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.foriamroot.org/?p=43#comment-4514</guid>
		<description>Hello Leo,

You could use Shift8 to create an AMI proxy, but you need to pass the asterisk manager session id back and forth. You could use the &lt;a href=&quot;http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#getCookie&quot; rel=&quot;nofollow&quot;&gt;getCookie()&lt;/a&gt;, &lt;a href=&quot;http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#setCookie&quot; rel=&quot;nofollow&quot;&gt;setCookie()&lt;/a&gt; functions from Shift8 so that the connection will remain open.

You are also responsible for keeping the connection open with the AMI by &lt;a href=&quot;http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#ping&quot; rel=&quot;nofollow&quot;&gt;ping()ing&lt;/a&gt; the asterisk library and then use &lt;a href=&quot;http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#waitEvent&quot; rel=&quot;nofollow&quot;&gt;waitEvent()&lt;/a&gt; to retrieve all events generated by the Asterisk

Remember to close the PHP session after saving/reading the cookie, because Sessions in PHP are locking and when you do a WaitEvent() will lock the session until that terminates. (It took me a while to figure that out. Thankfully there is Xdebug Profiler :))</description>
		<content:encoded><![CDATA[<p>Hello Leo,</p>
<p>You could use Shift8 to create an AMI proxy, but you need to pass the asterisk manager session id back and forth. You could use the <a href="http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#getCookie" rel="nofollow">getCookie()</a>, <a href="http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#setCookie" rel="nofollow">setCookie()</a> functions from Shift8 so that the connection will remain open.</p>
<p>You are also responsible for keeping the connection open with the AMI by <a href="http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#ping" rel="nofollow">ping()ing</a> the asterisk library and then use <a href="http://www.foriamroot.org/shift8/api/Shift8/Shift8.html#waitEvent" rel="nofollow">waitEvent()</a> to retrieve all events generated by the Asterisk</p>
<p>Remember to close the PHP session after saving/reading the cookie, because Sessions in PHP are locking and when you do a WaitEvent() will lock the session until that terminates. (It took me a while to figure that out. Thankfully there is Xdebug Profiler <img src='http://www.foriamroot.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

