<?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>The Nir Simionovich blog &#187; SIP</title>
	<atom:link href="http://www.simionovich.com/tag/sip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simionovich.com</link>
	<description>The rants and raves of a technogeek</description>
	<lastBuildDate>Sat, 03 Sep 2011 19:26:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Beyond the dialtone &#8211; PBX user experience revisited</title>
		<link>http://www.simionovich.com/2010/02/12/beyond-the-dialtone-pbx-user-experience-revisited/</link>
		<comments>http://www.simionovich.com/2010/02/12/beyond-the-dialtone-pbx-user-experience-revisited/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 19:24:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[Aastra Technologies]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco Systems]]></category>
		<category><![CDATA[digium]]></category>
		<category><![CDATA[Fonality]]></category>
		<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[freeswitch]]></category>
		<category><![CDATA[Markup language]]></category>
		<category><![CDATA[Nortel]]></category>
		<category><![CDATA[Polycom]]></category>
		<category><![CDATA[sangoma]]></category>
		<category><![CDATA[TrixBox]]></category>
		<category><![CDATA[User interface]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=381</guid>
		<description><![CDATA[When most of us think about PBX systems, we usually associate these with cumbersome usage, confusing dialing codes and in most cases - a PBX system is automatically associated with the annoying task of transferring a call from one handset to another. Lately, I've been thinking deeply about how people use PBX systems, is this really the only way to use a PBX system? is there something else to the mix? can we really enrich one of the oldest operational paradigms in the world? - and for that matter, can the public be re-educated to assimilate a new breed of PBX systems or services?]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2010%2F02%2F12%2Fbeyond-the-dialtone-pbx-user-experience-revisited%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2010%2F02%2F12%2Fbeyond-the-dialtone-pbx-user-experience-revisited%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>When most of us think about PBX systems, we usually associate these with cumbersome usage, confusing dialing codes and in most cases &#8211; a PBX system is automatically associated with the annoying task of transferring a call from one handset to another. Lately, I&#8217;ve been thinking deeply about how people use PBX systems, is this really the only way to use a PBX system? is there something else to the mix? can we really enrich one of the oldest operational paradigms in the world? &#8211; and for that matter, can the public be re-educated to assimilate a new breed of PBX systems or services?</p>
<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:Cisco7960G.jpeg"><img title="Hardware-based IP phone" src="http://upload.wikimedia.org/wikipedia/en/thumb/2/2c/Cisco7960G.jpeg/300px-Cisco7960G.jpeg" alt="Hardware-based IP phone" width="300" height="225" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:Cisco7960G.jpeg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>As to answering the question of re-educating the public, I guess I&#8217;ll have to leave that question to the head shrinks. As to answering the latter, enriching the PBX experience is both achievable and advisable. When I say enriching, I mainly talk about your ability to bring to the IP phone functionality usually not associated with it. Imagine to have the ability to receive a stock exchange RSS feed to your phones idle screen, notice that you stock is either rising or falling, and by the flick of a button &#8211; either sell or buy. We&#8217;ve all come accustomed to IP phones that look like the one of the right. A whole bunch of buttons, that in most cases have no direct use when our phone is utilized using a single account. However, these buttons can be externally re-assigned and re-programmed to achieve greater functionality &#8211; surpassing the normal behavior of just making phone calls.</p>
<p>The technology involved exists on almost every high-end IP phone on the market (well, at least those made by SNOM, Aastra, Cisco and Polycom &#8211; most of the Chinese makers don&#8217;t have this) &#8211; it&#8217;s called a Mini Browsers. Mini Browsers are exactly what they are called, these are simplified versions of your typical Internet browser. Some vendors had produced their own XML based Mini browser markup language (SNOM, Cisco, Aastra) while others had decided to provide a sub-set of XHTML (Polycom). The variations between the vendors are at the neck deep of the problems of using Mini Browsers, and that is that the formats are considerably different. Sure, SNOM had more or less adopted Cisco&#8217;s general structure, however, it still varies.</p>
<p>Through the utilization of this technology, it is possible to create phone based browser applications, that seem native to the phone user, as the general interface resembles the native phone interface. It is now the developers job to make the web interface displayed to the user as seamless and as native as possible, keeping in mind that the developer must remain agnostic to the information retrieval layer. Most companies leave their phone systems and these tasks to their system administrators and infrastructure team, however, this task is far beyond their capabilities and skill set. Creating an agnostic IP phone minibrowser dislplay layer, capable of utilizing multiple vendors and models, is a question of content management and content rendering, very must similar to the content transcoding problem that is common to the mobile content world &#8211; in other words, a sys-admin will create an ad-hoc solution, a programmer will create a proper, well structured, well designed solution that carry the enterprise beyond its initial needs and requirements.</p>
<p>A short example of how these interfaces work can be found <a title="IP Phones - Enriching User Interfaces" href="http://blog.greenfieldtech.net/?p=60" target="_blank">here</a> &#8211; on my company blog.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/7810aaba-fcad-45fd-9b36-5647793b1cc5/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=7810aaba-fcad-45fd-9b36-5647793b1cc5" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2010/02/12/beyond-the-dialtone-pbx-user-experience-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m not rude, I&#8217;m eccentric</title>
		<link>http://www.simionovich.com/2009/12/03/im-not-rude-im-eccentric/</link>
		<comments>http://www.simionovich.com/2009/12/03/im-not-rude-im-eccentric/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 09:37:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[Aastra]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Grandstream]]></category>
		<category><![CDATA[GreenfieldTech]]></category>
		<category><![CDATA[Huwaei]]></category>
		<category><![CDATA[Polycom]]></category>
		<category><![CDATA[Session Initiation Protocol]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[Telecommunications]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Voice over Internet Protocol]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=352</guid>
		<description><![CDATA[Today I got the chance to speak at a Polycom half-day convention, mainly to speak about Asterisk and HDvoice. Now, putting aside the part about HDvoice (I'm getting a post about that on its own), I gotten to the point where I believe that I'm currently perceived as being an eccentric.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F12%2F03%2Fim-not-rude-im-eccentric%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F12%2F03%2Fim-not-rude-im-eccentric%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 210px;">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:Polycom_logo.png"><img title="Polycom, Inc." src="http://upload.wikimedia.org/wikipedia/en/7/71/Polycom_logo.png" alt="Polycom, Inc." width="200" height="80" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:Polycom_logo.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Today I got the chance to speak at a <a class="zem_slink" title="Polycom" rel="homepage" href="http://www.polycom.com/">Polycom</a> half-day convention, mainly to speak about <a class="zem_slink" title="Asterisk (PBX)" rel="homepage" href="http://www.asterisk.org/">Asterisk</a> and HDvoice. Now, putting aside the part about HDvoice (I&#8217;m getting a post about that on its own), I gotten to the point where I believe that I&#8217;m currently perceived as being an eccentric.</p>
<p>So, why am I eccentric? very simple, I&#8217;ve reached a point where I can say things that may be perceived as rude &#8211; and write it off an being an eccentric quirk.</p>
<p>I&#8217;ve talked about Asterisk ability to support Video, while the current Polycom VVX1500 video phone isn&#8217;t yet supported at its fullest. One of the people in the crowd mentioned some sleezy,al-cheapo, <a class="zem_slink" title="Session Initiation Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Session_Initiation_Protocol">SIP</a> Video phone (to be more exact, he&#8217;s the local distributor) &#8211; and I claimed that I don&#8217;t count that phone as a comparison to Polycom or other <a class="zem_slink" title="Voip" rel="wikinvest" href="http://www.wikinvest.com/concept/Voip">VoIP</a> Video phones, simply because in my view it&#8217;s not a worth while comparison. Comm&#8217;on, let&#8217;s be realistic, can you compare a Polycom VVX1500 (an HDvoice Video phone) with some shitty sub-<a class="zem_slink" title="Video Graphics Array" rel="wikipedia" href="http://en.wikipedia.org/wiki/Video_Graphics_Array">VGA</a> SIP Video phone from <a class="zem_slink" title="China" rel="geolocation" href="http://maps.google.com/maps?ll=35.0,105.0&amp;spn=10.0,10.0&amp;q=35.0,105.0%20%28China%29&amp;t=h">China</a>? the mere comparison is simply insulting for Polycom.</p>
<p>Shortly after negating that phone, the person stood up and left the room. At the break, a friend said to me that I shouldn&#8217;t have said that, in order to come out the bigger man. Common, the guy is surely making a joke of himself. I commented: &#8220;I&#8217;ve said what I said, I stand by my opinion &#8211; besides, you know I&#8217;m eccentric &#8211; eccentric people say eccentric things&#8221; &#8211; he agreed that I&#8217;m eccentric, after all, you can&#8217;t be an <a class="zem_slink" title="Open Source" rel="wikinvest" href="http://www.wikinvest.com/concept/Open_Source">Open Source</a> evangelist without being an eccentric &#8211; now can you?</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/f3e1ec8c-4b68-45ce-a033-0fbdf2ebdfd3/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=f3e1ec8c-4b68-45ce-a033-0fbdf2ebdfd3" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/devel/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2009/12/03/im-not-rude-im-eccentric/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battling the GlobalCrossing CallerID blues</title>
		<link>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/</link>
		<comments>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 22:17:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[CALLERID]]></category>
		<category><![CDATA[Carrier]]></category>
		<category><![CDATA[DID]]></category>
		<category><![CDATA[GlobalCrossing]]></category>
		<category><![CDATA[Level3]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=260</guid>
		<description><![CDATA[As a part of my job, I manage and maintain customer platform &#8211; usually operating in the Calling Cards and VoIP services market. Over the course of time, I&#8217;ve learned to rely on some providers in this world, knowing that they work 99.999% of the time. For example, i like working with DID numbers provided]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F02%2F26%2Fbattling-the-globalcrossing-callerid-blues%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F02%2F26%2Fbattling-the-globalcrossing-callerid-blues%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>As a part of my job, I manage and maintain customer platform &#8211; usually operating in the Calling Cards and VoIP services market. Over the course of time, I&#8217;ve learned to rely on some providers in this world, knowing that they work 99.999% of the time.</p>
<p>For example, i like working with DID numbers provided by Level3, GlobalCrossing and Voxbone. I have a fair dislike for DIDX and the like, simply due to the fact that their reliability, not the DIDX platform, but the providers themselves is questionable &#8211; at best.</p>
<p>So, why is this post called: &#8220;Battliing the GlobalCrossing CallerID blues&#8221;? simple, because the list that appeared before is now missing GlobalCrossing. Over the course of time, I&#8217;ve learned to live with the various quirks of GlobalCrossing, mainly, their inability to provide a proper e164 number as a part of the SIP headers. Usually, I would receive headers from global crossing that look like this:</p>
<p>FROM HEADER: &lt;sip:3054230103@xxx.xxx.xxx.xxx&gt;;tag=as54cf6928</p>
<p>Now, I new that in general, that didn&#8217;t post much of a problem, as long as it was consistent. However, starting today, some of the requests started looking like this:</p>
<p>FROM HEADER: &lt;sip:13054230103@xxx.xxx.xxx.xxx&gt;;tag=as1213141</p>
<p>However, to make things weird, one INVITE request would carry the non-valid e164 numbering, while the second INVITE may carry the correct format. In other words, there is no way to know exactly if the number is provided in full e164 or not. So, I tried doing some header mangling using Asterisk and other tools, however, nothing helped. Surely the format changed along the way, however, when I changed one side of the system, another side of the system broke &#8211; simply because it relied on something else &#8211; in other words, a fuck&#8217;n mess.</p>
<p>At this point, the problem is not yet resolved and i&#8217;m working with my DID provider to remedy the situation &#8211; after investigating it, the DID provider is currently bashing the heads at GlobalCrossing to fix the issue on their side. I will report back once I have more information.</p>
<p>If you suffered similar problems with other DID providers, I&#8217;d love to hear about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Read my words &#8211; 3500 concurrent channels with Asterisk!</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/</link>
		<comments>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 15:28:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Dialers]]></category>
		<category><![CDATA[digium]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[S3]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=250</guid>
		<description><![CDATA[One of the biggest questions in the world of Asterisk is: &#8220;How many concurrent channels can be sustained with an Asterisk server?&#8221; &#8211; while many had tried answering the question, the definitive answer still alludes us. Even the title of this post says &#8220;3500 concurrent channels with Asterisk&#8221; doesn&#8217;t really say much about what really]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F02%2F13%2Fread-my-words-3500-concurrent-channels-with-asterisk%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2009%2F02%2F13%2Fread-my-words-3500-concurrent-channels-with-asterisk%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>One of the biggest questions in the world of Asterisk is: &#8220;How many concurrent channels can be sustained with an Asterisk server?&#8221; &#8211; while many had tried answering the question, the definitive answer still alludes us. Even the title of this post says &#8220;3500 concurrent channels with Asterisk&#8221; doesn&#8217;t really say much about what really happend. In order to be able to understand what &#8220;concurrent channels&#8221; really means in the Asterisk world, let us take a look at some tests that were done in the past.</p>
<h1>Asterisk as a Signalling Only Switch</h1>
<p>This scenario is one of the most common scenarios in the testing world, and relies upon the basic principle of allowing media (RTP) to traverse from one end-point to the other, while Asterisk is out of the loop regarding anything relating to media processing (RTP). Examine the following diagram from one of the publicly available OpenSER manuals:</p>
<div class="wp-caption aligncenter" style="width: 400px"><img title="Direct Media Path between phones via a SIP Proxy" src="http://openser.oralnet.co.uk/images/call-flow/INVITE-stateless_proxy.gif" alt="Direct Media Path between phones via a SIP Proxy" width="390" height="354" /><p class="wp-caption-text">Direct Media Path between phones via a SIP Proxy</p></div>
<p>As you can see from the above, the media path is established between our 2 SIP endpoints.</p>
<p>This classic scenario had been tested in multiple cases, with varying codec negotiations, varying server hardware, varying endpoints, varying versions of Asterisk &#8211; no matter what the case was, the results were more or less the same. Transnexus had reported being able to sustain over 1,200 concurrent channels in this scenario, which makes perfect sense.</p>
<p>Why does it make sense? very simple, as Asterisk doesn&#8217;t manage or mangle RTP packets, Asterisk performs less work and the server also consumes less resources.</p>
<h1>Asterisk as a Media Gateway</h1>
<p>Another test that people had done numerous times is to utilize Asterisk a Media Gateway. People used it as a SIP to PSTN gateway, SIP to IAX2 gateway, even as a SIP to SIP transcoder gateway. In any case, the performance here varied immensly from one configuration to another, however, they all relied on a simple call routing mechanism of routing calls between endpoints and allowing Asterisk to handle media proxy tasks and/or handle codec translation tasks.</p>
<p>Depending on the tested codec, I&#8217;ve seen reports of sustain over 300 concurrent channels of media on a single server, while other claim for around the 140 concurrent channels mark &#8211; this again mostly relied on various hardware/software/network configurations &#8211; so there is nothing new in there.</p>
<h1>These tests tell us nothing</h1>
<p>While these tests are really nice in the theoretical plane of thinking, it doesn&#8217;t really help us in the design and implementation of an Asterisk system &#8211; no matter if it is an IVR system, a PBX system or a time entry phone system for that matter &#8211; it simply doesn&#8217;t provide that kind of information.</p>
<h1>The Amazon EC2 performance test</h1>
<p>In my previous post, <a title="http://www.simionovich.com/?p=243" href="http://www.simionovich.com/?p=243" target="_blank">Rock Solid Clouded Asterisk</a>, I&#8217;ve discussed the various mathmatics involved in calculating the RoI factors of utilizing Cloud computing. One thing the article didn&#8217;t really tell us, did it really work?</p>
<p>Well, here are some of the test results that we managed to validate:</p>
<ul>
<li>Total number of Asterisk based Amazon EC2 instances used: 24</li>
<li>Total number of concurrent channels sustained per instances (including media and logic): 80</li>
<li>Average length of call: 45 seconds</li>
<li>Total number of calls served: 2.84 Million dials</li>
<li>Test length: approximately 36 hours</li>
</ul>
<p>According to the above data, each server was required to dial an approximate 3300 dials every hour. So, let&#8217;s run the math again:</p>
<ul>
<li>3300 Diales per hour</li>
<li>55 Dials per minute</li>
<li>As each call is an average of 45 seconds, this means that each gateway generates 20 calls<br />
per second, and within 4 seconds fills the 80 channels limit per server.</li>
</ul>
<p>According to the above numbers that we&#8217;ve measured, each of the Amazon EC2 instances used was utilized to about 50% of its CPU power, while consuming a load average of 2.4, which was mostly caused by I/O utilization for SIP and RTP handling.</p>
<h1>Conclusion</h1>
<p>When asking for the maximum performance of Asterisk, the question is incorrect. The correct question should be: &#8220;What is the maximum perfromance of Asterisk, utilizing X as the application layout?&#8221; &#8211; where X is the key factor for the performance. Asterisk application performance can vary immensly from one application to another, while both appear to be doing the exact same thing.</p>
<p>When asking your consultant or integrator for the top performance, be sure to include your business logic and application logic in the Asterisk server, so that they may be able to better answer your question. Asterisk as Asterisk is just a tools, asking for its performance is like asking how many stakes a butcher&#8217;s knife can cut &#8211; it&#8217;s a question of what kind&#8217;a steaks you intend on cutting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Open Source SBC &#8211; Is there such a thing?</title>
		<link>http://www.simionovich.com/2008/11/13/open-source-sbc-is-there-such-a-thing/</link>
		<comments>http://www.simionovich.com/2008/11/13/open-source-sbc-is-there-such-a-thing/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 09:24:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[OpenSBC]]></category>
		<category><![CDATA[SBC]]></category>
		<category><![CDATA[Session Border Controller]]></category>
		<category><![CDATA[Solegy]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=163</guid>
		<description><![CDATA[Session Border Controllers (SBCs) are utilized as a means to providing both load balancing and security structures for VoIP networks. To be completely honest, 90% of my customers utilize SBC appliances, be it Acme Packet, Juniper, NexTone or others. According to a report by Transnesus, a combination of OpenSER and Asterisk can be utilized as]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2008%2F11%2F13%2Fopen-source-sbc-is-there-such-a-thing%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2008%2F11%2F13%2Fopen-source-sbc-is-there-such-a-thing%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Session Border Controllers (SBCs) are utilized as a means to providing both load balancing and security structures for VoIP networks. To be completely honest, 90% of my customers utilize SBC appliances, be it Acme Packet, Juniper, NexTone or others.</p>
<p>According to a report by <a href="http://www.transnexus.com/White%20Papers/Asterisk_Performance_as_a_SIP_B2BUA.pdf" target="_blank">Transnesus</a>, a combination of OpenSER and Asterisk can be utilized as a Back-To-Back-User-Agent (B2BUA) structure &#8211; however, the general configuration and setup isn&#8217;t clear and straight forward. I&#8217;ve been thinking to myself: &#8220;Why hadn&#8217;t anyone written and Open Source SBC? could it be? usually there&#8217;s an Open Source alternative to any commercial product&#8221;.</p>
<p>Like any other search on the net, I&#8217;ve pointed my Firefox to <a href="http://www.google.co.il/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;hs=E8X&amp;q=Open+Source+SBC&amp;btnG=Search" target="_blank">Google</a>, and typed the phrase &#8220;Open Source SBC&#8221;, aparently, such a thing exists from a company called <a href="http://www.solegy.com" target="_blank">Solegy</a> &#8211; over at the web address: <a href="http://www.opensourcesip.org" target="_blank">http://www.opensourcesip.org</a>. So, I downloaded the source code, and after a 30 minute compilation phase (bearing in mind working on a Virtual server running under VMWARE Server) &#8211; the compilation completed.</p>
<p>Compiling was one thing, running it was a completely different thing &#8211; took me a while to realize where the binary is located and how the configuration works out &#8211; once I did that was a breeze. On my system, after compilation the binary was located according to the following:</p>
<pre style="padding-left: 30px;">[root@opensbc obj_linux_x86_r]# pwd
/root/OpenSBC-1.1.5-RC1-Bundle/opensbc/obj_linux_x86_r
[root@opensbc obj_linux_x86_r]# ./opensbc -x

Message from syslogd@ at Thu Nov 13 23:15:35 2008 ...
tvms OpenSBC[18900]: Starting service process "OpenSBC" v1.1.5-25</pre>
<p>Per the information provided by Solegy, the OpenSBC project supports several modes of operations, ranging according to the following:</p>
<pre style="padding-left: 30px;"><strong>Full Mode</strong> - By default OpenSBC runs in full mode exposing its capability both as a
relay SIP proxy, Registrar and as a B2B User Agent. When OpenSBC receives an INVITE
or a REGISTER request it would follow the following procedure to make a decision how
to route a request:

● If the Request-URI resolves to a remote domain, the request will be relayed. If a
relay route is available, the request is sent to that route. If a relay route is not
available, then the URI is resolved via DNS.
● If the Startline-URI resolves as a local address and port, the To URI is checked
if it resolves to a local domain and port. If not, the request would be proxied
using Relay Routes or via DNS resolution. The Request URI would be rewritten to point
to the resolved route.
● INVITE: If both Request URI and To URI resolves to a local listener and port, the
B2BUA Route is used to route the INVITE.
● REGISTER: If both Request URI and To URI resolves to a local listener and port, the
local Registrar will process the registration. This would include Authorization of
the user.

<strong>B2BOnly Mode</strong> - This mode removes the relay capability but exposes the Registrar and
the B2BUA functionalities. This mode does not do the checks performed by Full Mode. It
will always process REGISTER and INVITE as local.

● INVITE: This mode always use B2BUA Route to route calls. If there is not corresponding
route found, a DNS resolutions is done against the Request URI or the To URI in case the
Request-URI resolves to a local address.
● REGISTER: Registrations are always handled by the local registrar.
<strong>
Proxy Only Mode</strong> - This mode removes the B2BUA functionality but exposes Registrar and the
relay SIP Proxy functionalities
● Always uses Relay Routes for all messages including REGISTER. If a relay route is not
configured, Requests will be relayed using DNS resolution. If a registrations is resolved
as local, the registrar would handle the registration including authorization

<strong>B2BUpperReg Mode</strong> - This is almost the same as the B2BOnly mode but with the additional
capability of relaying registrations to upper registrars.

● INVITE: This mode always uses B2BUA Route.
● REGISTER: For registrations, it performs the Request URI and To URI checking and relay
for a remote domain or process the registration locally for local domains.
● Upper-Registration: This mode also has the capability to hijack-registrations towards
upstream registrars.</pre>
<p>Per the above, I didn&#8217;t completely understand what I should use for normal IP phones operations, so, I guess I&#8217;m more or less on my own on this one. My general understanding says that I need to use the B2BupperReg mode, however, I can&#8217;t say I&#8217;m totally sure about it &#8211; I&#8217;ll be experimenting with OpenSBC and the virtual Asterisk servers i&#8217;ve written before over the couple of months.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2008/11/13/open-source-sbc-is-there-such-a-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We are to blame&#8230;</title>
		<link>http://www.simionovich.com/2008/07/09/we-are-to-blame/</link>
		<comments>http://www.simionovich.com/2008/07/09/we-are-to-blame/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 09:13:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AGI]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Magic]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[SIPP]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=49</guid>
		<description><![CDATA[Lately I&#8217;ve come to the realization, that we are to blame for our own inability to promote Open Source and the adaptation of Open Source proficiency. Being an Open Source evangelist and consultant, this is very weird to be said by one like myself, however, this is my realization &#8211; and I will explain. In]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2008%2F07%2F09%2Fwe-are-to-blame%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2008%2F07%2F09%2Fwe-are-to-blame%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Lately I&#8217;ve come to the realization, that we are to blame for our own inability to promote Open Source and the adaptation of Open Source proficiency. Being an Open Source evangelist and consultant, this is very weird to be said by one like myself, however, this is my realization &#8211; and I will explain.</p>
<p>In the early days of Open Source adaptations (late 90&#8242;s, early 2000), Open Source software was a somewhat magical solution that meant: pay nothing, get more. Software packages like Linux, Apache, mySQL, PostgreSQL and programming languages like PERL and PHP had lowered the bar on the adaptation of new technologies, and enabled a prolific number of solutions and services.</p>
<p>I still remember the early days, when a Windows based Mail Relay would cost anything between 800$ to 1200$, and I would come in with a Linux based solution that would do the same thing for FREE &#8211; amazing. As time progressed, so did the technology and the penetration of Open Source into new fields. CRM, ERP, Telecoms, management &#8211; all of these now enjoy a diverse number of Open Source solutions. However, the original concept of &#8216;Open Source = Magical FREE Solution&#8217; had still remained in the minds of managers and business people.</p>
<p>Today we are confronted with &#8216;would-be&#8217; Open Source solution experts, which adopt and develop upon Open Source products and project various applications. In example, let&#8217;s take a look at Asterisk. Asterisk has a multitude of Open Source solutions, ranging from PBX system, Prepaid calling cards, Wholesale routing platforms, Attendance system, Presence systems &#8211; and even a plant watering solution. The problem with this ever growing number of solutions is that Asterisk is immediately considered to be: &#8220;A magical solution&#8221; capable of solving any problem &#8211; when it&#8217;s not even remotely related to Asterisk. For example, a friend of mine had been asked to develop an Asterisk based solution, that would support a total of 250 concurrent call initiations and up-to 3000 concurrent calls on the system. Any Asterisk developer would take a look at this, and would immediately say: &#8220;Hmmm&#8230;. this requires several servers, but hey, what about the application itself? that would also have an impact&#8221;. Now, the customer of the project has a &#8216;would-be&#8217; Asterisk tech in his company which said: &#8220;I was able to initiate 200 concurrent SIP invites to Asterisk via SIPP, no problem&#8217; &#8211; HELLO! STUPID! where&#8217;s the application? where&#8217;s the database? where&#8217;s the user information flow? comm&#8217;on, are you listening to yourself speak? or simply are filled with the gasses coming out of your ass that are affecting your brain?</p>
<p>Now, once the customer learns that Asterisk is most probably not the right solution for the problem, he becomes angry. Why? because he now learns that he needs to spend about 10 times more money than he anticipated for the creation of this tool &#8211; well, that&#8217;s life when you have no idea what you are doing/saying, and you believe in magical solutions. However, we &#8211; &#8220;The Open Source Community &#8211; is the one to blame for this scenario, because we got the world accustomed to the idea that Open Source is like magic &#8211; flip the Linux magic wand, and the rest will solve itself.</p>
<p>I&#8217;d like to open the floor for discussion on this, as I believe most of you will have something to say about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2008/07/09/we-are-to-blame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DTMF &#8211; Damned Tone Maker Fuckedup</title>
		<link>http://www.simionovich.com/2007/11/12/dtmf-damned-tone-maker-fuckedup/</link>
		<comments>http://www.simionovich.com/2007/11/12/dtmf-damned-tone-maker-fuckedup/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 23:10:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[technnology]]></category>
		<category><![CDATA[DTMF]]></category>
		<category><![CDATA[INBAND]]></category>
		<category><![CDATA[RFC2833]]></category>
		<category><![CDATA[SIP-INFO]]></category>

		<guid isPermaLink="false">http://www.simionovich.com/?p=13</guid>
		<description><![CDATA[To those of you familiar with the SIP signalling protocol or any other VoIP protocol for all that matter, you are most probably familiar with the issue of traversing DTMF (Dual Tone Multi Frequency) tones correctly over a VoIP link. The main issue is that there is no one standard for doing this. While in]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.simionovich.com%2F2007%2F11%2F12%2Fdtmf-damned-tone-maker-fuckedup%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.simionovich.com%2F2007%2F11%2F12%2Fdtmf-damned-tone-maker-fuckedup%2F&amp;source=nirsimionovich&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>To those of you familiar with the SIP signalling protocol or any other VoIP protocol for all that matter, you are most probably familiar with the issue of traversing DTMF (Dual Tone Multi Frequency) tones correctly over a VoIP link. The main issue is that there is no one standard for doing this. While in the old days of H323, most gateways were utilizing inband signalling (that means sending the tones as part of the media stream), in modern day systems and protocols (such as SIP), most of the time vendor conform to either rfc2833, in-band or SIP-INFO.<span id="more-13"></span></p>
<p>Lets not talk about in-band signalling, as this is not interesting, lets talk about rfc2833 for a second. As the RFC document states (<a href="http://www.faqs.org/rfcs/rfc2833.html">http://www.faqs.org/rfcs/rfc2833.html</a>), rfc2833 is defined as &#8220;RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals&#8221;. Now, while an RFC is a wonderful thing to have, the main issue is that most vendors tend to mess up when dealing with RFC documents. This is why browsers like IE are unable to utilize AJAX or DOM correctly, although the same code will work like a charm on Firefox. Each vendor has its own interpretation of what the RFC means. While most of the basic functionality will be done correctly, room for interpretation causes each vendor to simply create a slight variation of the the standard &#8211; meaning, interoperability may not always work correctly.</p>
<p>Now, you are most probably asking: &#8220;what the hell is he rambling about now? just test what you need and use it!&#8221; &#8211; so I did just that. If you are using Asterisk, and you would like to test a new SIP device for proper DTMF compatibility with Asterisk, you are welcome to use my Asterisk based DTMF tester. The DTMF tester enables you to test each of the DTMF signalling method, all from the comfort of your IP device. Simply follow the below testing procedure and you will be able to determine what is the best DTMF mode for you IP device, to be used with Asterisk:</p>
<ul>
<li><strong>Register your IP device with my DTMF testing server: </strong>
<ul>
<li>SIP Server: venus.greenfieldtech.net</li>
<li>SIP Outbound Server: venus.greenfieldtech.net</li>
<li>Username: dtmftester</li>
<li>Password: dtmftester</li>
<li>Codecs: g711u, g711a, gsm and g729</li>
</ul>
</li>
<li><strong>Once you are registerd, simply dial the following:</strong>
<ul>
<li>Dial 100 for SIP-INFO testing</li>
<li>Dial 101 for INBAND testing</li>
<li>Dial 102 for rfc2833 testing</li>
</ul>
</li>
</ul>
<p>If you had found usage for this DTMF tester, you are welcome to spread the word about it and also tell me what you think. If you believe additional tools are needed, feel free to leave me a note, I always like to write new tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simionovich.com/2007/11/12/dtmf-damned-tone-maker-fuckedup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

