<?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"
	>
<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>
	<pubDate>Fri, 21 Nov 2008 13:24:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: rob</title>
		<link>http://www.uk-experience.com/2008/06/13/asterisk-twitter-call-monitor/#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've got.  What I'm actually looking for is a way to say "You have received a call on xxx-xxxx".  I have multiple numbers in different countries that terminate on asterisk.  I'd like to have the message sent to twitter say something like:

"A call from [Callerid(num)] on [the number dialed by callerid(num)]"

I currently just use EXTEN, but the internal exten used doesn't help since I have 3 or 4 numbers that end at that exten.  It'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-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'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-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't exited that the next step in the dialplan wouldn'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'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-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'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-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-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't be any delays.  But, that's being said without a full understanding of how AGI's really work.   To make sure it doesn't happen though, I've added a "&#038;" to the end of the curl line so it's shoved in the background and the script can exit quickly and return control to asterisk and the dial plan.  I don't really care if the sending is successful or not, it's just a "nice to have" 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-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's statuses.

What happens if Twitter is slow in responding or doesn'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>
