<?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> &#187; Asterisk</title>
	<atom:link href="http://bipinb.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://bipinb.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Aug 2010 02:14:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up chan_ss7 between two Asterisk boxes</title>
		<link>http://bipinb.com/setting-up-chan_ss7-between-two-asterisk-boxes.htm</link>
		<comments>http://bipinb.com/setting-up-chan_ss7-between-two-asterisk-boxes.htm#comments</comments>
		<pubDate>Mon, 09 Aug 2010 17:04:30 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[asterisk ss7]]></category>
		<category><![CDATA[asterisk ss7 lab set up]]></category>
		<category><![CDATA[connecting two asterisk boxes]]></category>
		<category><![CDATA[connecting two digium cards for setting up ss7 network]]></category>
		<category><![CDATA[connneting two asterisk ss7 boxes]]></category>
		<category><![CDATA[Setting up chan_ss7 between two Asterisk boxes]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=239</guid>
		<description><![CDATA[




We can setup a test environment with chan_ss7 on a private SS7 test network, without the need for expensive SS7 test equipment.All we need is two machines 2 E1 cards, either digium/Sangoma and T1/PRI Crossover Cable. A normal call flow for a auto voice call to a mobile will be like as shown below.
Here the [...]]]></description>
			<content:encoded><![CDATA[<!-- Easy AdSense V2.83 -->
<!-- Post[count: 3] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-8516280820391538";
/* 468x60, created 6/14/10 */
google_ad_slot = "2348800126";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p style="text-align: justify;">We can setup a test environment with chan_ss7 on a private SS7 test network, without the need for expensive SS7 test equipment.All we need is two machines 2 E1 cards, either digium/Sangoma and <a onclick="javascript: pageTracker._trackPageview('/outgoing/wikipages/www.chebucto.ns.ca/Chebucto/Technical/Manuals/Max/max6000/gs/cables.htm#17372' );" href="http://www.chebucto.ns.ca/Chebucto/Technical/Manuals/Max/max6000/gs/cables.htm#17372">T1/PRI Crossover Cable.</a> A normal call flow for a auto voice call to a mobile will be like as shown below.</p>
<p style="text-align: justify;"><a href="http://bipinb.com/wp-content/uploads/2010/08/Diagram1.jpeg"><img class="aligncenter size-full wp-image-240" title="Diagram1" src="http://bipinb.com/wp-content/uploads/2010/08/Diagram1.jpeg" alt="" width="427" height="219" /></a>Here the local server will inititate the call to the MSC(Mobile Switching Center), the MSC will route call to the subscriber depending upon the called number.</p>
<p>The E1 or LAN cable pin configuration for setting up the same locally is as below.</p>
<p>1 &lt;&#8212;-&gt; 4<br />
2 &lt;&#8212;-&gt; 5<br />
4 &lt;&#8212;-&gt; 1<br />
5 &lt;&#8212;-&gt; 2</p>
<p style="text-align: justify;">Now compile the drivers in the order dahdi,asterisk,chan_ss7,wanpipe if you are using sangoma card or dahdi,asterisk,chan_ss7 if you are using a digium card.Now make one server as master and other a slave . The master will serve as MSC(<a href="http://en.wikipedia.org/wiki/Mobile_switching_centre_server">Mobile Switching Center)</a> for us and the slave will be our Call initiating machine or the local machine .The configuration files for the Master machine and slave machine is below.Note the local machine OPC(Orgination Point code) will be master machine DPC(Destination Point code) and DPC will be master machines OPC.</p>
<p>Master machine (Which serve as an MSC)<br />
system.conf</p>
<pre>span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16</pre>
<p>ss7.conf</p>
<pre>[linkset-siuc]
enabled =&gt; yes
enable_st =&gt; no
use_connect =&gt; yes
hunting_policy =&gt; even_mru
context =&gt; ss7
language =&gt; da
subservice =&gt; auto</pre>
<pre>[link-l1]
linkset =&gt; siuc
channels =&gt; 1-15,17-31
schannel =&gt; 16
firstcic =&gt; 1
enabled =&gt; yes</pre>
<pre>[link-l2]
linkset =&gt; siuc
channels =&gt; 1-15,17-31
schannel =&gt; 16
firstcic =&gt; 1
enabled =&gt; yes</pre>
<pre>[host-test-server1]
enabled =&gt; yes
opc =&gt; 0x1
dpc =&gt; siuc:0x2
links =&gt; l1:1

[host-test-server2]
enabled =&gt; yes
opc =&gt; 0x2
dpc =&gt; siuc:0x1
links =&gt; l2:1</pre>
<p>Slave machine configuration(Which serve as a call Initiation server)<br />
system.conf</p>
<pre>span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16</pre>
<p>ss7.conf</p>
<pre>[linkset-siuc]
enabled =&gt; yes
enable_st =&gt; no
use_connect =&gt; yes
hunting_policy =&gt; even_mru
context =&gt; ss7
language =&gt; da
subservice =&gt; auto</pre>
<pre>[link-l1]
linkset =&gt; siuc
channels =&gt; 1-15,17-31
schannel =&gt; 16
firstcic =&gt; 1
enabled =&gt; yes</pre>
<pre>[link-l2]
linkset =&gt; siuc
channels =&gt; 1-15,17-31
schannel =&gt; 16
firstcic =&gt; 1
enabled =&gt; yes</pre>
<pre>[host-test-server1]
enabled =&gt; yes
opc =&gt; 0x1
dpc =&gt; siuc:0x2</pre>
<pre>links =&gt; l1:1</pre>
<pre style="text-align: justify;">[host-test-server2]
enabled =&gt; yes
opc =&gt; 0x2
dpc =&gt; siuc:0x1
links =&gt; l2:1</pre>
<p style="text-align: justify;">Start asterisk on both machines you can see  GROUP RESET message coming and making the signaling link (16th time slot) INSERVICE and circuit idle.Configure a soft phone(Will act as a mobile for us).Make a callfile which initiate calls to the MSC from the localserver and we can see call terminating on the softphone.</p>
<p>The Master machine extensions.conf file should be like this.</p>
<pre>[ss7]
exten =&gt; _X.,1,Dial(SIP/${EXTEN})</pre>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/setting-up-chan_ss7-between-two-asterisk-boxes.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with Adhearsion</title>
		<link>http://bipinb.com/playing-with-adhearsion.htm</link>
		<comments>http://bipinb.com/playing-with-adhearsion.htm#comments</comments>
		<pubDate>Mon, 07 Jun 2010 12:39:04 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Adhearsion]]></category>
		<category><![CDATA[Asterisk frame work]]></category>
		<category><![CDATA[installing adhearsion]]></category>
		<category><![CDATA[ruby asterisk]]></category>
		<category><![CDATA[ruby asterisk framework]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=227</guid>
		<description><![CDATA[
Fed up with using dialplans and AGI scripting in Asterisk? Here is a nice frame work called Adhearsion which is an licensed under open source (LGPL) that is designed to improve Asterisk solution development. It rests above an Asterisk system, handling parts or all of the dialplan and, in a few unique ways, manages access [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://bipinb.com/wp-content/uploads/2010/06/adhearsion12.jpg"><img class="aligncenter size-medium wp-image-228" title="adhearsion1" src="http://bipinb.com/wp-content/uploads/2010/06/adhearsion12-300x65.jpg" alt="" width="300" height="65" /></a></p>
<p style="text-align: justify;">Fed up with using dialplans and AGI scripting in Asterisk? Here is a nice frame work called Adhearsion which is an licensed under open source (LGPL) that is designed to improve Asterisk solution development. It rests above an Asterisk system, handling parts or all of the dialplan and, in a few unique ways, manages access to Asterisk with several improved interfaces.it runs as a separate daemon process and integrates through the already-present Gateway (AGI) and Manager (AMI) interfaces, configuring a context to use Adhearsion is as simple as adding a few lines to your dialplan or adding a user to manager.conf.</p>
<p>Object-oriented Ruby programming language is the core part of Adhearsion.</p>
<p>Installing Adhearsion</p>
<p>Im assuming that your system is intalled with gem,ruby and rails.if not installed it first then</p>
<pre>sudo apt-get install ruby</pre>
<pre>sudo apt-get install rails</pre>
<pre>sudo apt-get install rubygems</pre>
<pre>then install adhersion</pre>
<pre>gem install adhearsion</pre>
<p>Adhearsion will be installed then check ahn command is there if not find the installation path and add the path in bashrc file</p>
<pre>export PATH=$PATH:/var/lib/gems/1.8/bin</pre>
<p>Starting New Adhearsion Project</p>
<p>ahn create</p>
<p>will create the files</p>
<ul>
<li><strong>components</strong></li>
<li><strong>config</strong></li>
<li><strong>dialplan.rb </strong></li>
<li><strong> events.rb </strong></li>
<li><strong>log </strong></li>
<li><strong> Rakefile</strong></li>
<li><strong>README</strong></li>
</ul>
<p>Here dialplan.rb is the dialplan or programming part.</p>
<p>Config folder is the configuration part(Manger conffiguration,database connection etc)</p>
<p>Wirting first app</p>
<p>open dialplan.rb,copy paste the code.</p>
<pre>sample {
play "hello-world"
}</pre>
<p>Here sample is the context name that should be defined in the extensions.conf.Enable manger.conf add username and password in /etc/asterisk. Add the same in startup.rb in the config folder.Sample extension.conf will be like this</p>
<pre>[sample]
exten =&gt; 123,1,AGI(agi://127.0.0.1)</pre>
<p>start adhearsion: Enter into project folder then</p>
<pre>ahn start &lt;projectname&gt;</pre>
<p>Configure a SIP phone and make call to 123 extension we can see adhearsion answering the call. Have fun ..:)</p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/playing-with-adhearsion.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBTS : An Opensource Telephone Network</title>
		<link>http://bipinb.com/openbts-an-opensource-telephone-network.htm</link>
		<comments>http://bipinb.com/openbts-an-opensource-telephone-network.htm#comments</comments>
		<pubDate>Tue, 02 Feb 2010 11:42:58 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[gnuradio]]></category>
		<category><![CDATA[Open source BTS]]></category>
		<category><![CDATA[OpenBTS]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=178</guid>
		<description><![CDATA[ 
Telecom industry is one of the rapid growing industry all over the world. The entrance of open-source team into the telcom industry  made a revolutionized change  in the industry. Asterisk was a typical example for it which was a featured PBX for home users, enterprises, VoIP service providers and telecoms in such a low [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --> <!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom: 0cm;">Telecom industry is one of the rapid growing industry all over the world. The entrance of open-source team into the telcom industry  made a revolutionized change  in the industry.<a href="www.asterisk.org" target="_blank"> Asterisk</a> was a typical example for it which was a featured PBX for home users, enterprises, VoIP service providers and telecoms in such a low cost that anyone even imagined.Asterisk is  both an Open Source Community and a commercial product from Digium.</p>
<p style="margin-bottom: 0cm;">Now again another open source coming which  allows standard GSM-compatible mobile phones to make telephone calls without using existing telecommunication providers&#8217; networks.ie we can build up our own network just like vodafone,airtel or any.The project was started by Harvind Samra<sup id="cite_ref-0"><a href="http://en.wikipedia.org/wiki/OpenBTS#cite_note-0"></a></sup> and David A. Burgess and named it as OpenBTS.. OpenBTS is notable for being the first free software implementation of the industry-standard GSM protocol stack.Thanks to them for making it possible.:)</p>
<p style="margin-bottom: 0cm;">A normal GSM network working is as follows.The end point of the system will be BTS (Base Transceiver Station) which send radio frequency singal to and from mobile devices or a modem.The BTScomes under BSC(Base station Controller) with makes the communication between there radio signals with  MSC/VLR.The MSC/VLR is responsible to authenticate the user against the database (HLR &#8211; Home Location Register, AuC -Authentication Center), call setup and call routing.A typical GSM network diagram is shown below.</p>
<p style="margin-bottom: 0cm; text-align: left;"><img class="aligncenter size-full wp-image-187" title="Screenshot-1" src="http://bipinb.com/wp-content/uploads/2010/01/Screenshot-12.jpeg" alt="Screenshot-1" width="613" height="174" /></p>
<p style="margin-bottom: 0cm; text-align: left;">The OpenBTS  replaces the entire setup with USRP(Universal Software Radio Peripheral), and a computer as hardware.USRP  to receive and transmit the GSM signaling(GNURadio is the driver software for this),OpenBTS package play the role of MSC/VLR and Asterisk software PBX will be used to connect calls.The below diagram shows a typical openBTS network.</p>
<p style="margin-bottom: 0cm; text-align: center;"><img class="aligncenter size-full wp-image-189" title="Screenshot" src="http://bipinb.com/wp-content/uploads/2010/02/Screenshot.jpeg" alt="Screenshot" width="620" height="169" /></p>
<p style="margin-bottom: 0cm; text-align: left;">Potential applications include:</p>
<ul>
<li>rural/village telephony and text messaging</li>
<li>cellular coverage in remote areas (e.g. ships, oil rigs)</li>
<li>law enforcement and security operations</li>
<li>rapidly deployable emergency communications</li>
<li>network emulation and handset testing.</li>
</ul>
<p>To know more click <a href="http://openbts.sourceforge.net/" target="_blank">here.</a></p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;">
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/openbts-an-opensource-telephone-network.htm/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>YAML parser kit &#8212; PHP5 bindings</title>
		<link>http://bipinb.com/yaml-parser-kit-php5-bindings.htm</link>
		<comments>http://bipinb.com/yaml-parser-kit-php5-bindings.htm#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:24:01 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=130</guid>
		<description><![CDATA[YAML(tm) (rhymes with &#8216;camel&#8217;) is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as PHP, Perl and Python. YAML is optimized for data serialization,formatted dumping, configuration files, log files, Internet messaging and filtering. This specification describes the YAML information model and serialization format. PHP library packege [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">YAML(tm) (rhymes with &#8216;camel&#8217;) is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as PHP, Perl and Python. YAML is optimized for data serialization,formatted dumping, configuration files, log files, Internet messaging and filtering. This specification describes the YAML information model and serialization format. PHP library packege php5-sync here parses YAML strings and converts them to PHP arrays. It can also converts PHP arrays to YAML strings.</p>
<p>Installing PHP binding of yaml</p>
<pre style="text-align: justify;">sudo apt-get install php5-sysc</pre>
<p style="text-align: justify;">Now you are ready to use YAML.</p>
<p>It&#8217;s tempting to think of YAML as being similar to XML, but in reality it&#8217;s not. Unlike XML, YAML doesn&#8217;t use elements and attributes to mark up data; rather, indentation is used to denote nested relationships, and punctuation elements like dashes (-) and colons (:) are used to mark lists and hashes of data items. To illustrate, consider the following simple YAML document, which sets up a hash containing five key-value pairs:<br />
example of yaml file.</p>
<pre>name : John Doe
tel  : 123-4567
fax  : 987-6543
email:
- john@domain.com
- jdoe@domain.com</pre>
<p>Using yaml in php</p>
<p>Save the above example as sample.yaml</p>
<pre>&lt;?php
// get YAML data
$yaml = file_get_contents('sample.yaml');

// convert to PHP data structure and print
$data = syck_load($yaml);
print_r($data);
?&gt;</pre>
<p>will print the yaml in array format in the program</p>
<p>The reverse process will be like this.</p>
<pre>&lt;?php
// define PHP array
$data = array (
    'droids' =
array('r2d2', 'c3po'),
'heroes' =&gt;
array(
'one' =&gt; array('luke', 'leia'),
'two' =&gt; array('han', 'chewbacca'))
);

// convert to YAML and print
$yaml = syck_dump($data);
echo $yaml;
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/yaml-parser-kit-php5-bindings.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Play youtube on chrome : Linux</title>
		<link>http://bipinb.com/play-youtube-on-chrome-linux.htm</link>
		<comments>http://bipinb.com/play-youtube-on-chrome-linux.htm#comments</comments>
		<pubDate>Sun, 23 Aug 2009 06:27:50 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Play youtube on chrome : Linux.]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=111</guid>
		<description><![CDATA[
Few days back i installed the debian version of chrome in my laptop seems to be very fast than any other browser.Fased an issue like unable to play youtube videos on the browser got a message like
&#8220;Hello, you either have JavaScript turned off or an old version of Macromedia&#8217;s Flash Player. Get the latest Flash [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-112" title="Chorme" src="http://bipinb.com/wp-content/uploads/2009/08/screenshot.jpeg" alt="Chorme" width="633" height="459" /></p>
<p>Few days back i installed the debian version of <a href="http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb" target="_blank">chrome</a> in my laptop seems to be very fast than any other browser.Fased an issue like unable to play youtube videos on the browser got a message like</p>
<h3>&#8220;Hello, you either have JavaScript turned off or an old version of Macromedia&#8217;s Flash Player. Get the latest Flash player.&#8221;</h3>
<p>Solution :</p>
<p>The chrome is not idetifying the  the path of flash player or the flash player is not installed. If not installed please install it first and if it is installed already enter into the default path of chorme installation ie /opt/google/chrome<br />
find the location of flash module</p>
<pre>sudo find / -name  libflashplayer.so</pre>
<p>Give a softlink to the chrome folder .ie if you are in the chrome folder it will be like</p>
<pre>sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so .</pre>
<p>Start the bowser with &#8211;enable-plugins to turn on the plugin.</p>
<p>Enjoy youtubing&#8230;..:)</p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/play-youtube-on-chrome-linux.htm/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Load Balancing Asterisk Servers</title>
		<link>http://bipinb.com/load-balancing-asterisk-servers.htm</link>
		<comments>http://bipinb.com/load-balancing-asterisk-servers.htm#comments</comments>
		<pubDate>Fri, 17 Apr 2009 13:01:57 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Asterisk Tuning]]></category>
		<category><![CDATA[Load Balancing Asterisk Servers]]></category>
		<category><![CDATA[Optimizing Asterisk servers.]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=99</guid>
		<description><![CDATA[
Some of  common question among the asterisk users  are.

What is the minimum hardware to setup asterisk ?
How many simultaneous call can asterisk machine can handle?
How many E1s can be plugged to a single machine?
Which is the best server for call making?
How an asterisk machine can be tuned?

Lets start to Discuss from one by one.
Minimum Hardware [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bipinb.com/wp-content/uploads/2009/04/high-server-load-wordpress.jpg" alt="high-server-load-wordpress.jpg" /></p>
<p>Some of  common question among the asterisk users  are.</p>
<ul>
<li>What is the minimum hardware to setup asterisk ?</li>
<li>How many simultaneous call can asterisk machine can handle?</li>
<li>How many E1s can be plugged to a single machine?</li>
<li>Which is the best server for call making?</li>
<li>How an asterisk machine can be tuned?</li>
</ul>
<p>Lets start to Discuss from one by one.</p>
<p><strong>Minimum Hardware to setup Asterisk</strong></p>
<p>The answer is simple.All we need is a normal PC installed with any of the Linux flavour in it and a lan card  if we are trying to make SIP calls only.Not a single extra hard ware required.</p>
<p>How to make asterisk sip calls, i have mentioned in my previous posts.</p>
<p><strong>Simultaneous call can asterisk machine can handle / Max E1s</strong></p>
<p><strong>Asterisk 1.2</strong> start to run into problems around 220 concurrent SIP calls. <strong>Asterisk 1.4</strong> scales much better and can handle nearly double the call setups/second as well as total concurrent traffic with a hard ware of dual core processor with 4GB RAM</p>
<p>Digium  claims asterisk can  handle up to<strong> 240 calls</strong> simultaneous in both SIP/ Zap channels.I have experience of setting of server for outdialing application which can make 240 simultaneous calls at a time, ie with 2 quad span card connected to<strong> 8 PRI lines</strong>.</p>
<p>Hardware configiration is :</p>
<p>Server : IBM System x3400</p>
<p>Card : Digium TE420P</p>
<p>RAM : 4GB</p>
<p>Processor : <span class="small">Dual-Core <a href="http:///" onclick="JavaScript:win=window.open('http://syndication.intel.com/DistributeModule.aspx?ppc_cid=WTM_00799067501','00799067501','resizable=1,sc rollbars=0,width=340,height=150');win.focus();return false">Intel</a> Xeon Processor</span></p>
<p><strong>Best server for call making</strong></p>
<p>I have tried IBM System x3400, HP Proliant 110 G4 ,   IBM System x3200 for our IVR and outdialing application which handles minimum of 120 calls at a time and its running smooth without any issues.</p>
<p><strong>Tuning asterisk Machine </strong></p>
<p>The best practice to make your asterisk sever to get it maximum performance are</p>
<p><em>Try to implement almost every logic in dailplan itself.</em></p>
<p>Dial Plans are just like shell script, we can implement almost all our logic with it.Go forAGI if and only if we are 100% sure that i cant be done with dail plan only.The communication between the AGI scripts and Asterisk was via standard input and standard output writing and reading cause a large memory and CPU usage.</p>
<p><em>Tur</em><em>n off Log files. </em></p>
<p>Asterisk uses a too many log files while running.Logs files are good when used for debugging but once we got a stable asterisk running you can turn it off or make log rotate to empty log file once in a week.This will make huge difference in the load in the machine.</p>
<p>Can tun off the logging by editing /etc/asterisk/asterisk.conf also.</p>
<p><em>Tune mysql to its best</em></p>
<p>If we are using MySQL as our DB in the<a href="http://www.voip-info.org/wiki-Asterisk+AGI"> AGI</a> scripts tuning will give us better performance. It can be done  indexing in tables,increasing concurrent connection parameter, threading parameter in the my.cnf file</p>
<p><em>Use FastAGI</em></p>
<p>Implements the Asterisk Gateway Interface (<a href="http://www.voip-info.org/wiki/view/Asterisk+AGI" title="Asterisk AGI">AGI</a>) over TCP sockets. This can help alleviate CPU load on your telephony server by relocating resource hungry scripts to another networked server. In order to instruct Asterisk to attempt a network connection, you must supply the hostname or IP address of the server where your FastAGI service is hosted and preface it with <em>agi://</em>:</p>
<p>Those having similar experience  can share their questions and experiences here&#8230;.:)</p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/load-balancing-asterisk-servers.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BarCamp Kerala-2009</title>
		<link>http://bipinb.com/barcamp-kerala.htm</link>
		<comments>http://bipinb.com/barcamp-kerala.htm#comments</comments>
		<pubDate>Mon, 13 Apr 2009 14:38:45 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=98</guid>
		<description><![CDATA[
BarCamp Kerala is an ad-hoc gathering rooted in the desire to share and learn in an open &#38; friendly environment. It is an intense yet cool, event with discussions, demos, and strong interactions. The 5th edition of BarCamp Kerala (BCK5), is scheduled to be on May 3rd, 2009, Sunday at TechnoPark, Thiruvananthapuram.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.barcampkerala.org/" target="_blank"><img src="http://bipinb.com/wp-content/uploads/2009/04/bck5green250.png" alt="bck5green250.png" /></a><br />
BarCamp Kerala is an ad-hoc gathering rooted in the desire to share and learn in an open &amp; friendly environment. It is an intense <em>yet cool</em>, event with discussions, demos, and strong interactions. The 5th edition of BarCamp Kerala (BCK5), is scheduled to be on <strong>May 3rd, 2009, Sunday at TechnoPark, Thiruvananthapuram.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/barcamp-kerala.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asterisk noise issue</title>
		<link>http://bipinb.com/asterisk-noice-issue.htm</link>
		<comments>http://bipinb.com/asterisk-noice-issue.htm#comments</comments>
		<pubDate>Thu, 01 Jan 2009 10:38:23 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Asterisk noise issue]]></category>
		<category><![CDATA[Asterisk sound issue]]></category>
		<category><![CDATA[Asterisk sound quality]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=94</guid>
		<description><![CDATA[A few weeks back  i faced a strange issue when installed asterisk in a server which uses ss7 line signalling.The issue was with the sound quality when making calls.Spoiled my two days with the issue and finally it got sloved. Here i am sharing my experience, hope it might be helpful for you guys.
Normally the [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks back  i faced a strange issue when installed asterisk in a server which uses<strong> ss7 </strong>line signalling.The issue was with the sound quality when making calls.Spoiled my two days with the issue and finally it got sloved. Here i am sharing my experience, hope it might be helpful for you guys.</p>
<p>Normally the noise issue can occur due to the following reason.</p>
<ul>
<li>Hardware issue ( With Server / The card)</li>
<li>Codec Problem.</li>
<li>IRQ Sharing.</li>
<li>CPU load issue.</li>
</ul>
<p><strong>The Hardware issue</strong></p>
<p>Please make sure that your server configuration is matching with what recommended by the digium. Please follow the link to choose your server.</p>
<p><a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+hardware+recommendations" target="_blank">http://www.voip-info.org/wiki/index.php?page=Asterisk+hardware+recommendations</a></p>
<p>If the server configuration is ok you can now double check the card, some time the card can also cause noice issue.Replace a the card and try again. Some card may have echo cancellation facility make sure that it is also enabled in the asterisk part also.</p>
<p><strong>Codec Problem</strong></p>
<p>A <strong>codec</strong> is a device or computer program capable of encoding and/or decoding a digital data stream or <span class="mw-redirect">signal</span> .Asterisk support different kinds of codes like gsm,wav,ulaw,alaw etc.The codec mostly used in gsm network is the gsm.Normally the MSC will convert any format to gsm format before transmitting to the mobile.If there you get a disturbed sound while making calls with a gsm format file try with wav format which is having a better sound quality than gsm.Please note to change the sound frequency that should be understood by asterisk (Asterisk normally understand sound in 8KHz ).</p>
<p>You can use <a href="http://sox.sourceforge.net/" target="_blank">sox</a> for the sound conversion.</p>
<p>Example below converts a wav file to a file  with frequency 8KHz supported by asterisk.</p>
<pre><span class="nfakPe">sox</span> file.wav -r 8000 -c 1 -s -w file1.wav resample -ql</pre>
<p><strong>IRQ Sharing</strong></p>
<p>An <strong>interrupt</strong> is a method by which a piece of hardware communicates with the processor. It&#8217;s called an interrupt, because the device (such as a network card) interrupts the computer to carry out a function such as I received information, do something with it, or i&#8217;m ready with this task, give me a new one.</p>
<p>If  E1 card is sharing the IRQ with I/O devices the sound quality issue can occur  .We can check the interrupt status by using the command.</p>
<p>cat /proc/interrupts</p>
<p>If the any other resources is sharing the IRQ with the E1 card we can try options like putting up the card in another slot or can go to BIOS and can disable the interrupt sharing devices.</p>
<p><strong>CPU load issue</strong></p>
<p>The CUP load issue can be occured by many reason like MYSQL load, the  AGI programs load etc.We can see which process is consuming more memory-CPU by using the top command and can try to optimise it. Asterisk communicates with the AGI program over     <code class="filename">stdin</code> and <code class="filename">stdout</code>. The arguments     are passed directly to the AGI program at execution time.As AGI use  stdin and stdout reading and writing it will definitely affect the performance of the system.Better to implement almost all things in the dial plan itself. if your are 100% sure it can&#8217;t be done  with dial plan then move to AGI script.<code class="filename"> </code></p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/asterisk-noice-issue.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AsteriskNOW -Asterisk for normal users.</title>
		<link>http://bipinb.com/asterisknow-asterisk-for-normal-users.htm</link>
		<comments>http://bipinb.com/asterisknow-asterisk-for-normal-users.htm#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:49:57 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[AsreiskNOW]]></category>
		<category><![CDATA[DAHDI]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=92</guid>
		<description><![CDATA[ 
Worried about installing the packages of asterisk??? .Fed up with the dependencies asking while installing the asterisk packages????  .AsteriskNOW is a solution for those who is not at all good in linux or dont have time for searching the dependencies.AsteriskNOW is an open source Software Appliance; a customized Linux distribution that includes Asterisk [...]]]></description>
			<content:encoded><![CDATA[<p> <img src="http://bipinb.com/wp-content/uploads/2008/12/asterisknow-logo-sm.gif" alt="asterisknow-logo-sm.gif" /></p>
<p>Worried about installing the packages of asterisk??? .Fed up with the dependencies asking while installing the asterisk packages????  .AsteriskNOW is a solution for those who is not at all good in linux or dont have time for searching the dependencies.AsteriskNOW is an open source Software Appliance; a customized Linux distribution that includes <a href="http://www.asterisk.org/" target="_blank">Asterisk</a> (the leading open source telephony engine and tool kit), the AsteriskGUI™, and all other software needed for an Asterisk system. AsteriskNOW is easy to install, and offers flexibility, functionality and features not available in advanced, high-cost proprietary business systems.</p>
<p>Any one who know to install linux OS can use asteriskNOW like installing a  normal linux OS. AsteriskNOW can be called as  Asterisk+Zaptel+Libpri installed in a CentOS.The user need or have to worry about installing these package separately and the dependency issue caused during the installation.</p>
<p>Due to some trademark issue the Digium  renamed the Zaptel project as DAHDI.The configuration is almost same as like Zaptel.</p>
<p>Details should be available at <a href="http://www.asterisk.org/zaptel-to-dahdi" onclick="javascript: pageTracker._trackPageview('/outgoing/wikipages/www.asterisk.org/zaptel-to-dahdi' );" class="external">http://www.asterisk.org/zaptel-to-dahdi</a></p>
<h2 id="ConfigurationFiles"> Configuration Files</h2>
<p>/etc/zaptel.conf Becomes /etc/dahdi/<a href="http://www.voip-info.org/wiki/view/system.conf" title="system.conf">system.conf</a><br />
/etc/asterisk/zapata.conf Becomes /etc/asterisk/<a href="http://www.voip-info.org/wiki/view/chan_dahdi.conf" title="chan_dahdi.conf">chan_dahdi.conf</a></p>
<h2 id="ConfigurationFiles"> Channel Name</h2>
<p>Chennel &#8220;Zap&#8221; replaces as  &#8220;DAHDI&#8221;</p>
<p>eg: For Zap       :    Zap/g2/984XXXXXXX</p>
<p>eg: For DAHDI  :    DAHDI/g2/984XXXXXXX</p>
<p>The CDR will be configured automatically, if you want cdr-mysql, you need to unstall mysql addon.You can search with it with &#8216;yum search cdr-addon&#8217; and for installing can use   &#8216;yum install cdr-addon&#8217;.</p>
<p>Asterisk can be started by using the command <span class="postbody">&#8216;amportal </span><span class="postbody"></span>start&#8217; .</p>
<p>We can also use  <span class="postbody">&#8216;amportal stop&#8217; or </span><span class="postbody">&#8216;amportal restart&#8217; if asterisk is running already.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/asterisknow-asterisk-for-normal-users.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My experience in Open Source Asterisk Platform</title>
		<link>http://bipinb.com/my-experience-in-open-source-asterisk-platform.htm</link>
		<comments>http://bipinb.com/my-experience-in-open-source-asterisk-platform.htm#comments</comments>
		<pubDate>Sat, 11 Oct 2008 17:30:53 +0000</pubDate>
		<dc:creator>Bipin Balakrishnan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[55555]]></category>
		<category><![CDATA[55555 IVR]]></category>
		<category><![CDATA[Best offer IVR]]></category>
		<category><![CDATA[Intelligent IVR]]></category>
		<category><![CDATA[IVR]]></category>
		<category><![CDATA[Mobme]]></category>
		<category><![CDATA[PBX]]></category>
		<category><![CDATA[PRI]]></category>
		<category><![CDATA[SNGIST]]></category>
		<category><![CDATA[ss7]]></category>
		<category><![CDATA[Torque]]></category>
		<category><![CDATA[Vodafone Kerala]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://bipinb.com/?p=89</guid>
		<description><![CDATA[
The story begins an year ago.
I was doing my Fifth Semester MCA at SNGIST College, Cochin,India. There was a main project to be done as a part of the course during this semester.  We had just finished our mini project (which happens just before the main project) the previous semester.  As the mini project didnt go the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bipinb.com/wp-content/uploads/2008/10/200px-asterisk_logosvg.png" alt="200px-asterisk_logosvg.png" /><br />
The story begins an year ago.</p>
<p>I was doing my Fifth Semester MCA at <a href="http://sngist.org/">SNGIST</a> College, Cochin,India. There was a main project to be done as a part of the course during this semester.  We had just finished our mini project (which happens just before the main project) the previous semester.  As the mini project didnt go the way I anticipated, I was breaking my head for the subject of this main project.</p>
<p>So many questions came to my mind, like the platform, learning the technology to be used, how to make it successful, etc, as this was  important in deciding a career.  Moreover there was the pressure as i thought it is the final semester project which decides our future career.</p>
<p>At this point of time, I got a call from a friend of mine, who told me about an opening in Telephony domain in <a href="http://technopark.org/torque.htm">Torque Technology Solution</a> (Now named as <a href="http://mobme.in">MObME</a>) at <a href="www.technopark.org">Technopark</a>, TVM,India. He was working as a web developer   in that company.  This struck me with the idea of doing a Telephony project.  My thought went this way, if I happen go get a chance to do my project work in this company along with the job, I could very well venture into a career in Telephony domain. Moreover I have done my degree in Electronics and had some experince in telephony domain, earned by doing  an academic project in <a href="http://en.wikipedia.org/wiki/Private_branch_exchange">EBAPX</a> during the final semester. I decided to apply for that job.</p>
<p>Later I was interviewed and they found me fit for that position.  More over, they agreed that I may do my project work there. Thus, on April 2007, I became an employee of Torque.</p>
<p>Until that time, i haven&#8217;t heard anybody  doing a project in this domain in the academic project , So there were lots of questions in my mind when I started; whether it would be accepted by the college, what is the future with this technology, will I be able to make a career out of it,etc.</p>
<p>But there were my colleagues in Torque for help. They were really passionate about this technology even though they didnt work on it a lot. They were my inspiration.  I started learning it with the support of <a href="http://www.iamatechie.com/">Mr Sanil</a> and <a href="http://www.kenneyjacob.com/">Mr Kenny jecob</a> who were the co-founders of the company.They taught me how to dig in to a technology and what are the tips for it. I managed to do my academic main project on asterisk in a short period of time which gave me lot of confidence and energy to learn and try more.</p>
<p>I started my experiments with dial Plans, followed by AGI.  During that time Hutchison Kerala, India came up with a project for developing a customer care application called 55555 IVR.  I was given this assignment and the application was intended to enable the subscribers hear various offers available to them by calling a toll free number 55555.  This project was successfully completed  with in a short time.We used <a href="http://en.wikipedia.org/wiki/Primary_rate_interface">PRI</a> connectivity provided by the service Provider to implement this.As it was simple branching, I used only <a href="http://www.voip-info.org/wiki-Asterisk+howto+dial+plan">dialplan</a>.Moreover  i was not having  deep understanding of <a href="http://www.asteriskatoffice.com/asterisk/services/asterisk-agi-scripting">AGI</a> at that time.</p>
<p>Along with that assignment, I also worked for developing a web application for making calls to the gsm network for hutchison Kerala,India with the support of Mr Sanil.  Meanwhile Hutchison was taken over by Vodafone in India. My next assignment was to make the normal 55555 to a best offer IVR.The best Offer IVR announces the best Offer to the Customers depending on the validity and talktime available as well as the static offers. Now it has changed to three layers , the first layer consists of the dynamic offers depending on the previous recharge, the second layer consists of the dynamic offers depending on validity and talktime and third layer consists of various static offers. This project was completed successfully and now vodafone Kerala is using the<a href="http://en.wikipedia.org/wiki/Interactive_voice_response"> IVR</a> application as well as the outbound call application developed in Asterisk Platform.  We uses both <a href="http://en.wikipedia.org/wiki/Signaling_System_7">ss7 </a>and PRI connectivity for implenting this.<br />
I have also done other projects on making on VoIP calls, Call Conference,Making Software as well as Hard ware PBX using the Asterisk platform.</p>
<p>More coming in the next posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://bipinb.com/my-experience-in-open-source-asterisk-platform.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
