<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Syed Umair hashmi&#039;s Blog</title>
	<atom:link href="http://umairhashmi.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://umairhashmi.net</link>
	<description>My Experiences</description>
	<lastBuildDate>Tue, 15 Nov 2011 08:30:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='umairhashmi.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4b184364ad5334a9770d0bac3dd156cc?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Syed Umair hashmi&#039;s Blog</title>
		<link>http://umairhashmi.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://umairhashmi.net/osd.xml" title="Syed Umair hashmi&#039;s Blog" />
	<atom:link rel='hub' href='http://umairhashmi.net/?pushpress=hub'/>
		<item>
		<title>vSwitchPro&#8211;Class 4 wholesale softswitch</title>
		<link>http://umairhashmi.net/2011/11/15/vswitchproclass-4-wholesale-softswitch-4/</link>
		<comments>http://umairhashmi.net/2011/11/15/vswitchproclass-4-wholesale-softswitch-4/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 08:27:32 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Softswitches]]></category>
		<category><![CDATA[VoipSwitch]]></category>
		<category><![CDATA[vSwitch]]></category>
		<category><![CDATA[vSwitchPro]]></category>

		<guid isPermaLink="false">https://umairhashmi.wordpress.com/2011/11/15/vswitchproclass-4-wholesale-softswitch-4/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vSwitchPro – Introduction: When DTMF Networks wanted to expand its Voice Network they went out to look for a solution that is reliable, scalable and suits the needs of complex business scenarios like prepay monitoring, automated blocking, alert system etc. But current offerings does not have all those required features and those who have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=64&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://www.vswitch.cc/vswitchpro.html" target="_blank"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://umairhashmi.files.wordpress.com/2011/11/image.png?w=124&#038;h=31" width="124" height="31" /></a><br />
<blockquote>
<h3><u>vSwitchPro – Introduction:</u></h3>
<p>When <font color="#ffffff">DTMF Networks</font> wanted to expand its Voice Network they went out to look for a solution that is reliable, scalable and suits the needs of complex business scenarios like prepay monitoring, automated blocking, alert system etc. But current offerings does not have all those required features and those who have these features are very expensive, so DTMF Networks decided to build its own solution for the expansion. </p>
<p>Engineers from DTMF Networks spent 6 months on the white board in nailing down the required feature set, UI and UX was the priority for DTMF Networks, so the design team had to work very hard to make this complex system easier to manage.</p>
<p>Current Salient feature set of <font color="#ffc000">vSwitchPro</font>:      </p>
<ul>
<li><font color="#ffc000">One Box Solution, capable of handling 5000 SIP session per node </font></li>
<li><font color="#ffc000">Automated Prepaid blocking</font> </li>
<li><font color="#ffc000">CRM Panel</font> </li>
<li><font color="#ffc000">RTP Proxy support</font> </li>
<li><font color="#ffc000">Advanced routing management</font> </li>
<li><font color="#ffc000">Detailed CDR reports for effective monitoring includes QoS/NER/Engineering Reports</font> </li>
<li><font color="#ffc000">Alarm Provisioning</font> </li>
<li><font color="#ffc000">Role based access</font></li>
</ul>
<p><font color="#ffffff"><font color="#ffff00"><font color="#ffc000">5000 Session per no</font></font><font color="#ffc000">de</font>: to achieve this DTMF Networks opted for Sofia SIP Engine (an open source SIP Engine used in FreeSwitch) But of coarse a lot of modification ahs been done to made that SIP stack so efficient so that it can handle upto 5000 sessions with 200 CPS</font></p>
<p><font color="#ffffff"><font color="#ffc000">Automated Prepaid Blocking</font>: This feature was absent in class 4 softswitches and it was a must have feature for small/medium size voip operators, so DTMF Networks decided to incorporate automated prepaid blocking system in vSwitchPro so the operators can feel confident on the system and without having to worry about losses due to excess usages.</font></p>
<p><font color="#ffffff"><font color="#ffc000">CRM Panel</font>: Again a missed feature in class 4 softswitches, but customers of operators always want to know their balance, usage, payment history, CDRs so it was added. Now operators do not need to worry about above mentioned enquiries.</font></p>
<p><font color="#ffffff"><font color="#ffc000">RTP Proxy:</font> RTP Proxy was made optional for the operators, so those who need this feature can enable it</font></p>
<p><font color="#ffffff"><font color="#ffc000">Routing Management:</font> Having experience of different softswitches DTMF Networks designed a simple interface for complex routing like Time of Day (TOD), Pool based routing, Source based, DNIS based routing. All those required features was added in the system to enhance the productivity of the operators.</font></p>
<p><font color="#ffffff"><font color="#ffc000">CDR Reports:</font> vSwitchPro have 3 level of CDRs, starting from collective calls to one call. it classifies calls in four categories:        <br />- Abandoned        <br />-Busy        <br />-Error        <br />-Normal        </p>
<p><font color="#ffc000">Alarm Provisioning:</font> Quality is very critical in VoIP Business and no one knows better it than DTMF Networks. so we have implemented Alarms in switch. it generates alarm (Email) for system issues, Route issues, Low Balance, Voice Quality Degradation, ASR, ACD, PDD</font></p>
<p><font color="#ffffff"><font color="#ffc000">Role Based Access:</font> Again a must have feature to make the system secure, now operators can assign roles to their system user. For example a NOC user cannot add balance in customer or a commercial guy cannot add the endpoint.</font></p>
<p><font color="#ffffff"></font>&#160;</p>
<p><font color="#ffffff">You Can download vSwitchPro from: <a title="http://www.vswitch.cc/Docs/vSwitchPro-package.zip" href="http://www.vswitch.cc/Docs/vSwitchPro-package.zip">http://www.vswitch.cc/Docs/vSwitchPro-package.zip</a>&#160;</font></p>
<p><font color="#ffffff">User and Installation manuals are also available at : <a title="http://www.vswitch.cc/vSwitchPro_user_manual.html" href="http://www.vswitch.cc/vSwitchPro_user_manual.html">http://www.vswitch.cc/vSwitchPro_user_manual.html</a></font></p>
<p><font color="#ffffff"></font>&#160;</p>
<p><font color="#ffffff"></font></p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=64&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2011/11/15/vswitchproclass-4-wholesale-softswitch-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>

		<media:content url="http://umairhashmi.files.wordpress.com/2011/11/image.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Securing VoipSwitch: Best Practices</title>
		<link>http://umairhashmi.net/2010/07/09/securing-voipswitch-best-practices/</link>
		<comments>http://umairhashmi.net/2010/07/09/securing-voipswitch-best-practices/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 17:17:22 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[VoIP]]></category>
		<category><![CDATA[VoipSwitch]]></category>
		<category><![CDATA[Secring VPS]]></category>
		<category><![CDATA[Securing Voip]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">https://umairhashmi.wordpress.com/2010/07/09/securing-voipswitch-best-practices/</guid>
		<description><![CDATA[VoipSwitch is one of the most widely deployed VoIP solution, just because of its cost and familiarity of users with its interface. However managing it could be worse nightmare of Network Administrators or Support persons. By Stats it is highly vulnerable for attacks. Reasons are simple: Design flaws (not secured by design) Based on Windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=34&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="display:inline;margin-left:0;margin-right:0;" align="right" src="http://www.callsmarket.com/voipswitch_sponsored_banner.jpg" /></p>
<p>VoipSwitch is one of the most widely deployed VoIP solution, just because of its cost and familiarity of users with its interface. However managing it could be worse nightmare of Network Administrators or Support persons. By Stats it is highly vulnerable for attacks. Reasons are simple: </p>
<ul>
<li>Design flaws (not secured by design) </li>
<li>
<div align="left">Based on Windows (Prior to Windows Server 2008, Windows Servers could be easy target for attackers) </div>
</p>
<ul></ul>
<ul>Hackers usually use simple techniques to create accounts on VPS, like SQL injection, RDP to DB/Application Servers, use brute force attacks to login VSC/VPS.</ul>
<ul>To Prevent these kind of attacks, first &amp; foremost change generic username on Windows machines such as by default user “vsc” is created to login to VSC, change that to “myvsc6581” so that its hard for hackers to guess the username. also change the Administrator username or better create another username and assign it to Administrator group and Disable the default user “Administrator”. Account lockout policy should also be properly configured so in case of brute force attack Account is locked out after 5 incorrect attempts.</ul>
<ul></ul>
<ul>To secure VoIPSwitch Servers from attacks always put DB on separate machine and DB should be configured to listen ONLY on Private IP (DB &amp; Application should be on same LAN) and RDP to DB machine should not be allowed on public IP. Its always better to put a Firewall in front of DB &amp; Application machines, all ports other than configured SIP ports, Web ports &amp; required ports like SNMP should be blocked on Firewall. </ul>
<ul>All Application machines should be configured to allow RDP from your Known Public IP or VPN.</ul>
<ul>Default VSC web path should be changed to custom path like www.xyz.com/myvps3-u/admin/index.aspx </ul>
<ul>Logs on Windows machines should also be monitored at least once in a week and see which processes are running on the machine using Task Manager, All un-used Windows services should be disabled so it will be easy to recognize any unknown service</ul>
<ul></ul>
<ul>Above mentioned points are some of the very basic security that should be applied on VoIPSwitch installations. </ul>
<ul></ul>
</p>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=34&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2010/07/09/securing-voipswitch-best-practices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>

		<media:content url="http://www.callsmarket.com/voipswitch_sponsored_banner.jpg" medium="image" />
	</item>
		<item>
		<title>Spoofing &#124; The most successful way to hack Networks.</title>
		<link>http://umairhashmi.net/2010/04/08/spoofing-the-most-successful-way-to-hack-networks/</link>
		<comments>http://umairhashmi.net/2010/04/08/spoofing-the-most-successful-way-to-hack-networks/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 13:44:34 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[ARP spoofing]]></category>
		<category><![CDATA[HArdware address spoofing]]></category>
		<category><![CDATA[Network hacking]]></category>
		<category><![CDATA[Spoofing]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2010/04/08/spoofing-the-most-successful-way-to-hack-networks/</guid>
		<description><![CDATA[Spoofing can occur at all layers of IP System. The Hardware Layer, Data Link layer, IP layer, transport layer and application layer…all are susceptible. All application layers are at risk if the lower layers have been compromised. Hardware Address Spoofing at the hardware layer, network interface cards (NIC) will have hardware interface address, Most network [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=32&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Spoofing can occur at all layers of IP System. The Hardware Layer, Data Link layer, IP layer, transport layer and application layer…all are susceptible. All application layers are at risk if the lower layers have been compromised. </p>
<h4>Hardware Address Spoofing</h4>
<p>at the hardware layer, network interface cards (NIC) will have hardware interface address, Most network interfaces can be put into promiscuous mode and may receive frames with any&#160; destination address. A more serious problem occurs if the network interface can alter the source address and send data that appears to come from various source address. Each network interface has 48 bit hardware address, Networks use this hardware address to match the variety of destination address of the frames it sees. The interface copies the matching destination address into its internal buffer and notifies the OS that they are available for further processing. Packets coming from the OS to the interface do not typically specify a source address; the interface always puts its hardware address in the source field.</p>
<p>Most softwares does not typically control the source field of frames leaving an Ethernet interface. When another host examines a packet containing a hardware source address associated with an interface of a particular machine, it assumes that packet is originated from that machine and accepts it as authentic.</p>
<h4>ARP Spoofing</h4>
<p>Address Resolution Protocol (ARP) is a more common way of spoofing. ARP is part of Ethernet and some other protocols that associate hardware address with IP address. ARP itself is not a part of IP but part of these Ethernet like protocols; ARP supports IP and other arbitrary network-layer protocols. Ehen an IP datagram is ready to go out on such a network, the host needs to know the hardware address of destination to associate with with the given IP destination address. For local IP adestinations, the hardware address to use will be the address of one of the routers on the local network.</p>
<p>To find the hardware address, the host sends out an ARP request using the hardware broadcast address. A frame with the hardware broadcast address reaches every network interface on the local network and each host on the local network has its OS interrupted by the network interface. The ARP request asks the question “What is the hardware address of this corresponding IP I have here?”, Typically only the host of matching IP address sends an ARP reply while remaining hosts just ignores the request.&#160; As the ARP request contains the IP address of source other hosts could potentially store the association between hardware and IP address of the sender of the request for future reference. The association between hardware and IP address of other machines on a network in stores in ARP cache on each host. so if a spoofer wants to be the target of IP datagrams being sent to a particular IP address from a particular host it needs to make sure it has the IP address and hardware address binded on his system and he is good to go.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=32&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2010/04/08/spoofing-the-most-successful-way-to-hack-networks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>
	</item>
		<item>
		<title>Power Shell Script to monitor a process on Windows Machines</title>
		<link>http://umairhashmi.net/2009/12/15/power-shell-script-to-monitor-a-process-on-windows-machines/</link>
		<comments>http://umairhashmi.net/2009/12/15/power-shell-script-to-monitor-a-process-on-windows-machines/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:55:00 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2009/12/15/power-shell-script-to-monitor-a-process-on-windows-machines/</guid>
		<description><![CDATA[&#160; Believe it or not, Windows have its fair share in Server Market where many of the critical services and applications running on windows machines. Since Windows Server 2003, Windows is very stable and can meet 99.9% availability criteria IF properly configured and managed. &#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [Image Source] Windows PowerShell is the new tool released [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=31&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Believe it or not, Windows have its fair share in Server Market where many of the critical services and applications running on windows machines. Since Windows Server 2003, Windows is very stable and can meet 99.9% availability criteria IF properly configured and managed.</p>
<p>&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <img src="http://media.arstechnica.com/journals/thumbs.media/servermarket.png" /></p>
<p align="right">[<a href="http://arstechnica.com/news.ars/post/20060222-6236.html" target="_blank">Image Source</a>]</p>
<p>Windows PowerShell is the new tool released by Microsoft for the lovers of Command Line Users. its pretty much same like Unix Shell and give the same power and flexibility which NIX users are enjoying for over two decades now. If you would like to know more about PowerShell follow this <a href="http://msdn.microsoft.com/en-us/library/dd835506(VS.85).aspx" target="_blank">link</a></p>
<p>So After digging it for few minutes I found a way to monitor services on Windows machines and powershell script can e-mail if the service is down. I was looking for this thing for quite some time now as we have some windows machines which are running some critical applications. the following script will just check if the mentioned service (MSN messenger in below sample) is running or not and send the status e-mail. We can automate the script to run every hour or half an hour or continuously check for the services and sends and email when the service is down. depending upon the nature of services you are monitoring.</p>
<p>&#160;</p>
<p>$SmtpClient = new-object system.net.mail.smtpClient // initializing smtp client    <br />$SmtpServer = &quot;mail.xyz.com&quot; // SMTP mail server    <br />$myvar = (get-process | where-object {$_.Name -eq &quot;msnmsgr&quot;}).count // gets the number of processes running with the name of msnmsgr </p>
<p>$From = &quot;Test Server &lt;root@xyz.com&gt;&quot; // sets the mail from name and address   <br />$To = <a href="mailto:admin@xyz.com">admin@xyz.com </a> // sets the recipients of email    <br />$Title = &quot;MSN STATS&quot; // sets the subject of mail&#160; <br />$Body = // Starting the Body of email    <br />&quot;Status of MSN messenger =&#160; <strong>$myvar</strong> Instance of MSN messenger running //puts the myvar variable    <br />$SmtpClient.Send($from,$to,$title,$Body)&#160; // sends the mail message with the given parameters</p>
<p>&#160;</p>
<p>We can of coarse customize the script to suit our needs. but I think its a great step from Microsoft side to provide this tool and give flexibility to Windows Server users.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=31&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2009/12/15/power-shell-script-to-monitor-a-process-on-windows-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>

		<media:content url="http://media.arstechnica.com/journals/thumbs.media/servermarket.png" medium="image" />
	</item>
		<item>
		<title>Voipv6 are we ready?</title>
		<link>http://umairhashmi.net/2009/12/09/voipv6-are-we-ready-2/</link>
		<comments>http://umairhashmi.net/2009/12/09/voipv6-are-we-ready-2/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:36:46 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2009/12/09/voipv6-are-we-ready-2/</guid>
		<description><![CDATA[Whether enterprise users are ready or not, it appears that implementation of IPv6 is in the not-too-distant future. The need for enhanced addressing is needed, especially as everything from your PC to your mobile phones and even your music players (ipod/zune) becomes IP-enabled At the same time, it&#8217;s also a given that VoIP is firmly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=28&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whether enterprise users are ready or not, it appears that implementation of IPv6 is in the not-too-distant future. The need for enhanced addressing is needed, especially as everything from your PC to your mobile phones and even your music players (ipod/zune) becomes IP-enabled<br />
At the same time, it&#8217;s also a given that VoIP is firmly entrenched as the current – no longer even the &#8220;next&#8221; &#8211; generation of voice networks.</p>
<p>So this leaves us wondering what the impact will be when these two inevitable trends merge.</p>
<p>Not that many years ago, we were quite concerned about VoIP due to the bandwidth overhead. Voice packets tend to be quite small. In fact, for the low-bit-rate codecs that tend to be used with VoIP, a typical packet size is on the order of 20 to 40 bytes. (These small packets are necessary in order to avoid too much latency.)</p>
<p>And the overhead simply due to IPv4 and UDP about equals the payload size, with at least 20 bytes (octets ) for IPv4 plus at least 8 octets for UDP. Now IPv6 is coming, and at least doubling the header size.</p>
<p>We can see two sides to this situation.<br />
On the plus side, IPv6 offers some much-needed additional control. Overall, VoIP should perform &#8220;better&#8221; when it&#8217;s VoIPv6.</p>
<p>At the same time, the additional overhead is a concern. Have we finally reached the point that we can make the same assumption of &#8220;free unlimited bandwidth&#8221; for WAN communications that we&#8217;ve made for years concerning LAN communications?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=28&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2009/12/09/voipv6-are-we-ready-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>
	</item>
		<item>
		<title>SNMP: A secure way to monitor networks?</title>
		<link>http://umairhashmi.net/2009/12/04/snmp-a-secure-way-to-monitor-networks/</link>
		<comments>http://umairhashmi.net/2009/12/04/snmp-a-secure-way-to-monitor-networks/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 17:43:58 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2009/12/04/snmp-a-secure-way-to-monitor-networks/</guid>
		<description><![CDATA[For years Network Administrators use SNMP to monitor network resources, and by now it has become an industry standard for monitoring and management of large Networks. if you are unfamiliar with SNMP kindly bing/google SNMP http://www.bing.com/search?q=snmp&#38;form=SNYTDF&#38;pc=MASN&#38;src=IE-SearchBox SNMP is based on UDP (A stateless protocol) and it has inherently a weak authentication system. For Private communities [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=15&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For years Network Administrators use SNMP to monitor network resources, and by now it has become an industry standard for monitoring and management of large Networks. if you are unfamiliar with SNMP kindly bing/google SNMP</p>
<p><a title="http://www.bing.com/search?q=snmp&amp;form=SNYTDF&amp;pc=MASN&amp;src=IE-SearchBox" href="http://www.bing.com/search?q=snmp&amp;form=SNYTDF&amp;pc=MASN&amp;src=IE-SearchBox">http://www.bing.com/search?q=snmp&amp;form=SNYTDF&amp;pc=MASN&amp;src=IE-SearchBox</a></p>
<p>SNMP is based on UDP (A stateless protocol) and it has inherently a weak authentication system. For Private communities it has RW (Read/Write) and for Public it has R (read only) access. These strings pass on networks unencrypted and often left in their original state.</p>
<p>Using a simple sniffer (such as wireshark), an attacker can capture SNMP requests sent to servers thus potentially security of important servers can be at risk. and since the private community has RW access it can be used to mis-configure a router or network devices by attackers to gain access to core servers.</p>
<p>A simple SNMP walk can reveal installed software information; windows users (considering SNMP is enabled on windows); open TCP ports.</p>
<p>Therefore, SNMP should be dealt with using security in mind and considering this that this simple tool can put a fairly secure network at greater risks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=15&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2009/12/04/snmp-a-secure-way-to-monitor-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>
	</item>
		<item>
		<title>SIP Interconnect between Huawei &amp; Nextone</title>
		<link>http://umairhashmi.net/2009/10/12/sip-interconnect-between-huawei-nextone/</link>
		<comments>http://umairhashmi.net/2009/10/12/sip-interconnect-between-huawei-nextone/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 04:12:15 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Nextone; Huawei; SIP Interconnect; SIP warning]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2009/10/12/sip-interconnect-between-huawei-nextone/</guid>
		<description><![CDATA[Huawei is widely known as not follower of SIP RFC 3261; there are number of wrong invalid SIP messages you can find in wireshark trace. Following is the one which I find more interesting one: &#160; Above packet seems to be a normal one; all tags are in place, call ID is same; CSeq is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=13&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Huawei is widely known as not follower of SIP RFC 3261; there are number of wrong invalid SIP messages you can find in wireshark trace. Following is the one which I find more interesting one:</p>
<p>&#160;</p>
<p><a href="http://umairhashmi.files.wordpress.com/2009/10/503.jpg"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="503" border="0" alt="503" src="http://umairhashmi.files.wordpress.com/2009/10/503_thumb.jpg?w=520&#038;h=292" width="520" height="292" /></a> </p>
<p>Above packet seems to be a normal one; all tags are in place, call ID is same; CSeq is same…so why does Nextone does not understand it, where is the problem?</p>
<p>Well the problem lies in Warning field; take a closer look:</p>
<p>Warning: 399 SoftX3000 R601-CCU Rel POS:[14131] Release from CR</p>
<p>but as per SIP RFC 3261 Warnging field text should be quoted, so it should look like this:</p>
<p>Warning: 399 SoftX3000 “R601-CCU Rel POS:[14131] Release from CR”</p>
<p>&#160;</p>
<p>Reference from SIP RFC 3261:    </p>
<p>Page: 231 – Standard tracks</p>
<p><i></i></p>
<p>Warning&#160;&#160;&#160;&#160;&#160;&#160;&#160; =&#160; &quot;Warning&quot; HCOLON warning-value *(COMMA warning-value)    <br />warning-value&#160; =&#160; warn-code SP warn-agent SP warn-text     <br />warn-code&#160;&#160;&#160;&#160;&#160; =&#160; 3DIGIT     <br />warn-agent&#160;&#160;&#160;&#160; =&#160; hostport / pseudonym     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ;&#160; the name or pseudonym of the server adding     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ;&#160; the Warning header, for use in debugging     <br /><b>warn-text&#160;&#160;&#160;&#160;&#160; =&#160; quoted-string      <br /></b>pseudonym&#160;&#160;&#160;&#160;&#160; =&#160; token</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=13&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2009/10/12/sip-interconnect-between-huawei-nextone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>

		<media:content url="http://umairhashmi.files.wordpress.com/2009/10/503_thumb.jpg" medium="image">
			<media:title type="html">503</media:title>
		</media:content>
	</item>
		<item>
		<title>Asterisk: Future of Telephony</title>
		<link>http://umairhashmi.net/2009/08/27/asterisk-future-of-telephony/</link>
		<comments>http://umairhashmi.net/2009/08/27/asterisk-future-of-telephony/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 10:07:15 +0000</pubDate>
		<dc:creator>umairhashmi</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://umairhashmi.wordpress.com/2009/08/27/asterisk-future-of-telephony/</guid>
		<description><![CDATA[Asterisk is an open-source communication platform, Its a software implementation of PBX (Private Branch Exchange) done by Mark Spencer from Digium Corp. By time Asterisk have come up a long way, different flavors of&#160; Asterisk are available in the market such as Elastix, Asterisk NOW these are good for their GUI (Graphical User Interface) for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=9&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Asterisk is an open-source communication platform, Its a software implementation of PBX (Private Branch Exchange) done by Mark Spencer from Digium Corp. By time Asterisk have come up a long way, different flavors of&#160; Asterisk are available in the market such as Elastix, Asterisk NOW these are good for their GUI (Graphical User Interface) for Command Line peoples Asterisk is still the choice for their needs. Many companies are using the power of Asterisk to empower their VoIP wholesale/Retail Business. They are good for calling card applications, call-back services, DID forwarding/Mapping. and whats best about Asterisk is its FREE and you can find Support online very easily. A lot of add-ons are also available some are free while other are paid. </p>
<p>&#160; So lets see how to install Asterisk. I assume you have fresh installation of Centos. now follow these steps</p>
<p align="center">&#160;<strong><u>Asterisk Setup</u></strong></p>
<p>1. cd /usr/src&#160;&#160; &#8212;-&gt; Go to the src Directory, This could be any directory where you want to download the packages. This does not affect installation folders.</p>
<p>2. wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.13.tar.gz –&gt; download Asterisk package</p>
<p>3. tar-xvzf asterisk-1.6.0.13.tar.gz –&gt; un-tar (unzip) asterisk package</p>
<p>4. cd asterisk-1.6.0.13 &#8212;&gt; Go to Asterisk directory</p>
<p>5. make clean –&gt; </p>
<p>6. ./configure &#8212;&gt; Install Asterisk package on your machine</p>
<p>7. make samples &#8212;-&gt; make sample configuration files for your reference.</p>
<p align="center">***** You are done with basic Asterisk setup. *****</p>
<p>Now for initial starters there are only two files on which you can perform basic funstions.</p>
<p>extensions.conf (located at /etc/asterisk/)</p>
<p>sip.conf (located at /etc/asterisk)</p>
<p>&#160;</p>
<p align="center"><strong>Extensions.conf</strong></p>
<p align="left">Extensions.conf is basically the dial plan of Asterisk, in other words its the brain of asterisk and here you define what to do when a user places a call or asterisk receives the call. Below is a basic dial plan, it receives the call and playback hello world.</p>
<p align="left">[sample]&#160;&#160; &lt;&#8212; this is the context; we’ll discuss this later    <br />exten =&gt; _X.,1,Answer()     <br />exten =&gt; _X.,n,PlayBack(Hello-world)     <br />exten =&gt; _X.,n,Hangup()</p>
<p align="left">&#160;</p>
<p align="left">_X. for any string which has been dialled from user.    <br />1&#160; for the priority, the order of instructions, in next steps numeric number replaced by n it means the next step, we could have used 2 3 in next steps but we have preferred to use n because in long dial plans using numeric can be headache.     <br />Answer() is the function call to asterisk to answer the call     <br />PlayBack(Hello-world) his tells Asterisk to play a specified sound file. By default, it plays files found in <code>/var/lib/asterisk/sounds/</code>, but you can also specify another source directory. No file extension is specified because the directory may contain the same sound in different formats. Asterisk will select the most appropriate format     <br />Hangup() this tells asterisk to terminate the call</p>
<p align="left">&#160;</p>
<p align="center"><strong>Sip.conf</strong></p>
<p align="left">Sip.conf is the file where you define the user/gateways of asterisk. Below is the sample configuration for a user</p>
<p align="left">[2000]    <br />type=friend     <br />secret=2000abc     <br />disallow=all     <br />allow=ulaw     <br />allow=g729     <br />host=dynamic     <br />nat=yes     <br />context=sample</p>
<p align="left">&#160;</p>
<p align="left">[2000] is the username    <br />type determines whether it is Ingress (to Asterisk) or Egress (from Asterisk) user. there can be three type of users a) friend b) peer c) user</p>
<p align="left">friend = can make calls both way    <br />peer = only “from asterisk” calls are allowed     <br />user = only “to asterisk” calls are allowed     <br />secret = password of user     <br />disallow= disallow all codec other than explicitly defined     <br />allow = allowed codec list     <br />host=IP address of client     <br />nat= enable/disable nat option     <br />context= dial plan to follow when this user dials a number. (Remember extensions.conf)</p>
<p>&#160;</p>
<p>Now download eyebeam client and check it out….in case of any query you can always contact me <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umairhashmi.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umairhashmi.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umairhashmi.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umairhashmi.net&amp;blog=5928940&amp;post=9&amp;subd=umairhashmi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umairhashmi.net/2009/08/27/asterisk-future-of-telephony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2051bd8299045c31fcc1e5a66433494a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umairhashmi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
