<?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: Asterisk + Twitter = Call Monitor</title>
	<atom:link href="http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/</link>
	<description>Our life in the UK...</description>
	<lastBuildDate>Fri, 05 Mar 2010 08:56:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stelios Koroneos</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-386</link>
		<dc:creator>Stelios Koroneos</dc:creator>
		<pubDate>Sun, 01 Feb 2009 08:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-386</guid>
		<description>Great work !
One very quick solution for determining where the call come from is to use different context for each line,set a variable and then jump to a common context to do the agi stuff</description>
		<content:encoded><![CDATA[<p>Great work !<br />
One very quick solution for determining where the call come from is to use different context for each line,set a variable and then jump to a common context to do the agi stuff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-150</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 10 Jul 2008 06:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-150</guid>
		<description>David,

Thanks, that bit I&#039;ve got.  What I&#039;m actually looking for is a way to say &quot;You have received a call on xxx-xxxx&quot;.  I have multiple numbers in different countries that terminate on asterisk.  I&#039;d like to have the message sent to twitter say something like:

&quot;A call from [Callerid(num)] on [the number dialed by callerid(num)]&quot;

I currently just use EXTEN, but the internal exten used doesn&#039;t help since I have 3 or 4 numbers that end at that exten.  It&#039;s knowing which inbound number was actually used that I need to figure out.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Thanks, that bit I&#8217;ve got.  What I&#8217;m actually looking for is a way to say &#8220;You have received a call on xxx-xxxx&#8221;.  I have multiple numbers in different countries that terminate on asterisk.  I&#8217;d like to have the message sent to twitter say something like:</p>
<p>&#8220;A call from [Callerid(num)] on [the number dialed by callerid(num)]&#8221;</p>
<p>I currently just use EXTEN, but the internal exten used doesn&#8217;t help since I have 3 or 4 numbers that end at that exten.  It&#8217;s knowing which inbound number was actually used that I need to figure out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-149</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 10 Jul 2008 00:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-149</guid>
		<description>The callerid(num) will return the caller&#039;s number.</description>
		<content:encoded><![CDATA[<p>The callerid(num) will return the caller&#8217;s number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordon</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-145</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Fri, 13 Jun 2008 14:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-145</guid>
		<description>@Rob: I would think if the AGI hasn&#039;t exited that the next step in the dialplan wouldn&#039;t be executed.  Shoving it in the background is probably not bad, but you might want to submit it to &lt;i&gt;batch&lt;/i&gt; so that it&#039;s handed off to something else entirely.</description>
		<content:encoded><![CDATA[<p>@Rob: I would think if the AGI hasn&#8217;t exited that the next step in the dialplan wouldn&#8217;t be executed.  Shoving it in the background is probably not bad, but you might want to submit it to <i>batch</i> so that it&#8217;s handed off to something else entirely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randulo</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-144</link>
		<dc:creator>randulo</dc:creator>
		<pubDate>Fri, 13 Jun 2008 12:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-144</guid>
		<description>Nice stuff! I did the same type of thing using [URL removed by moderator] with missed calls, so I could just go to a protected web site and see if I messed calls from people who didn&#039;t leave a message. But in the end, I could do that using the local Apache server.</description>
		<content:encoded><![CDATA[<p>Nice stuff! I did the same type of thing using [URL removed by moderator] with missed calls, so I could just go to a protected web site and see if I messed calls from people who didn&#8217;t leave a message. But in the end, I could do that using the local Apache server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-143</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Fri, 13 Jun 2008 12:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-143</guid>
		<description>Well, that was fast.  Digium, the folks that produce Asterisk have already found this posting and have sent out a tweet about it on Twitter..</description>
		<content:encoded><![CDATA[<p>Well, that was fast.  Digium, the folks that produce Asterisk have already found this posting and have sent out a tweet about it on Twitter..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-142</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Fri, 13 Jun 2008 11:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-142</guid>
		<description>Hmm good point.. to be honest I have no idea what would happen.. I can test that tonight around midnight when the entire US is tweeting and it nearly always breaks twitter.

My first thought is, no.  There shouldn&#039;t be any delays.  But, that&#039;s being said without a full understanding of how AGI&#039;s really work.   To make sure it doesn&#039;t happen though, I&#039;ve added a &quot;&amp;&quot; to the end of the curl line so it&#039;s shoved in the background and the script can exit quickly and return control to asterisk and the dial plan.  I don&#039;t really care if the sending is successful or not, it&#039;s just a &quot;nice to have&quot; feature and not as such, if the message fails, it fails.</description>
		<content:encoded><![CDATA[<p>Hmm good point.. to be honest I have no idea what would happen.. I can test that tonight around midnight when the entire US is tweeting and it nearly always breaks twitter.</p>
<p>My first thought is, no.  There shouldn&#8217;t be any delays.  But, that&#8217;s being said without a full understanding of how AGI&#8217;s really work.   To make sure it doesn&#8217;t happen though, I&#8217;ve added a &#8220;&#038;&#8221; to the end of the curl line so it&#8217;s shoved in the background and the script can exit quickly and return control to asterisk and the dial plan.  I don&#8217;t really care if the sending is successful or not, it&#8217;s just a &#8220;nice to have&#8221; feature and not as such, if the message fails, it fails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gordon</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/comment-page-1/#comment-141</link>
		<dc:creator>gordon</dc:creator>
		<pubDate>Fri, 13 Jun 2008 11:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#comment-141</guid>
		<description>Interesting use of Twitter.  I was looking at the Twitter website last night wondering what the big difference is between it and Facebook&#039;s statuses.

What happens if Twitter is slow in responding or doesn&#039;t respond to twitter.agi?  Is there a possibility that it could take tens of seconds to complete the AGI before it reaches the Dial() step?</description>
		<content:encoded><![CDATA[<p>Interesting use of Twitter.  I was looking at the Twitter website last night wondering what the big difference is between it and Facebook&#8217;s statuses.</p>
<p>What happens if Twitter is slow in responding or doesn&#8217;t respond to twitter.agi?  Is there a possibility that it could take tens of seconds to complete the AGI before it reaches the Dial() step?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
