<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Kevin Withnall &#187; VoIP</title>
	<atom:link href="http://kevin.withnall.com/category/voip/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevin.withnall.com</link>
	<description>My 15 megabytes of fame</description>
	<lastBuildDate>Thu, 06 May 2010 06:37:02 +0000</lastBuildDate>
	<language>en-au</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<copyright>Copyright &#xA9; Kevin Withnall 2011 </copyright>
	<managingEditor>kevin@withnall.com.au (Kevin Withnall)</managingEditor>
	<webMaster>kevin@withnall.com.au (Kevin Withnall)</webMaster>
	<ttl>1440</ttl>
	<image>
		<url>http://kevin.withnall.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Kevin Withnall</title>
		<link>http://kevin.withnall.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>My 15 megabytes of fame</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Kevin Withnall</itunes:author>
	<itunes:owner>
		<itunes:name>Kevin Withnall</itunes:name>
		<itunes:email>kevin@withnall.com.au</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://kevin.withnall.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Engin updates their software and breaks routing</title>
		<link>http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/</link>
		<comments>http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/#comments</comments>
		<pubDate>Thu, 06 May 2010 06:37:02 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/?p=307</guid>
		<description><![CDATA[Engin updated their software a while ago and broke inbound switchboard distinctions. The To SIP header used to contain the switchboard number but now it doesn&#8217;t. Incase you dont understand what this is about, engin is an Australian VoIP provider that allows &#8220;switchboard&#8221; numbers to be added for $5 per month to an account. This [...]]]></description>
			<content:encoded><![CDATA[<p>Engin updated their software a while ago and broke inbound switchboard distinctions. The To SIP header used to contain the switchboard number but now it doesn&#8217;t.</p>
<p>Incase you dont understand what this is about, engin is an Australian VoIP provider that allows &#8220;switchboard&#8221; numbers to be added for $5 per month to an account. This is great for saving money with 1300 numbers and provides local answer points that still come back to a single place. As we are migrating many customers away from Telstra (and hosting the VoIP asterisk system in the cloud at rackspace) this is a necessary function to determine where the calls came from.</p>
<p>Heres updated code that will work.</p>
<p>[ext-engin]</p>
<p>exten =&gt; _X.,1,noop(ENGIN STARTING)<br />exten =&gt; _X.,n,Set(ENGINH=${SIP_HEADER(DIVERSION)})<br />exten =&gt; _X.,n,Set(ENGINH=${IF($[${LEN(${ENGINH})} &gt; 0]?&#8221;${ENGINH}&#8221;:&#8221;${SIP_HEADER(TO)}&#8221;)})<br />exten =&gt; _X.,n,Set(ENGIN=${CUT(ENGINH,:,2)})<br />exten =&gt; _X.,n,Set(ENGIN=${CUT(ENGIN,@,1)})<br />exten =&gt; _X.,n,GotoIf($[${LEN(${ENGIN})} &gt; 0]?ext-did,${ENGIN},1:ext-did,${EXTEN},1)</p>
<p> </p>
<p>just set the context for incoming calls to ext-engin and then this will send all calls back to the ext-did context with the appropriate target based on which switchboard number was used.</p>
<p> </p>
<p> </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Engin+updates+their+software+and+breaks+routing+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D307" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Engin+updates+their+software+and+breaks+routing+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D307" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Engin+updates+their+software+and+breaks+routing+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D307" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Engin+updates+their+software+and+breaks+routing+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D307" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;headline=Engin+updates+their+software+and+breaks+routing" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;headline=Engin+updates+their+software+and+breaks+routing" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;t=Engin+updates+their+software+and+breaks+routing" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;t=Engin+updates+their+software+and+breaks+routing" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;t=Engin+updates+their+software+and+breaks+routing" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;t=Engin+updates+their+software+and+breaks+routing" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Engin+updates+their+software+and+breaks+routing&amp;link=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Engin+updates+their+software+and+breaks+routing&amp;link=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/&amp;title=Engin+updates+their+software+and+breaks+routing" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2010%2F05%2F06%2Fengin-updates-their-software-and-breaks-routing%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2010/05/06/engin-updates-their-software-and-breaks-routing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Engin are cool</title>
		<link>http://kevin.withnall.com/2007/09/19/engin-are-cool/</link>
		<comments>http://kevin.withnall.com/2007/09/19/engin-are-cool/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 23:19:50 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/2007/09/19/engin-are-cool/</guid>
		<description><![CDATA[Ok, Before we start I should tell you that I am an engin dealer and ordering through the link will give me some commission. That said, If you want to not do that, you can still sign up at www.engin.com.au and not have to give me anything. Engin is an australian voip provider that offers [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, Before we start I should tell you that I am an engin dealer and ordering through the link will give me some commission. That said, If you want to not do that, you can still sign up at www.engin.com.au and not have to give me anything.</p>
<p>Engin is an australian voip provider that offers fantastic service. We have many people who are customers (where I work at ilb) and I&#8217;m yet to hear of a bad report. They are cheap, easy and offer brilliant service quality. Even over a shared ADSL line, voip for home is now really achievable (although quality will degrade if theres too much other network usage). For businesses, we always use a dedicated ADSL (512k sym) connection and have no complaints.</p>
<p>Its great to see an Australian company truly operating on the same level as the companies in the US where they population density makes things easier.</p>
<p><a href="https://my.engin.com.au/order/?dealer_code=1803">Engin Ordering Page<br />
</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Engin+are+cool+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D97" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Engin+are+cool+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D97" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Engin+are+cool+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D97" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Engin+are+cool+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D97" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;headline=Engin+are+cool" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;headline=Engin+are+cool" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;t=Engin+are+cool" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;t=Engin+are+cool" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;t=Engin+are+cool" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;t=Engin+are+cool" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Engin+are+cool&amp;link=http://kevin.withnall.com/2007/09/19/engin-are-cool/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Engin+are+cool&amp;link=http://kevin.withnall.com/2007/09/19/engin-are-cool/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/09/19/engin-are-cool/&amp;title=Engin+are+cool" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2007%2F09%2F19%2Fengin-are-cool%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2007/09/19/engin-are-cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trixbox, Caller ID (CID) and ENGIN</title>
		<link>http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/</link>
		<comments>http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 07:08:33 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/trixbox-caller-id-cid-and-engin/</guid>
		<description><![CDATA[Trixbox has what i consider to be a strange behaviour where an extensions Outbound CID will override the trunk CID. Using engin, i wanted to supress caller id on all outgoing calls. This is easy, i hear you say just by prefixing numbers with 1831. For engin, this works for everywhere but an 07 number. [...]]]></description>
			<content:encoded><![CDATA[<p>Trixbox has what i consider to be a strange behaviour where an extensions Outbound CID will override the trunk CID.</p>
<p>Using <a href="http://www.engin.com.au">engin</a>, i wanted to  supress caller id on all outgoing calls. This is easy, i hear you say just by prefixing numbers with 1831. For engin, this works for everywhere but an 07 number. I called them about it and they told me that its not a problem at their end. This seemed strange to me as other Australian numbers worked perfectly. Anyway, i discovered that if you use a PAP2T or a SPA-3000, and supress caller id with them, the CID sent to engin is &#8220;anonymous&#8221;.</p>
<p>I now knew how to supress it but had trouble getting trixbox (or FreePBX) to actually use it. I decided that I could use the &#8220;Emergency CID&#8221; field in FreePBX Extensions and only mark engin as the emergency route. Then on the outgoing routes, tick Emergency for the numbers you want to supress caller id on.</p>
<p>I know its a bodgy solution but it works and i would present a normal CID for emergency calls anyway.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D70" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D70" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D70" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D70" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;headline=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;headline=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;t=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;t=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;t=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;t=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN&amp;link=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN&amp;link=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/&amp;title=Trixbox%2C+Caller+ID+%28CID%29+and+ENGIN" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2007%2F07%2F09%2Ftrixbox-caller-id-cid-and-engin%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2007/07/09/trixbox-caller-id-cid-and-engin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>engin switchboard &#8211; Knowing which number was called</title>
		<link>http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/</link>
		<comments>http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 07:03:39 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/engin-switchboard-knowing-which-number-was-called/</guid>
		<description><![CDATA[Using engin I was having trouble as all incoming calls from switchboard numbers were appearing on my primary number. This was annoying as I wanted more control in the inbound routes of trixbox. The following extensioins_custom.conf contect worked for me. [custom-from-engin] include =&#62; ext-did exten =&#62; _X.,1,SIPGetHeader(Var_TO=To) exten =&#62; _X.,n,Goto(ext-did,switch${Var_TO:5:10},1) As you can see, the [...]]]></description>
			<content:encoded><![CDATA[<p>Using <a href="http://www.engin.com.au">engin</a> I was having trouble as all incoming calls from switchboard numbers were appearing on my primary number.</p>
<p>This was annoying as I wanted more  control in the inbound routes of trixbox. The following extensioins_custom.conf contect worked for me.</p>
<p>[custom-from-engin]<br />
include =&gt; ext-did<br />
exten =&gt; _X.,1,SIPGetHeader(Var_TO=To)<br />
exten =&gt; _X.,n,Goto(ext-did,switch${Var_TO:5:10},1)</p>
<p>As you can see, the SIP header contains a TO header which can be looked at. I simply  add a Custom app inbound route for the main number like &#8220;custom-from-engin,${EXTEN},1&#8243; and using the above context, it re-routes the call back to the inbound contect (ext-did) with thenumber called with a &#8220;switch&#8221; prefix.</p>
<p>Then its just a simple matter of adding  inbound routes like<br />
switch0297990000 and making them do as you like.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=engin+switchboard+%E2%80%93+Knowing+which+number+was+called+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D69" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=engin+switchboard+%E2%80%93+Knowing+which+number+was+called+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D69" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=engin+switchboard+%E2%80%93+Knowing+which+number+was+called+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D69" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=engin+switchboard+%E2%80%93+Knowing+which+number+was+called+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D69" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;headline=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;headline=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;t=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;t=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;t=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;t=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called&amp;link=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called&amp;link=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/&amp;title=engin+switchboard+%E2%80%93+Knowing+which+number+was+called" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2007%2F07%2F09%2Fengin-switchboard-knowing-which-number-was-called%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2007/07/09/engin-switchboard-knowing-which-number-was-called/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nokia SIP client using international numbers</title>
		<link>http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/</link>
		<comments>http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 06:58:44 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/nokia-sip-client-using-international-numbers/</guid>
		<description><![CDATA[When using my new Nokia E65 and dialing out with asterisk, it would often fail as i couldn&#8217;t dial a + (international option). using Trixbox, the + character is reserved in outbound routes so i had to use extensions_custom.conf to make the following changes&#8230; [from-internal-intldial] exten =&#62; _+61XXXXXXXXX,1,Goto(from-internal,0${EXTEN:-9},1) exten =&#62; _*X.,1,Goto(from-internal,${EXTEN},1) exten =&#62; _X.,1,Goto(from-internal,${EXTEN},1) This [...]]]></description>
			<content:encoded><![CDATA[<p>When using my new Nokia E65 and dialing out with asterisk, it would often fail as i couldn&#8217;t dial a + (international option).</p>
<p>using Trixbox, the + character is reserved in outbound routes so i had to use extensions_custom.conf to make the following changes&#8230;</p>
<p>[from-internal-intldial]<br />
exten =&gt; _+61XXXXXXXXX,1,Goto(from-internal,0${EXTEN:-9},1)<br />
exten =&gt; _*X.,1,Goto(from-internal,${EXTEN},1)<br />
exten =&gt; _X.,1,Goto(from-internal,${EXTEN},1)<br />
This allows  my saved phone entries witha + to work.</p>
<p>Obviously, unless you live in Australia,  you may want to change the +61 to something else.</p>
<p>Also, even though asterisk doesn&#8217;t appear to list + as a dialplan option, it works.</p>
<p>Tested in asterisk 1.2.4 and 1.2.5</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Nokia+SIP+client+using+international+numbers+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D68" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Nokia+SIP+client+using+international+numbers+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D68" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Nokia+SIP+client+using+international+numbers+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D68" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Nokia+SIP+client+using+international+numbers+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D68" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;headline=Nokia+SIP+client+using+international+numbers" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;headline=Nokia+SIP+client+using+international+numbers" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;t=Nokia+SIP+client+using+international+numbers" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;t=Nokia+SIP+client+using+international+numbers" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;t=Nokia+SIP+client+using+international+numbers" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;t=Nokia+SIP+client+using+international+numbers" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Nokia+SIP+client+using+international+numbers&amp;link=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Nokia+SIP+client+using+international+numbers&amp;link=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/&amp;title=Nokia+SIP+client+using+international+numbers" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2007%2F07%2F09%2Fnokia-sip-client-using-international-numbers%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2007/07/09/nokia-sip-client-using-international-numbers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asterisk alarm receiver &#8211; using triggers, mysql5</title>
		<link>http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/</link>
		<comments>http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 06:51:04 +0000</pubDate>
		<dc:creator>Kevin Withnall</dc:creator>
				<category><![CDATA[alarm]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://kevin.withnall.com/asterisk-alarm-receiver-using-triggers-mysql5/</guid>
		<description><![CDATA[This requires MySql 5 or above as it uses triggers. Asterisk alarm receiver &#8211; using triggers, mysql5 This is really rough but it works so far. YMMV. butchered together by kevin at ilb dot com dot au 2006 07 29 &#8211; version 0.00 alpha http://kevin.withnall.com email me for any help or information. This code has [...]]]></description>
			<content:encoded><![CDATA[<p>This requires MySql 5 or above as it uses triggers.</p>
<p><a href="http://kevin.withnall.com/wp-content/uploads/2007/07/alarm_triggers.tgz" title="Asterisk alarm receiver - using triggers, mysql5">Asterisk alarm receiver &#8211; using triggers, mysql5</a></p>
<p>This is really rough but it works so far. YMMV.<br />
butchered together by kevin at ilb dot com dot au<br />
2006 07 29 &#8211; version 0.00 alpha</p>
<p>http://kevin.withnall.com</p>
<p>email me for any help or information.</p>
<p>This code has been shamelessly butchered from wakeup.php (http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+Wake-Up+Call+PHP)<br />
by Andy Wysocki awysocki at absoftware dot_here com</p>
<p>Andy, please don&#8217;t hate me.<br />
Please don&#8217;t blame Andy for the complete lack of style, it was a quick fix and it works. Andy&#8217;s code had much niceness about it which i<br />
removed while developing. I should have put it back and probably will one day.</p>
<p>Flow of events&#8230;.<br />
1. Alarm panel sends codes to asterisk box<br />
2. Shell script is run by alarmreceiver<br />
inserts alarmcode into alarm_event<br />
triggers output_events creation<br />
3. shell script then looks at output_events rows to see what work it has to do<br />
4. shell script then tries to create call files (this step is also triggered by cron)</p>
<p>If its a call&#8230;<br />
1. Plays message &#8220;The alarm has triggered&#8221;<br />
2. plays site name using flite<br />
3. plays zone, event code etc (read alarm.php for more info)<br />
4. lets the user press 1 to ack. they get 3 calls if its not acked. alarm_calls for limits</p>
<hr />eventcmd = /usr/local/ilb/asterisk/alarmproc (or whereever you want to put it)</p>
<hr />/usr/local/ilb/asterisk/alarm_calls</p>
<hr /><a href="http://www.voip-info.org/wiki/view/alarm-out">alarm-out</a><br />
exten =&gt; s,1,NoOp(ID == ${ID})<br />
exten =&gt; s,n,AGI(alarm.php,ID=${ID})<br />
exten =&gt; s,n,Hangupmake an alarm database and upload the sql into it<br />
update triggers<br />
<hr />	* alarm_event contains the actual events, a trigger runs to &#8230;<br />
** set all the appropriate cols<br />
** insert rows into output_events table based on the triggers table<br />
* areas contains the list of areas for each site<br />
* users contains the list of users for each site<br />
* event_groups is the major headings for each category of events<br />
* event_types is the individual events that can be reported<br />
* site is the list of sites with site codes that you listen for<br />
* triggers is the table that has the alerting rules. pretty much, if its blank, it matches.<br />
* action of call means dial<br />
* action of email means emailalarmproc is called by alarmreceiver<br />
alarm_calls just makes the calls (and is called by alarmproc and crontab)edit alarmproc and alarm_calls<br />
* change server.domain.com.au to your mysql server<br />
* set the username/passwords accordingly<br />
* set callerid appropriately<br />
* edit the sendmail line and adjust the from address</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D65" title="Post to Twitter"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D65" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D65" title="Post to Plurk"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5+http%3A%2F%2Fkevin.withnall.com%2F%3Fp%3D65" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;headline=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Yahoo Buzz"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;headline=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Delicious"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Delicious">Post to Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Digg"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;t=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Facebook"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;t=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Facebook">Post to Facebook</a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;t=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to MySpace"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;t=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to MySpace">Post to MySpace</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5&amp;link=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/" title="Post to Ping.fm"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5&amp;link=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Reddit"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to Reddit">Post to Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to StumbleUpon"><img class="nothumb" src="http://kevin.withnall.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/&amp;title=Asterisk+alarm+receiver+%E2%80%93+using+triggers%2C+mysql5" title="Post to StumbleUpon">Stumble This Post</a></p></div><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fkevin.withnall.com%2F2007%2F07%2F09%2Fasterisk-alarm-receiver-using-triggers-mysql5%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://kevin.withnall.com/2007/07/09/asterisk-alarm-receiver-using-triggers-mysql5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

