<?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/"
	>

<channel>
	<title>Sekiur My Thoughts &#187; asterisk</title>
	<atom:link href="http://blog.sekiur.com/tag/asterisk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sekiur.com</link>
	<description>VoIP, Mobility, Security, Open Source, Science, Politics, and Technology.</description>
	<lastBuildDate>Wed, 24 Aug 2011 19:46:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>PBX in a Flash with CBeyond</title>
		<link>http://blog.sekiur.com/2009/04/pbx-in-a-flash-with-cbeyond/</link>
		<comments>http://blog.sekiur.com/2009/04/pbx-in-a-flash-with-cbeyond/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 16:57:11 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[aastra]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[cbeyond]]></category>
		<category><![CDATA[Google Voice]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=768</guid>
		<description><![CDATA[<p>Last week I deployed a PBX in a Flash system using SIPConnect from <a class="zem_slink" title="CBeyond" rel="homepage" href="http://www.cbeyond.net">CBeyond</a>. It was so successful that I will start using PIAF in lieu of Trixbox from now on for all future deployments of this type and will replace my home PBX to take advantage of <a class="zem_slink" title="Skype" [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I deployed a PBX in a Flash system using SIPConnect from <a class="zem_slink" title="CBeyond" rel="homepage" href="http://www.cbeyond.net">CBeyond</a>. It was so successful that I will start using PIAF in lieu of Trixbox from now on for all future deployments of this type and will replace my home PBX to take advantage of <a class="zem_slink" title="Skype" rel="homepage" href="http://www.skype.com">Skype</a> and Google Voice integration.</p>
<p>In this case I used the Aastra 53i (English edition) <a class="zem_slink" title="Voice over Internet Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Voice_over_Internet_Protocol">VoIP</a> phones which when connected to the network, retrieved an IP from the <a class="zem_slink" title="Dynamic Host Configuration Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a> server, contacted the PBX using mDNSResponse, checked and downloaded the most recent firmware available on the PBX, and downloaded the default configuration which prompts for a user to login. After login in the phone created a config file on the PBX for future restarts.</p>
<p>These Aastra phones come in 2 editions (The English/American edition and the European edition). The power supply for the European edition has different connectors and the display had symbols instead of words. Apart from that they appeared to be identical but getting the European edition to automatically connect to the PBX and configure itself was very painful, having to reset the phone to factory defaults and erase the local configuration multiple times and finally having to define on the phone the TFTP server (PBX) IP address for it to download the configuration.</p>
<p>Two thumbs up for the PBX in a Flash (PIAF) developers who have done a superb job with this distribution holding up the ideals of the original Asterisk@home open source project.</p>
<p><img class="aligncenter size-full wp-image-771" title="pbxinaflash" src="http://blog.sekiur.com/wp-content/uploads/2009/04/pbxinaflash.jpg" alt="pbxinaflash" width="394" height="55" /></p>
<p>Their documentation was almost flawless although it was difficult trying to find the most recent version of instructions as they are all layed out in bits and pieces across a blog. In pursuit of a perfect install I narrowed down the install to running the iso install, going through the online download and compilation of asterisk and running the update/fix scripts. Now before upgrading/installing any module or OS updates, I downloaded and installed the files necessary to deploy the Aastra phones which is also done by a script and then I proceeded to install/update the software via the <a class="zem_slink" title="Asterisk (PBX)" rel="homepage" href="http://www.asterisk.org/">FreePBX</a> module admin and finally the OS updates.</p>
<p>Below is the trunk configuration for connecting via SIPConnect to CBeyond from PBX in a Flash:</p>
<p>Outbound caller ID: 5551231234<br />
Never overrride caller ID: checked<br />
Maximum Channels: 6</p>
<p>Outbound Settings</p>
<p>trunk name=cbeyond</p>
<p>allow=ulaw&amp;alaw&amp;gsm&amp;ilbc&amp;g726&amp;adpcm<br />
context=from-trunk<br />
disallow=all<br />
dtmfmode=auto<br />
fromdomain=sipconnect.dal0.cbeyond.net<br />
host=sipconnect.dal0.cbeyond.net<br />
insecure=very<br />
outboundproxy=sip-proxy.dal0.cbeyond.net<br />
qualify=250<br />
secret=[secret-password]<br />
type=peer<br />
username=5551231234</p>
<p>Regitration String: 5551231234:secret-password@cbeyond/5551231234</p>
<p>Note: Notice there is no inbound settings required. DID incoming configuration will determine were each channel from the trunk will ring.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/04/09/audit-small-minn-agencies-need-better-computer-security-5-eyewitness-news-st-paul/"> AUDIT: Small Minn. agencies need better computer security (5 Eyewitness News St. Paul) </a> (slumpedoverkeyboarddead.com)</li>
<li class="zemanta-article-ul-li"><a href="http://mashable.com/2009/02/10/skype-gizmo5-opensky/">Call Skype From Any Phone Through OpenSky</a> (mashable.com)</li>
<li class="zemanta-article-ul-li"><a href="http://skypejournal.com/2009/03/skype-for-sip-skype-for-asterisk-doa.html">Skype for SIP == Skype for Asterisk DOA?</a> (skypejournal.com)</li>
<li class="zemanta-article-ul-li"><a href="http://skypejournal.com/2009/03/skype-for-sip-big-money-skypeless-brand.html">Skype For SIP: Big Money, Skypeless, Brand Destroyer</a> (skypejournal.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/266b8583-c52e-4348-a924-3918cfd64d05/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=266b8583-c52e-4348-a924-3918cfd64d05" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2009/04/pbx-in-a-flash-with-cbeyond/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Checkpoint Firewall-1 and The SIP Protocol</title>
		<link>http://blog.sekiur.com/2008/12/checkpoint-firewall-1-and-the-sip-protocol/</link>
		<comments>http://blog.sekiur.com/2008/12/checkpoint-firewall-1-and-the-sip-protocol/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 06:58:38 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[checkpoint]]></category>
		<category><![CDATA[firewall-1]]></category>
		<category><![CDATA[fw-1]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=669</guid>
		<description><![CDATA[<p>You have an asterisk based VoIP phone system sitting on an internal network and you are trying to establish connectivity to a SIP-based trunk provider.</p> <p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/hack.jpg"></a></p> <p>You configure a static NAT entry 1-to-1 for the asterisk box and allow the SIP (udp 5060) through the firewall, but SIP registration fails constantly.</p> <p>While troubleshooting the [...]]]></description>
			<content:encoded><![CDATA[<p>You have an asterisk based VoIP phone system sitting on an internal network and you are trying to establish connectivity to a SIP-based trunk provider.</p>
<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/hack.jpg"><img class="aligncenter size-medium wp-image-670" title="hack" src="http://blog.sekiur.com/wp-content/uploads/2008/12/hack-300x245.jpg" alt="" width="300" height="245" /></a></p>
<p>You configure a static NAT entry 1-to-1 for the asterisk box and allow the SIP (udp 5060) through the firewall, but SIP registration fails constantly.</p>
<p>While troubleshooting the issue you observe some strange behavior in the NAT. The SIP registration packet (source port 5060, destination port 5060) reaches the firewall, changes the source port at the interior interface and to another high port at the exterior interface, but the answer packet will not be translated correctly.</p>
<p><strong>Fw monitor shows the following:</strong></p>
<p>a.b.c.d is the internal (private) IP address<br />
n.n.n.n is the external (public) IP address<br />
w.x.y.z is the SIP providers IP address</p>
<blockquote>
<pre>eth1.10:i[502]: a.b.c.d -&gt; w.x.y.z (UDP) len=502 id=0

UDP: 5060 -&gt; 5060

eth1.10:I[502]: a.b.c.d -&gt; w.x.y.z (UDP) len=502 id=0

UDP: 17973 -&gt; 5060

eth0:o[502]: a.b.c.d -&gt; w.x.y.z (UDP) len=502 id=0

UDP: 17973 -&gt; 5060

eth0:O[510]: n.n.n.n -&gt; w.x.y.z (UDP) len=510 id=0

UDP: 40625 -&gt; 5060

eth0:i[404]: w.x.y.z -&gt; n.n.n.n (UDP) len=404 id=5495

UDP: 5060 -&gt; 40625

eth0:I[398]: w.x.y.z -&gt; a.b.c.d (UDP) len=398 id=5495

UDP: 5060 -&gt; 17973

eth1.10:o[398]: w.x.y.z -&gt; a.b.c.d (UDP) len=398 id=5495

UDP: 5060 -&gt; 17973

eth1.10:O[398]: w.x.y.z -&gt; a.b.c.d (UDP) len=398 id=5495

UDP: 5060 -&gt; 17973</pre>
</blockquote>
<p>As it can be seen the reply does not get translated back as it should to destination port 5060 and thus will not be accepted by the asterisk box.</p>
<p>To understand and be able to solve the current dilemma its imperative that we explore why the Checkpoint Firewall is behaving this way and preventing our Asterisk box from registering the SIP trunk.</p>
<p>The Stateful Inspection Technology implements all the necessary firewall capabilities at the network level. The FireWall-1 Inspection Module accesses and analyzes data derived from all communication layers. The FireWall-1 Security Server enables the system administrator to define a Security Policy on a per-user basis.</p>
<p>The Inspection Module is located between the Data Link (IP-Stack) and Network Layer (Device Driver). Authentication and Content Security are provided by a suite of FireWall-1 Security Servers, running at the application layers.</p>
<div>
<table style="text-align: center;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td colspan="2" width="390" valign="bottom"><img src="http://support.sekiur.com/resources/images/sec_diagram02_01.gif" alt="" width="364" height="187" /></td>
</tr>
<tr>
<td valign="top"><img src="http://support.sekiur.com/resources/images/ani_1011.gif" alt="" vspace="6" width="67" height="15" /></td>
<td valign="top"><img src="http://support.sekiur.com/resources/images/sec_diagram02_02.gif" alt="" width="153" height="33" /><br />
<img src="http://support.sekiur.com/resources/images/ani_1011green.gif" alt="" vspace="6" width="67" height="15" align="top" /></td>
<td align="right" valign="top"><img src="http://support.sekiur.com/resources/images/ani_10drop.gif" alt="" width="42" height="69" /></td>
</tr>
</tbody>
</table>
</div>
<p>The Security Servers enforce Content Security and Authentication for a particular service. Defining a protocol type within an associated service invokes specific protocol handlers enabling a higher level of security by parsing the protocol, and a higher level of connectivity by tracking dynamic actions and these checks are mostly overridden by SmartDefense checks.</p>
<p>So to recap. As the data moves up the OSI layers, it can be intercepted by both the Security Servers and SmartDefense. In this particular case the protocol definition which invokes specific protocol handlers are modifying the reply SIP packets during translation using a random port and not the UDP 5060 asterisk is expecting.</p>
<p>Modifying the Protocol Type on the udp-sip service under the &#8220;Advance UDP Services Properties&#8221; from SIP_UDP to None will solve the issue.</p>
<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/udp_sip.jpg"><img class="aligncenter size-full wp-image-671" title="udp_sip" src="http://blog.sekiur.com/wp-content/uploads/2008/12/udp_sip.jpg" alt="" width="409" height="452" /></a></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2008/12/checkpoint-firewall-1-and-the-sip-protocol/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>VoIP Phone Systems for Small Businesses</title>
		<link>http://blog.sekiur.com/2008/12/voip-phone-systems-for-small-businesses/</link>
		<comments>http://blog.sekiur.com/2008/12/voip-phone-systems-for-small-businesses/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 05:10:33 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[digium]]></category>
		<category><![CDATA[fonality]]></category>
		<category><![CDATA[grandstream]]></category>
		<category><![CDATA[jazinga]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[response point]]></category>
		<category><![CDATA[rochbochs]]></category>
		<category><![CDATA[small business]]></category>
		<category><![CDATA[switchvox]]></category>
		<category><![CDATA[talkswitch]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=666</guid>
		<description><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/voip-4d-primer-cover_en.jpg"></a>The more I research on the potential and possibilities of VoIP phone systems, the more companies I see trying to get a piece of the market.</p> <p>Reminds me of a blog entry I read recently &#8220;<a href="http://blogs.zappos.com/blogs/ceo-and-coo-blog/2008/12/27/everything-i-know-about-business-i-learned-from-poker" target="_self">Everything I Know About Business I Learned From Poker</a>&#8221; and more specifically the quote: &#8220;If there are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/voip-4d-primer-cover_en.jpg"><img class="alignleft size-medium wp-image-667" title="voip-4d-primer-cover_en" src="http://blog.sekiur.com/wp-content/uploads/2008/12/voip-4d-primer-cover_en-300x252.jpg" alt="" width="300" height="252" /></a>The more I research on the potential and possibilities of VoIP phone systems, the more companies I see trying to get a piece of the market.</p>
<p>Reminds me of a blog entry I read recently &#8220;<a href="http://blogs.zappos.com/blogs/ceo-and-coo-blog/2008/12/27/everything-i-know-about-business-i-learned-from-poker" target="_self">Everything I Know About Business I Learned From Poker</a>&#8221; and more specifically the quote: &#8220;If there are too many competitors (some irrational or inexperienced), even if you&#8217;re the best it&#8217;s a lot harder to win.&#8221; which definitely rings true here.</p>
<p>Below is a partial list of VoIP phone systems geared towards small businesses, meaning deployments of less than 50 phones. Although several of these systems can easily scale into the hundreds of phones.</p>
<ol>
<li><a href="http://www.rockbochs.com/products.php#phonebochs" target="_blank">PhoneBochs</a> from <a href="http://www.rockbochs.com/" target="_blank">Rochbochs</a>, Inc. (Duluth, MN based Rochbochs builds appliances based on Linux ranging from firewalls, asterisk telephony, Zimbra Email Collaboration and Fax over IP.)</li>
<li><a href="http://www.grandstream.com/gxe502x.html" target="_blank">GXE502X</a> from <a href="http://www.grandstream.com" target="_blank">Grandstream</a>. (<span class="style1">Brookline, MA based Grandstream builds </span>the GXE502x appliance, a powerful all-in-one voice + video + fax + data communication solution for the small to medium sized business)</li>
<li>Jazinga PBX from <a href="http://www.jazinga.com/" target="_blank">Jazinga</a>. (Toronto based Jazinga integrates data networking, traditional telephone service and low-cost    Voice-over-IP (VoIP) service into one simple solution for small business and    homes)</li>
<li><a href="http://www.microsoft.com/responsepoint/default.aspx" target="_blank">Response Point</a> from <a href="http://www.microsoft.com" target="_blank">Microsoft</a>. (Redmond, WA based Microsoft could not miss the action and introduced their next generation phone system for small businesses.)</li>
<li><a href="http://www.trixbox.com" target="_blank">Trixbox</a> from <a href="http://www.fonality.com/" target="_blank">Fonality</a>. (Los Angeles, CA based Fonality who acquired Trixbox which itself was re-branded from the open source project Asterisk @Home brings both software and appliance offerings to the table going beyond the small business market.)</li>
<li><a href="http://www.digium.com/en/products/switchvox/" target="_blank">Switchvox</a> IP PBX from <a href="http://www.digium.com/en/" target="_blank">Digium</a>. (Huntsville, AL based Digium and the cradle of Asterisk brings forth their flagship product Switchvox which is probably one of the most popular offerings out there today.)</li>
<li><a href="http://www.talkswitch.com/" target="_blank">TalkSwitch</a> from Centrepoint Technologies. (Canada based Centrepoint, now TalkSwitch provides telecommunications solutions ideal for small and multi-location businesses with up to 32 telephone users per office.)</li>
<li><a href="http://www.pikatechnologies.com/english/View.asp?x=652" target="_blank">PIKA WARP</a> by <a href="http://www.pikatechnologies.com" target="_blank">PIKA Technologies</a>. (Ontario, Canada based PIKA builds appliances focused on Asterisk and Linux solutions for small businesses.)</li>
<li>BYOB by yourself. (Locally based, you can &#8220;Build Your Own Box&#8221; using Sangoma or Digium hardware for POTS landlines and build your own VoIP phone system using any Asterisk distribution, including Trixbox®, Elastix, AsteriskNOW, Elastix, CentPBX, and PBX-in-a-Flash, or FreeSWITCH, or YATE.</li>
</ol>
<p>Amongst the other options available are the hosted solution where you pay a fixed cost per device, and then there&#8217;s the Colo solution where you would have one of the options above hosted by someone else.</p>
<p>There are many variables that need to be taken into account and every business is different.</p>
<p>Small businesses are likely to have some type of broadband connectivity to the Internet, whether cable or DSL and not the more reliable T1 circuit. Although I have not had any problems with my broadband connection for over 3 years, I have seen businesses add redundant cable and/or DSL because they have to stay up when their service gets interrupted occasionally during a storm.</p>
<p>The amount of simultanous calls at any one time and the codec used will also play a role in deciding if the hosted solution is viable, since most broadband providers do not offer symmetrical upload and download speeds but rather assimetrical where the upload is usually much lower than the download speeds.</p>
<p>My rule of thumb for a business with more than 10 phones and 3 lines with heavy phone usage is to stay with the premises PBX and only use VoIP trunks as secondary circuits for savings.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2008/12/voip-phone-systems-for-small-businesses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring VoIP Trunks</title>
		<link>http://blog.sekiur.com/2008/12/monitoring-voip-trunks/</link>
		<comments>http://blog.sekiur.com/2008/12/monitoring-voip-trunks/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 03:28:19 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[iax]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=662</guid>
		<description><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/monitoring2.jpg"></a>Using VoIP lines to save on long distance and/or international calls is smart but real savings come in when you are able to dump your landline and go all the way with VoIP.</p> <p>Over the years the technology has matured to the point where its possible to provide reliable phone service over the Internet. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/12/monitoring2.jpg"><img class="alignleft size-medium wp-image-664" title="monitoring2" src="http://blog.sekiur.com/wp-content/uploads/2008/12/monitoring2-300x200.jpg" alt="" width="300" height="200" /></a>Using VoIP lines to save on long distance and/or international calls is smart but real savings come in when you are able to dump your landline and go all the way with VoIP.</p>
<p>Over the years the technology has matured to the point where its possible to provide reliable phone service over the Internet. Vonage being a pioneer in this market and recently major telcos offering this service to their existing client base has begun to erode the excepticism on VoIP.</p>
<p>When migrating for landline to VoIP its very important for the service to just work. People expect the phone to have a dial tone when its picked up just as they expect the lights to come on when the switch is flipped. It has become a utility.</p>
<p>Even though VoIP has come a long way, its important to keep an eye on it. Because voice now travels the same path that data those, there is a wide variety of tools available to measure and monitor performance and availability.</p>
<p>The script below allows you to e-mail you the status of a SIP or IAX trunk on an asterisk based VoIP phone system. The script scheduled every 5 minutes would check the status of the registration status for the specific trunk.</p>
<p>We being by creating two files in the /etc/asterisk directory.</p>
<ul>
<li>trunkalerts_iax.txt</li>
<li>trunkalerts_sip.txt</li>
</ul>
<p>Each file contains the registration domain and port as shown when querying sip and iax registrations.</p>
<p><strong>Example of trunkalerts_sip.txt</strong></p>
<blockquote><p>sip.broadvoice.com:5060</p></blockquote>
<p><strong>Script:</strong> (download <a href="http://blog.sekiur.com/dl/trunk-down-notify.sh" target="_self">here</a>)</p>
<p>#!/usr/bin/perl</p>
<p>################################################## #############################<br />
##################### ###########################<br />
####<br />
#### Trunk Alerts script written by Jim Hribnak Oct 7th 2007<br />
#### if there is any questions please feel free to drop me an email at jimh at d<br />
omain nucleus.com<br />
#### Called using Cron job</p>
<p>################################################## #############################<br />
##################### ###########################<br />
####<br />
#### Create the following 2 files in /etc/asterisk<br />
####<br />
#### in the files below add the hosts entry from asterisk -rx &#8220;sip show registry<br />
&#8221; and<br />
#### from asterisk -rx &#8220;iax2 show registry&#8221;.<br />
####</p>
<p>open(IAXTRUNKS,&#8221;/etc/asterisk/trunkalerts_iax.txt&#8221;);<br />
open(SIPTRUNKS,&#8221;/etc/asterisk/trunkalerts_sip.txt&#8221;);</p>
<p>################################################## #############################<br />
##################### ###########################<br />
####<br />
#### SIP Related Code<br />
####</p>
<p>#print &#8220;================================================= ===========\n&#8221;;<br />
#print &#8220;SIP Trunk information\n&#8221;;<br />
#print &#8220;================================================= ===========\n&#8221;;</p>
<p>while (&lt;SIPTRUNKS&gt;) {<br />
chomp;<br />
$siptrunks = `/usr/sbin/asterisk -rx &#8220;sip show registry&#8221; |grep \&#8221;$_\&#8221; | awk &#8216;{pr<br />
int $4}&#8217;`;</p>
<p>#print &#8220;siptrunks = $siptrunks\n&#8221;;<br />
if ($siptrunks =~ &#8220;Registered&#8221;) {<br />
#print &#8220;$_ is up\n&#8221; ;</p>
<p>} else {<br />
#print &#8220;We have a problem\n&#8221;;<br />
print &#8220;$_ trunk is not registering\n&#8221;;<br />
mailalert();</p>
<p>}<br />
} #end of while loop (read SIP file)</p>
<p>################################################## #############################<br />
##################### ###########################<br />
####<br />
#### IAX Related Code<br />
####</p>
<p>#print &#8220;\n\n============================================= ===============\n&#8221;;<br />
#print &#8220;IAX2 Trunk information\n&#8221;;<br />
#print &#8220;================================================= ===========\n&#8221;;</p>
<p>while (&lt;IAXTRUNKS&gt;) {<br />
chomp;<br />
$iaxtrunks = `/usr/sbin/asterisk -rx &#8220;iax2 show registry&#8221; |/bin/grep \&#8221;$_\&#8221; | aw<br />
k &#8216;{print $5}&#8217;`;</p>
<p>#print &#8220;iaxtrunks = $iaxtrunks\n&#8221;;</p>
<p>if ($iaxtrunks =~ &#8220;Registered&#8221;) {<br />
#print &#8220;$_ is up\n&#8221; ;</p>
<p>} else {<br />
mailalert();<br />
print &#8220;We have a problem\n&#8221;;<br />
print &#8220;$_ trunk is not registering\n&#8221;;<br />
my $subject = &#8220;Subject: TRUNK $iaxtrunks is DOWN!!!!\n&#8221;;<br />
my $content = &#8220;TRUNK $iaxtrunks is DOWN!!!!\n&#8221;;</p>
<p>}<br />
} #end of while loop (read SIP file)</p>
<p>################################################## ########################<br />
####<br />
#### Email Subroutines<br />
#### Change anywhere below where there is an email address an email addres<br />
#### must have \@ as perl needs to escape the @ symbol<br />
####<br />
################################################## ########################</p>
<p>sub mailalert {</p>
<p>my $sendmail = &#8220;/usr/sbin/sendmail -t&#8221;;<br />
my $from= &#8220;FROM: &lt;pbx\@sekiur.com&gt;\n&#8221;; #replace xxx with your FROM email ID<br />
my $reply_to = &#8220;Reply-to: &lt;support\@sekiur.com\n&#8221;;<br />
my $subject = &#8220;Subject: $_ is DOWN!!!!\n&#8221;;<br />
my $content = &#8220;TRUNK $_ is DOWN!!!!\n&#8221;;<br />
my $send_to = &#8220;To:&lt;support\@sekiur.com&gt;\n&#8221;; #replace xxx with your TO email ID<br />
open(SENDMAIL, &#8220;|$sendmail&#8221;) or die &#8220;Cannot open $sendmail: $!&#8221;;<br />
print SENDMAIL $from;<br />
print SENDMAIL $reply_to;<br />
print SENDMAIL $subject;<br />
print SENDMAIL $send_to;<br />
print SENDMAIL $content;<br />
close(SENDMAIL);</p>
<p>#log<br />
my $logfile = &#8220;/var/log/asterisk/trunkfailure.log&#8221;;<br />
my $date = localtime();<br />
my $logmsg = &#8220;$date TRUNK $_ is down&#8221;;<br />
open LOGFILE, &#8220;&gt;&gt;$logfile&#8221; or die &#8220;cannot open logfile $logfile for append: $!&#8221;;<br />
print LOGFILE $logmsg, &#8220;\n&#8221;;<br />
close LOGFILE;</p>
<p>print &#8220;An email has been sent!\n\n&#8221;;<br />
}</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2008/12/monitoring-voip-trunks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk Success Story</title>
		<link>http://blog.sekiur.com/2008/11/asterisk-success-story/</link>
		<comments>http://blog.sekiur.com/2008/11/asterisk-success-story/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 19:13:20 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[sucess]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=537</guid>
		<description><![CDATA[<p>Just had to pass on what transpired today. I started a Tech Support call to Microsoft Partner Support at 9:05 this morning. The call was initially answered in Redmond by the Partner Group. It was then transferred (via IP) to India for First Level Support &#8211; this lasted for two hours, when it was kicked [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Just had to pass on what transpired today. I started a Tech Support call to Microsoft Partner Support at 9:05 this morning. The call was initially answered in Redmond by the Partner Group. It was then transferred (via IP) to India for First Level Support &#8211; this lasted for two hours, when it was kicked up to another level in tech support, and transferred (Again, via IP) to Montreal, CA. After another half hour, I had to attend a meeting, so the call was transferred (in house) to one of my Techs. He stayed on the line for another 1.5 hours, and then transferred the call back to me.</p>
<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/11/sucess.jpg"><img class="aligncenter size-full wp-image-545" title="sucess" src="http://blog.sekiur.com/wp-content/uploads/2008/11/sucess.jpg" alt="" width="425" height="214" /></a></p>
<p>So at this point, I have had a live call that has been bounced over two continents, and in house over three extensions &#8211; this is at the 4-Hour point in the call.</p>
<p>The tech from M$FT then says that he needs a disk placed in the server &#8211; I place him on hold and call my contact, who is not there, so I transfer the call to my cel phone, and jump in the car and drive 15 minutes to the customer site. Stick the disk in, and resume troubleshooting on site and on the Cel, which has the call bridged through our Trixbox and out to my cel phone.</p>
<p>Two hours and 48 minutes later, and the M$FT guy is still not done, and my cell phone is going dead. Remote over to my desk at the office, call one of the people at my office and tell them I am giving them the call back, and to transfer it to a desk phone back where I am. I then bring up Flash Operator Panel, and put the call on his desk.</p>
<p>He then does a screened transfer to me, hits the receptionist at the school I am working at, asks for the server room, and when the phone rings and I answer, releases the call back to me!!!</p>
<p>Now, I am back talking to the M$FT guy, with no interruption WHATSOEVER and the call goes on for another 2 hours and 20 minutes!!!! He finally finishes what he was doing, and I sat back and looked at the statistics for the call:</p>
<p>9 Hours, 10 Minutes and 56 Seconds (I looked in the Log)<br />
Three Locations and Two Continents (On the M$FT side)<br />
Three internal Transfers, Two Offsite Transfers, and one Flash Operator Panel Call retrieval from an offsite location!!!!!!</p>
<p>And at no point did the call quality suffer &#8211; and all of this on a standard production Trixbox system!</p>
<p>Name me a system you could have done this on this easily!!!!</p></blockquote>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Source: Trixbox Forums (GSnover)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2008/11/asterisk-success-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trixbox 2.6 and Sangoma Hardware</title>
		<link>http://blog.sekiur.com/2008/11/trixbox-26-and-sangoma-hardware/</link>
		<comments>http://blog.sekiur.com/2008/11/trixbox-26-and-sangoma-hardware/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 18:37:40 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[fonality]]></category>
		<category><![CDATA[nerd vittles]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[piaf]]></category>
		<category><![CDATA[sangoma]]></category>
		<category><![CDATA[trixbox]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=530</guid>
		<description><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/11/asterisk_logo.png"></a><a href="http://www.trixbox.org" target="_self">Trixbox</a> (formerly Asterisk At Home &#8211; A@H) has definitely come a long since its beginnings in November 2004 and since I started playing around with Asterisk 2 months earlier. The convenience of being able to download an ISO and have a functional PBX in less than an hour was and is amazing.</p> [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.sekiur.com/wp-content/uploads/2008/11/asterisk_logo.png"><img class="alignright size-medium wp-image-536" title="asterisk_logo" src="http://blog.sekiur.com/wp-content/uploads/2008/11/asterisk_logo-300x168.png" alt="" width="300" height="168" /></a><a href="http://www.trixbox.org" target="_self">Trixbox</a> (formerly Asterisk At Home &#8211; A@H) has definitely come a long since its beginnings in November 2004 and since I started playing around with Asterisk 2 months earlier. The convenience of being able to download an ISO and have a functional PBX in less than an hour was and is amazing.</p>
<p>An excellent resource is Ward Mundy&#8217;s blog <a title="Nerd Vittles" href="http://nerdvittles.com/" target="_self">Nerd Vittles</a>, which I have also followed since early 2005 and has worked on some very cool and interesting projects augmenting Asterisk functionality. Most recently in November 2007, they released PBX In A Flash (PIAF) and have also announced a under $500 appliance with PIAF running on it.</p>
<p><strong>What is Asterisk?</strong></p>
<blockquote><p><strong>Asterisk</strong> is a <a class="mw-redirect" title="Software" href="http://en.wikipedia.org/wiki/Software">software</a> implementation of a telephone <a title="Private branch exchange" href="http://en.wikipedia.org/wiki/Private_branch_exchange">private branch exchange</a> (PBX) originally created in 1999 by <a title="Mark Spencer" href="http://en.wikipedia.org/wiki/Mark_Spencer">Mark Spencer</a> of <a title="Digium" href="http://en.wikipedia.org/wiki/Digium">Digium</a>. Like any PBX, it allows attached <a title="Telephone" href="http://en.wikipedia.org/wiki/Telephone">telephones</a> to make calls to one another, and to connect to other telephone services including the <a title="Public switched telephone network" href="http://en.wikipedia.org/wiki/Public_switched_telephone_network">public switched telephone network</a> (PSTN) and <a title="Voice over Internet Protocol" href="http://en.wikipedia.org/wiki/Voice_over_Internet_Protocol">Voice over Internet Protocol</a> (VoIP) services. Its name comes from the <a title="Asterisk" href="http://en.wikipedia.org/wiki/Asterisk">asterisk</a> symbol, &#8220;*&#8221;.</p></blockquote>
<p><strong>What is Trixbox?</strong></p>
<blockquote><p>Trixbox is a turnkey business class PBX voice communication system based on the Open Source Asterisk project. It’s no longer necessary to pay thousands and thousands of dollars for a proprietary phone system. By simply downloading software and installing it on a low end system you can have a powerful, open, and robust pbx system. From small systems with only a couple analog phone lines and extensions to large installs with multiple T1/E1 connections and hundreds of extensions, you can easily use Trixbox to meet your telephony needs.</p></blockquote>
<p>I believe Trixbox to be the most complete distribution of Asterisk out there, although many of its features might not be used in many cases. On the other side I have heard complaints on the lack of collaboration in adding new features and fixing bugs by the guys at Fonality, which makes it less open as it were.</p>
<p><strong>Parts List:</strong></p>
<ul>
<li>Trixbox 2.6.1.13 IS
<ul>
<li><a href="http://downloads.sourceforge.net/asteriskathome/trixbox-2.6.1.13-i386-DVD.iso?modtime=1222937179&amp;big_mirror=0%3Cbr%20/%3E" target="_blank"><strong>trixbox CE 2.6.1.13 (Stable)</strong></a> &#8211; 474,263,552 bytes &#8211; Released 10/02/08<br />
MD5: 0424baa0dd061e313062441083672427<br />
This is the current development release.<br />
[ <a href="http://downloads.sourceforge.net/asteriskathome/trixbox-2.6.1.13-i386-DVD.iso?modtime=1222937179&amp;big_mirror=0%3Cbr%20/%3E" target="_blank">Download ISO Image</a> ] from SourceForge</li>
</ul>
</li>
</ul>
<ul>
<li>Dell GX-150 with 512MB and 80Gb</li>
</ul>
<ul>
<li>Sangoma A200 card with 4 FXO ports</li>
</ul>
<ul>
<li><a href="http://wiki.sangoma.com/wanpipe-asterisk-trixbox-rpms#fstinall" target="_blank">Sangoma drivers<br />
</a></li>
</ul>
<p><strong>Todo List:</strong></p>
<ul>
<li>Upgrade the RAM to 512Mb and the hard drive to 80Gb</li>
<li>Install the Sangoma PCI A200 card</li>
<li>Insert CD into CD drive and boot from disk</li>
<li>Go through wizard and install Trixbox</li>
<li>Login to the computer, update Cent OS and download and install the drivers
<ul>
<li>yum update</li>
<li>yum upgrade</li>
<li>cd /opt</li>
<li>wget ftp://ftp.sangoma.com/linux/RPMS/2.6.1.13/wanpipe-util-3.2.7.1-0.i686.rpm</li>
<li>wget ftp://ftp.sangoma.com/linux/RPMS/2.6.1.13/wanpipe-modules-2.6.18-53.1.4.el5-3.2.7.1-0.i686.rpm</li>
<li>wanrouter hwprobe</li>
<li>wanrouter hwprobe verbose</li>
<li>setup-sangoma
<ul>
<li>When asked which codec will be used, select MULAW &#8211; North America</li>
<li>When configuration of the analog card completes, select 1 to continue</li>
<li>When configuration of Zaptel and Wanpipe completes, select 1 to save and restart deamons</li>
<li>When asked to start wanrouter at boot time, select 1 for yes</li>
</ul>
</li>
<li>ztcfg -vv (to display the analog card installed and its modules.)</li>
</ul>
</li>
<li>Install DynDNS client:
<ul>
<li>Install DAG’s GPG key
<ul>
<li>rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt</li>
</ul>
</li>
<li>Verify the package you have downloaded
<ul>
<li>rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm</li>
</ul>
</li>
<li>yum install ddclient</li>
</ul>
</li>
<li>Create DynDNS account</li>
<li>Configuration ddclient: (Add to the end of the /etc/ddclient/ddclient.conf file)
<ul>
<li>use=web, web=checkip.dyndns.com/, web-skip=&#8217;IP Address&#8217;</li>
<li>server=members.dyndns.org,      \</li>
<li>protocol=dyndns2,       \</li>
<li>login=your-login,        \</li>
<li>password=your-password        \</li>
<li> pbx.dnsalias.com</li>
</ul>
</li>
</ul>
<p>Trixbox links to several good quick install guides <a href="http://trixbox.org/wiki/trixbox_quick_install_guide" target="_self">here</a> and a comprehensive list of documentation <a href="http://trixbox.org/wiki/trixbox-documentation" target="_self">here</a>.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-3340920433757461";
google_ui_features = "rc:10";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2008/11/trixbox-26-and-sangoma-hardware/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hard SIP Phones &#8211; Cisco 7960 VoIP</title>
		<link>http://blog.sekiur.com/2005/07/hard-sip-phones-cisco-7960-voip/</link>
		<comments>http://blog.sekiur.com/2005/07/hard-sip-phones-cisco-7960-voip/#comments</comments>
		<pubDate>Sun, 03 Jul 2005 10:26:30 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=54</guid>
		<description><![CDATA[<p>Received my Cisco 7960 SIP phone and althought it was tough to get the firmware (7.4) <a href="http://www.cisco.com/" target="_blank">[P0S3-07-4-00]</a>, it was pretty straight forward to get the phone running.</p> MORE&#8230; <p>Basically the configuration had to be erased, the phone unlocked and pointed to the asterisk server where the tftp daemon is and the firmware lies.</p> [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_51" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.sekiur.com/wp-content/uploads/2005/07/img_0487.jpg"><img class="size-medium wp-image-51" title="img_0487" src="http://blog.sekiur.com/wp-content/uploads/2005/07/img_0487-300x225.jpg" alt="Cisco 7960" width="300" height="225" /></a><p class="wp-caption-text">Cisco 7960</p></div>
<p>Received my Cisco 7960 SIP phone and althought it was tough to get the firmware  (7.4) <a href="http://www.cisco.com/" target="_blank">[P0S3-07-4-00]</a>, it was  pretty straight forward to get the phone running.</p>
<h4>MORE&#8230;</h4>
<p>Basically the configuration had to be erased, the phone unlocked and pointed  to the asterisk server where the tftp daemon is and the firmware  lies.</p>
<p><strong>UPDATE:</strong></p>
<p>Run the &#8216;setup-cisco&#8217; command on the asterisk  box to create the Default.cnf file.</p>
<p>The firmware here is essential. You  MUST have this firmware in order for the Cisco phone to do SIP.</p>
<p>All the  files needed *.bin, *.sbn, *.loads, and *.sb2 need to be located in the  /tftpboot directory of the asterisk box and all files need to have 777  permissions.<br />
The phone will need to be reset to factory defaults and set to  pick up an IP address from the dhcp server. Once this is done the Alternate TFTP  server will have to be keyed in pointing to the asterisk box. Doing a netstat -a  on the asterisk box will show (udp 0 0 *:tftp) to make sure that the tftp daemon  is listening.</p>
<p>Using the web GUI create a new phone configuration file.  Use the MAC address of the phone which is located on the bottom of the phone.  Edit the config file and update the Auth Name and password which you will use  when setting up the extension later. Disconnect the phone and hopefully it will  upload the firmware.</p>
<p>If you have problems then temporarily copy the  files in /tftpboot/cisco_util/ /tftpboot/ and then once the phone has upgraded  the firmware remove the the files.</p>
<p>At the end the /tftpboot directory  should look like this:</p>
<p>drwxrwxrwx 2 root root 4096 Apr 29 2005  cisco_util<br />
-rwxrwxrwx 1 root root 104 Jun 18 19:45 dialplan.xml<br />
-rwxrwxrwx  1 root root 9570 Jun 18 19:45 merlin2.pcm<br />
-rwxrwxrwx 1 root root 14 Jun 18  19:45 OS79XX.TXT<br />
-rwxrwxrwx 1 root root 15 Jun 18 19:45  OS79XX.TXT.bk<br />
-rwxrwxrwx 1 root root 129416 Jun 18 19:45  P003-07-3-00.bin<br />
-rwxrwxrwx 1 root root 129820 Jun 18 19:45  P003-07-3-00.sbn<br />
-rwxr-xr-x 1 root root 129472 Jun 18 19:45  P003-07-4-00.bin<br />
-rwxr-xr-x 1 root root 129876 Jun 18 19:45  P003-07-4-00.sbn<br />
-rwxrwxrwx 1 root root 459 Jun 18 19:45  P0S3-07-3-00.loads<br />
-rwxrwxrwx 1 root root 592414 Jun 18 19:45  P0S3-07-3-00.sb2<br />
-rwxrwxrwx 1 root root 582861 Jun 18 19:45  P0S3-07-3-00.zip<br />
-rw-r&#8211;r&#8211; 1 root root 592222 Jun 18 19:45  P0S3-07-4-00.bin<br />
-rwxr-xr-x 1 root root 461 Jun 18 19:45  P0S3-07-4-00.loads<br />
-rwxr-xr-x 1 root root 592626 Jun 18 19:45  P0S3-07-4-00.sb2<br />
-rwxrwxrwx 1 root root 26 Jun 18 19:45  RINGLIST.DAT<br />
-rwxr-xr-x 1 root root 2335 Jun 18 19:45 SEP.cnf<br />
-rwxr-xr-x 1 root root 2335 Jun 18 14:59 SEP.cnf.xml<br />
-rwxrwxrwx 1 asterisk asterisk 2612 Jul 9 18:31 SIP.cnf<br />
-rwxrwxrwx 1 root root 4074 Jul 9 18:29  SIPDefault.cnf<br />
-rwxrwxrwx 1 root root 30 Jun 18 19:45  syncinfo.xml</p>
<p><strong>UPDATE 2:</strong> (Thanks to Matthew  Cochrane)</p>
<p>Upgrading factory SCCP load to current 7.4 SIP  release:</p>
<p>1. Download 7.4 SIP firmware, and 7.1 (Cisco call manager)  firmware (best I could &#8216;find&#8217;)<br />
2. Unzip, and place both firmwares on your  *@Home server in the tftpboot directory (copy 7.4 first, then 7.1) (winSCP did  make it very easy). If you did not copy 7.4 first, change the OS79XX.TXT file to  include &#8220;P003-07-1-00&#8243;<br />
3. Run setup-cisco on *@Home server<br />
4. Edit the  image_version included in the SIPDefault.cnf to say &#8220;P003-07-1-00&#8243;<br />
5. Ensure  OS79XX.TXT has &#8220;P003-07-1-00&#8243; in it<br />
6. Copy the contents of the cisco_utils  directory to the foot tftpboot folder (cp /tftpboot/cisco_util/*  /tftpboot)<br />
7. Edit both new files (they start with xml and XML) so that the  loadInformation7 and 8 have P003-07-1-00 in them.<br />
8. Turn on phone<br />
9. If  you have DHCP configured correctly, then it should be pointed to your *@Home&#8217;s  tftp server already, if not, manually setup the network configuration (see other  guides online� key thing, press the settings button, go to network config,  scroll down to &#8220;enable DHCP&#8221;, hit **#, and change to NO. Then type in your  network settings, and have &#8220;alternate TFTP set to your asterisk server)<br />
10.  Your phone should now upgrade to 7.1, and reboot<br />
11. If you phone says  &#8220;Protocol Application Invalid&#8221;, your firmware flash failed, and your phone is  now unrecoverable<br />
12. Just kidding<br />
13. Turn off your phone<br />
14. Remove  both xml files.<br />
15. Edit the OS79XX.TXT and SIPDefault.cnf to now read  &#8220;P0S3-07-4-00&#8243;<br />
16. Turn your phone on.<br />
17. It should now upgrade and  reboot twice, finally saying that the phone is unprovisioned, but it should say  SIP in the top right corner. Use the Cisco Config link on the maintenance page  of *@Home and make a new phone configuration file.<br />
18. Thank the internet,  and whoever is hosting this guide for making your life oh-so-easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2005/07/hard-sip-phones-cisco-7960-voip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting Two Asterisk @Home Servers via IAX2</title>
		<link>http://blog.sekiur.com/2005/06/connecting-two-asterisk-home-servers-via-iax2/</link>
		<comments>http://blog.sekiur.com/2005/06/connecting-two-asterisk-home-servers-via-iax2/#comments</comments>
		<pubDate>Sat, 25 Jun 2005 22:06:26 +0000</pubDate>
		<dc:creator>Jose Vicente Ortega</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[iax]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.sekiur.com/?p=48</guid>
		<description><![CDATA[<p>I have found very scattered and little documentation on connecting two asterisk servers via IAX2, so I decided to put these words together. <a href="http://en.wikipedia.org/wiki/IAX2" target="_blank">IAX2</a> is a protocol that plays nice with NAT and very powerful.</p> <p>The most important thing to keep in mind is the client/server relationship when calling/forwarding from one server to [...]]]></description>
			<content:encoded><![CDATA[<p>I have found very scattered and little documentation on connecting two  asterisk servers via IAX2, so I decided to put these words together. <a href="http://en.wikipedia.org/wiki/IAX2" target="_blank">IAX2</a> is a protocol  that plays nice with NAT and very powerful.</p>
<p>The most important thing to  keep in mind is the client/server relationship when calling/forwarding from one  server to another. So when you are calling from Server A to Server B, then  Server A is the &#8220;Client&#8221; and Server B is the &#8220;Server&#8221; and of course if you are  calling from Server B to Server A, then Server B would be the &#8220;Client&#8221; and  Server A would be the &#8220;Server&#8221;.</p>
<h4>MORE&#8230;</h4>
<p>The next thing to know is that &#8220;Trunks&#8221; allow endpoints to establish a  communication channel between each other, but Outbound &amp; Inbound Routes also  need to be established.</p>
<p>Home Server:</p>
<p>TRUNKS:</p>
<p>Add IAX2  Trunk</p>
<p>OUTGOING SETTINGS</p>
<p>Trunk name: SOHO<br />
Peer  Details:<br />
auth=rsa<br />
context=from-pstn<br />
host=Office server IP address/dns  address<br />
inkeys=otherserver<br />
secret=<br />
type=friend<br />
username=home</p>
<p>INCOMING  SETTINGS</p>
<p>User Context: office<br />
User  Details:<br />
context=from-pstn<br />
host=dynamic<br />
outkey=otherservervoip<br />
secret=<br />
type=friend<br />
username=office</p>
<p>Registration  String:<br />
home:@</p>
<p>OUTBOUND  ROUTING:</p>
<p>Dial Patterns:<br />
7|.</p>
<p>Trunk Sequence:<br />
Select trunk  just built.</p>
<p>Office Server:</p>
<p>TRUNKS:</p>
<p>Add IAX2  Trunk</p>
<p>OUTGOING SETTINGS</p>
<p>Trunk name: SOHO<br />
Peer  Details:<br />
auth=rsa<br />
context=from-pstn<br />
host=home server IP address/dns  address<br />
inkeys=otherserver<br />
secret=<br />
type=friend<br />
username=office</p>
<p>INCOMING  SETTINGS</p>
<p>User Context: home<br />
User  Details:<br />
context=from-pstn<br />
host=dynamic<br />
outkey=otherservervoip<br />
secret=<br />
type=friend<br />
username=home</p>
<p>Registration  String:<br />
office:@</p>
<p>OUTBOUND ROUTING:</p>
<p>Dial Patterns:<br />
7|.</p>
<p>Trunk  Sequence:<br />
Select trunk just built.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sekiur.com/2005/06/connecting-two-asterisk-home-servers-via-iax2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

