<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6135970673464868300</id><updated>2024-09-06T21:53:27.617-04:00</updated><title type='text'>Hi-Tech in Action</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6135970673464868300.post-5089165472118094106</id><published>2011-08-21T18:14:00.001-04:00</published><updated>2011-08-21T18:18:10.730-04:00</updated><title type='text'>IP Phones, What is under the hood? (Part 2)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;The second component on an IP Phone as the firmware. The firmware is considered the &quot;secret sauce&quot; to&amp;nbsp;the vendor.&amp;nbsp;The more reliable, feature-rich , easy to configure and easy to troubleshoot, the wider the phone&#39;s&amp;nbsp;customer base will be.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Under the hood, the firmware consists of the&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&amp;nbsp; Embedded Real-Time Operating System&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&amp;nbsp; Phone Application(s)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Embedded Real-Time Operating System (RTOS)&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Users maybe don&#39;t really care what RTOS is running on their phones, however engineers are probably more&amp;nbsp;interested in such a topic. When an embedded system designer (an IP Phone is not exception) is trying to&amp;nbsp;select a operating system for his system under design, there are a lot of factors may be considered:&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;How this system is going to perform in a real-time telecommunication device such as an IP Phone?&amp;nbsp;What features does its scheduler support?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;How does it handle interrupts?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;How much work is it to customize the OS to my hardware design?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;Are the device drivers for each chip of (mentioned in part 1) available or do I have to develop it in&amp;nbsp;house?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;What file system does it support? How reliable is it through power failure? Do I need to integrate a&amp;nbsp;special file system?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;Are the development and debugging tools available for this OS? Is it supported by the vendor and&amp;nbsp;maybe other communities?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;What are the licensing agreement to purchase these development tools?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;What are the royalty fees to paid when the product is commercialized? Is it annual fee or cost per each shipped unit? How they keep track of these shipped units?&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;Does this OS support Graphical User Interface (GUI)? If not, what are available third part GUI&amp;nbsp;engines available out there? What are the licensing schema?&lt;/li&gt;
&lt;/ul&gt;Many many technical and business factors to be considered. During my engineering life I found also it is&amp;nbsp;not just the OS that matters, but also the vendor behind it. In the rush for shorted time-to-market&amp;nbsp;competitive &amp;nbsp;environments, a good reliable OS from a good reliable vendor with good reliable engineering&amp;nbsp;team, makes a big difference.&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;It will be unfair to say there are only one good vendor in the market and that&#39;s XYZ, because some are&amp;nbsp;really good. From my own personal experience,&amp;nbsp;Windriver Systems with their both VxWorks and Embedded Linux are real good RTOS provider.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Linux is probably the most growing embedded OS. Firmware engineers would like to learn how the Linux kernel really work. So they can write device drivers for the different hardware components of the system (the IP Phone &amp;nbsp;in our case)., and to understand the environment the application part for the firmware will interact with, thus, enhance their designs.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;To learn more about Linux Device Drivers, check this book out:&amp;nbsp;&lt;a href=&quot;http://www.amazon.com/gp/product/0596005903/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;linkCode=as2&amp;amp;camp=217145&amp;amp;creative=399369&amp;amp;creativeASIN=0596005903&quot;&gt;Linux Device Drivers, 3rd Edition&lt;/a&gt;&lt;br /&gt;
To learn more about Linux Kernel, check this book out:&amp;nbsp;&lt;a href=&quot;http://www.amazon.com/gp/product/0596005652/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;linkCode=as2&amp;amp;camp=217145&amp;amp;creative=399369&amp;amp;creativeASIN=0596005652&quot;&gt;Understanding the Linux Kernel, Third Edition&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;TO BE CONTINUED...&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/5089165472118094106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/ip-phones-what-is-under-hood-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/5089165472118094106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/5089165472118094106'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/ip-phones-what-is-under-hood-part-2.html' title='IP Phones, What is under the hood? (Part 2)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6135970673464868300.post-3253375590534356994</id><published>2011-08-08T01:54:00.003-04:00</published><updated>2011-08-21T18:39:53.585-04:00</updated><title type='text'>IP Phones, What is under the hood? (Part 1)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
In previous posts, we discussed the concepts behind VoIP and the underlying communication protocols, such as SIP, RIP, TCP/IP, …etc, I am going on this post to discus the internal design of an IP phone, and how it affects the performance of the phone. &lt;br /&gt;
&lt;br /&gt;
The IP Phone, in general, is an “Embedded System”. Embedded systems (IP Phone is no exception), have mainly 3 major components:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Custom-Designed Circuit (a.k.a PCB).&lt;/li&gt;
&lt;li&gt;Custom-Designed Software (a.k.a “Firmware”)&lt;/li&gt;
&lt;li&gt;Custom-Designed Chassis (a.k.a. Industrial Design)&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Custom-Designed Hardware&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;IP Phone is a microprocessor-based system, similar –in a way- to a PC. It has a Microprocessor CPU, RAM, Flash Memory (for permanent storage, similar to your PC hard disk), Ethernet controller (with RJ-45) the hardware design It also has telephone-related components such as a keypad, handset, hands free microphone. A phone may /may not have a display (LCD), Digital Signal Processor (DSP),&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCi5dJdyDcvnfr80O3uCENjefmiVG1JSxsw9jENLMT5YQ100DRlGIIMwXRcAxw1fi2RuPPq5wodWskJqStDYqkmSlJCCdwabu65TUEiQGWcolIDPuC4C4Tky_o41yJJFmRK0Ffh_lqco/s1600/IPPhone_Design.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;237&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCi5dJdyDcvnfr80O3uCENjefmiVG1JSxsw9jENLMT5YQ100DRlGIIMwXRcAxw1fi2RuPPq5wodWskJqStDYqkmSlJCCdwabu65TUEiQGWcolIDPuC4C4Tky_o41yJJFmRK0Ffh_lqco/s400/IPPhone_Design.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Click on the diagram for larger image&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;The reason we call the design of the hardware “custom”, is that each IP Phone may have a different layout internally that another phone, even if it is made by the same vendor. In comparison to the PC world, IP Phone users can not simply grab an application built for MIPS32 or ARM and simply run this application on their IP Phones. Although the application was built for that target CPU, the interconnections between the CPU and the rest of the chips in the system varies a lot from a phone to the other and unfortunately there’s no standards to follow from that prospective, comparing to traditional PCs. An exception for this rule would be a Java Application (we will discuss Java Apps later on in this blog).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;CPU&lt;/span&gt;&lt;/b&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Most phones are running on a RISC microprocessor. Usually it is ARM or MIPS32. One of the interesting things to look at in an IP Phone specification sheet, in addition to whether it is running ARM or MIPS32 CPU, is what clock speed is it running on. &lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;nbsp;The higher the CPU clock is faster it is and the more energy as well it consumes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;DSP&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;DSP microprocessor main purpose is to offloads the mathematical work load, of Codec computation, Acoustic Echo Cancelation, Equalization (illustrated in the post: Voice Codecs), instead being performed on the main CPU. That design devotes the DSP resources to ensure better quality for the voice. Believe it or not, some IP Phones designer may choose not to have DSP hardware in their phones! Therefore, this work has to be done by the main CPU. Since the CPU is a shared resource in a multitasking environment, the firmware must be written in a very careful way to ensure voice processing gets enough CPU resources when needed, or the voice quality could be at stake. I would personally prefer to buy a Phone with DSP in it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Ethernet (LAN and Pass-Thru Ports and Wi-Fi)&lt;/span&gt;&lt;/b&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Ethernet on the IP Phone may take different forms. A desk IP phone will have RJ45 interface with 10/100 or maybe 1Gbps wired interface. A portable office phone will have a Wi-Fi Wireless chip in it. Ethernet/Wi-Fi needs a controller to transmit/receive Ethernet frames. This is the interface to the outside world that communicates SIP (signaling) packets, RTP (filled in with encoded voice) packets and probably other types of traffic. This is also where the IT administrator reaches the phone remotely for configuration and maintenance and technical support.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Pass-Thru Port main function is to allow the user to connect his laptop/PC to the phone and use it as a “switch” to connect to the rest of the LAN. If phone doesn’t have that pass-thru port, 2 ports on the networks will be required: one for the IP Phone and one for the PC/laptop. Having it saves ports on the LAN switch and cabling as well. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Display&lt;/span&gt;&lt;/b&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;A display varies between monocolor LCD, with 3 lines of text display, it could have a larger multilien text display with some symbols on it, or it could have a grey-scale display that supports multiple grey colors from black to white, a nice VGA resoluion color display or even a high-definition resolution LCDs. Regardless the size of the LCD, its color resolution, it needs a “Display Chip” that sits between the CPU and the actual LCD panel. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;RAM &amp;amp; FLASH&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;RAM is run-time volatile storage for programs. In embedded sytem world, usually the concept of page-swapping does not exist. Page-swapping means when the software tasks on a microprcessor at a given time needs more memory that the size of the actual physical RAM on the system, the operating system memory manager can create the sense that a larger memory exists on the system for the applications to use, by taking some space on the flash memory (harddrive in PC world) and moving data pages (a page is 4Kbyte) from physical memory to the disk space back and forth. As I mentioned this features is nice to have on general purpose computing systems but not in an Embedded System. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;That means the more memory the phone have, the more space it has for applications to work. If I am the IT manager or a business owner and I have ambitious plans to run an attendance application on top of the IP Phone for employees or news feeds right at their phoen screens, …etc.(most phone provide these capapilites today), I must be check how much RAM this phone will have.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Flash memory in embedded system device stores a firmware image the phone needs to load and run when the phone is turned off and back on. Firmware like any other software may change after the phone is sold to the customers. These changes may contain new features, defect fixes and even necessary security fixes that of an interest to the customer. If the flash size of the phone is small, the phone owner maybe stuck at a situation they can not upgrade the firmware due to the fact that the flash size can not store a firmware of a bigger size.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Also, the phone flash may store configuration data required for operation. It may also be used to save Call History (Missed, Answered, Dialed calls). It may also store the Phone Book or Employees Directory of a company, so that the user can lookup the phones numbers by name and dial the number directly withotu memorizing too many numbers. Bottom line, check the size of a flash memory. There’s also a relation between RAM and Flash memory sizes. Usually a flash memory is ½ the RAM size in most of the phones I have seen, but some may have flash size is ¼ the RAM size.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;i&gt;&lt;b&gt;To be continued...&lt;/b&gt;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/3253375590534356994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/ip-phones-what-is-under-hood.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/3253375590534356994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/3253375590534356994'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/ip-phones-what-is-under-hood.html' title='IP Phones, What is under the hood? (Part 1)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCi5dJdyDcvnfr80O3uCENjefmiVG1JSxsw9jENLMT5YQ100DRlGIIMwXRcAxw1fi2RuPPq5wodWskJqStDYqkmSlJCCdwabu65TUEiQGWcolIDPuC4C4Tky_o41yJJFmRK0Ffh_lqco/s72-c/IPPhone_Design.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6135970673464868300.post-8085778715011355436</id><published>2011-08-04T19:36:00.039-04:00</published><updated>2011-08-11T03:17:29.921-04:00</updated><title type='text'>Voice Codecs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.05in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The studies of human voice shows that it contains frequencies from 0-7KHz. However, most of the energy of the voice is below 4KHz. So, legacy telephone systems used to apply a Low-Pass Filter (&lt;/span&gt;LPF&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;) against the audio signal with cut frequency of 4KHz at the sender side. According to sampling theory, In order to be able to reconstruct the signal at the&amp;nbsp;receiving&amp;nbsp;side,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;twice&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;the 4KHz samples are required, minimum&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;sampling&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;rate = 8KHz.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The sampling is done using Analog to&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Digital&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Converter&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;(ADC). In each sample, the audio is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;quantified&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;according to the signal amplitude in a range of 256&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;different&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;values, i.e. each sample is represented by 8 bits. The &lt;/span&gt;&lt;/span&gt;bit rate&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; of the raw uncompressed audio (known as Pulse Coded Modulated, &lt;/span&gt;PCM&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;) = 8bits/sample x8KHz samples/second= 64Kbits/sec.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;The PCM audio at that stage can be “encoded” or “compressed” using a “codec” algorithm at the sender and “decoded” or “decompressed” at the receiving end using the same “codec” algorithm (or to e&amp;nbsp;precise&amp;nbsp;the reverse of it!”.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;There are a variety of &lt;/span&gt;codecs&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.Each is design with certain assumptions and objectives in mind. Some are free and some has&amp;nbsp;&lt;/span&gt;royalty&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;fees&amp;nbsp;&lt;/span&gt;attached&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;to them. One of the main objectives for this process is to save the amount of network bandwidth required to have a &lt;/span&gt;VoIP&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; conversation. The more voice is compressed the more concurrent calls can take place given a fix bandwidth.However, a higher compression &lt;/span&gt;Codecs&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; may not produce the best&amp;nbsp;&lt;/span&gt;quality&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;of audio if the assumptions used in its design are not met in the underlying &lt;/span&gt;IP&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; network for &lt;/span&gt;example&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The most used&amp;nbsp;&lt;/span&gt;Codecs&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;in the &lt;/span&gt;VoIP&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; world are G.711a, .711u, G.729. However, a punch of &lt;/span&gt;Codecs&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; are famous in the &lt;/span&gt;VoIP&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; world: G.722, G.723, G.726 and more. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Silence Suppression, and Comfort Noise&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It worth to mention that one way to save bandwidth is called “Silence Suppression”. Which means not to send traffic when there is silence is detected in the middle of a conversation. One other interesting concept is “Comfort Noise”. During silence suppression, the person listening could “feel” the line was disconnected and hangup. Comfort Noise is a low amplitude noise signal generated locally at the receiving end (not transmitted over a network) in VoIP phones during silence suppression times to make the person the phone feels the line is still connected.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Silence suppression works in conjunction with “Voice Activity Detection (VAD)”.  When no voice is detected, silence suppression is in effect. And when voice is detected silence suppression disables. This happens many times during the call. Now there’s a time lag between the detection and state-switching. There’s also a loudness threshold I believe the voice has to go beyond to be detected and not to be classified as background noise.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Most IP Phones allows enabling/disabling silence suppression in their Voice Codec calculations. They may not expose VAD configuration parameters though. The silence suppression on/off configurations should -in theory- show up actually during SIP negotiation, in the Session Description Protocol (SDP) body of the SIP message, in order to inform the remote systems whether this phone supports silence suppression or not:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px; margin-bottom: 5pt; margin-left: 30pt; margin-right: 0in; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: black; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: x-small;&quot;&gt;a=silenceSupp:off&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: bold;&quot;&gt;Acoustic Echo Cancellation (AEC)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;During a hands-free call, the voice from the sender ‘Alice’ is played in the reciever’s loudspeaker ‘Bob’, propagates in the air and is partially captured by the receiver’s side own microphone causing a feedback.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhbcxJFDS8JOZtgXFaZBWxNdYOAA97PsMyJd2LJoUlEU8FlPsutGqqeo-FbvqVdfB2a37Jc0ljHPwWJsU6mcYHYFzq9TRvCdKT3ZBAEzMSBzQCRlVkMtZP4SAFQGsU0P6yhjMjVVm7-4E/s1600/aec.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhbcxJFDS8JOZtgXFaZBWxNdYOAA97PsMyJd2LJoUlEU8FlPsutGqqeo-FbvqVdfB2a37Jc0ljHPwWJsU6mcYHYFzq9TRvCdKT3ZBAEzMSBzQCRlVkMtZP4SAFQGsU0P6yhjMjVVm7-4E/s400/aec.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;If this feedback signal is transmitted back to the sender ‘Alice’, then ‘Alice’ is going to hear an echo of her voice. One of the things should&amp;nbsp; by done to the signal before transmitting in that case is&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;subtract&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;the feedback signal at ‘Bob’s’ phone before&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;transmitting&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;This feedback is actually an amplified version of ‘Alice’ voice (with some gain&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;adjustment&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; or with some minor time delay added). This process is known &amp;nbsp;as “Acoustic Echo Cancellation”.&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: bold;&quot;&gt;Wide-Band Codecs Versus Narrow-Band Codecs&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #454545; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As we mentioned above, the human voice spectrum contains&amp;nbsp;frequency&amp;nbsp;components up to 7KHz. By&amp;nbsp;sampling&amp;nbsp;at 8KHz we are losing some details of the voice. The Codec works at this assumption are known as Narrow-Band Codecs. Wide-band Codecs assumes higher cut off frequency of the voice and takes these details into consideration by sampling at 16KHz. Of course that requires more bandwidth to transmit the audio from sender to&amp;nbsp;receiver&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; The main objectives of the Wide-band Codecs is to compress this data as efficient as possible&amp;nbsp;without&amp;nbsp;scarifying&amp;nbsp;the quality of the audio. &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545;&quot;&gt;&lt;span style=&quot;color: #454545;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Digital Signal Processor (DSP)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Codec algorithms usually requires mathematical operations to be computed. DSP is a microprocessor designed in such a way to serve the needs of digital signal processing computations. Softphone implements the “Codec” algorithm in software without any DSP assistance. However, IP Phone terminals, usually contains a DSP chip (or DSP embedded in a bigger chip) to carry on the ”Codec” algorithm in a more efficient way than general purpose CPUs we find in our laptops or mobile phones. These DSP runs programs implements the digital signal processing concepts. For more information about Signal Processing Concepts, refer to this book&lt;/span&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif; line-height: 115%;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #454545; font-family: Arial, sans-serif; line-height: 115%;&quot;&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/0131873741/ref=as_li_tf_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0131873741&quot;&gt;&lt;span style=&quot;color: blue; font-weight: normal; line-height: 115%;&quot;&gt;Digital Signal Processing (4th Edition)&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/8085778715011355436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/voice-codecs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/8085778715011355436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/8085778715011355436'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/voice-codecs.html' title='Voice Codecs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhbcxJFDS8JOZtgXFaZBWxNdYOAA97PsMyJd2LJoUlEU8FlPsutGqqeo-FbvqVdfB2a37Jc0ljHPwWJsU6mcYHYFzq9TRvCdKT3ZBAEzMSBzQCRlVkMtZP4SAFQGsU0P6yhjMjVVm7-4E/s72-c/aec.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6135970673464868300.post-6541886893697538788</id><published>2011-08-01T17:43:00.000-04:00</published><updated>2011-08-01T18:19:47.108-04:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;Session Initiation Protocol (SIP)&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
Session Initiation Protocol (SIP) is used in VoIP networks for signaling. Signaling in a simple form is the control messages such as: &amp;nbsp;dialing, ringing, busy, call established, hang-up, transfer, hold, unhold…etc. It also allows the two remote systems trying to establish a phone call to agree on how to format the voice and where to send it. It is a text-based protocol. And it is defined by IETF in a number of RFCs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
SIP starts by a Registration Process, where the phone (i.e. IP-Phone, ATA adapter, softphone) sends a registration request to the SIP server (i.e. IP-PBX). In this request it has the user`s telephone number, IP address and port to be reached at if there`s an incoming call coming for that user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW__I1_sLV_jWD1pOrrONDP4timZhVTLkF2QhNfF5RdCVnWJ0HjcFUboiFK80Hek2_nY1HvSF7JaRrcZto3dTlEdKlHHeuusWMXiO6SfvcRNOfoE7VQjDFo806WsJ41WfMcJznFizwx3E/s1600/sip_register.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW__I1_sLV_jWD1pOrrONDP4timZhVTLkF2QhNfF5RdCVnWJ0HjcFUboiFK80Hek2_nY1HvSF7JaRrcZto3dTlEdKlHHeuusWMXiO6SfvcRNOfoE7VQjDFo806WsJ41WfMcJznFizwx3E/s400/sip_register.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=6135970673464868300&amp;amp;postID=6541886893697538788&amp;amp;from=pencil&quot; name=&quot;OLE_LINK2&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=6135970673464868300&amp;amp;postID=6541886893697538788&amp;amp;from=pencil&quot; name=&quot;OLE_LINK1&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Figure 1: SIP Registration Process&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;For authentication, the server challenges the user to ensure its identity, the user-agent replies back with another registration message that contains challenge-response to identify itself. An attacker watching the messages should not be able to analyze the challenge and its response and discover the user’s password. If he/she managed to do so for whatever reason, the attacker can receive all his/her phone calls.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;In a simple call scenario, where a user is trying to place a call, the caller&#39;s phone sends a SIP INVITE message to the server. The server again will authenticate the identity of the user, then it will forward the request to the remote phone. The remote phone &amp;nbsp;rings and sends back a ringing message. The caller&#39;s phone starts to ring-back to give the caller an indication that he/she should wait for an answer.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUIBipeoBMBPKi4mKBLKSJMyFPtT6Y_BtMx41vKhbKzpWHNsDyu0FtHEfkdwRwhMdx8IklbPjEYrDAfGvRKEkXxg7k_L120qGVHLfLzIYUN2naYzr7j4zws7nVZ8QRzm252LA0BKB2bh8/s1600/sip_invite.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUIBipeoBMBPKi4mKBLKSJMyFPtT6Y_BtMx41vKhbKzpWHNsDyu0FtHEfkdwRwhMdx8IklbPjEYrDAfGvRKEkXxg7k_L120qGVHLfLzIYUN2naYzr7j4zws7nVZ8QRzm252LA0BKB2bh8/s400/sip_invite.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Figure 2: Call Flow using SIP protocol&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;When the remote user answers the call, a 200 OK status message shall be sent back to the callers phone, via the server in the middle. Where the caller&#39;s phone acknowledges it by sending a handshake SIP ACK message. After that point, RTP protocol starts to &amp;nbsp;flow directly between the phones (not involved the server) carrying the voice (and possibly video if the both phones are advanced videophones with camera and display).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;In the INVITE message the callers phone tells the remote phone where to send the RTP (IP address, protocol and port) and a lsit of what are the possible codec&#39;s the phone can understand. In the 200 OK status message the callee phone send where he should&amp;nbsp;receive&amp;nbsp;the RTP (IP address, protocol, port). It also sends a list of voice &quot;codec&quot; it can accept. The 2 phones agree on the first codec the both understand. That process is called &quot;Codec&amp;nbsp;Negotiation&quot;. The beauty of that process both phones, that could be manufactured by different vendors, had zero knowledge about each other, yet they could agree how to format the audio. If negotiation fails, the call fails and the 2 phones can not communicate.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;To study more about SIP protocol, refer to this book:&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;: &amp;nbsp;&lt;a href=&quot;http://www.amazon.com/gp/product/1607839954/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=1607839954&quot;&gt;SIP: Understanding the Session Initiation Protocol (Artech House Telecommunications)&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;a name=&quot;rtp&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Real Time Protocol (RTP)&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;RTP protocol is the protocol used to transfer the “voice” or “video” stream from one a phone to the other and vice versa. The voice itself is represented using some codec. The term codec is a combination of “compression-decompression” and sometimes “coder-decoder”. This implies that voice could be compressed at the sender`s side and decompressed at the receiver`s side mainly to reduce the bandwidth required over the network for each call.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJGu5izpQ10S5z1fqOS52zpIk6z_rOzPaGDqkgmHOTLxN-nXFNo3jFvwymUaG7n5wWMaoiwIdm_yYW1_FtBYaEIyhklntB68ef6pp2xPJ8fkKO1jp9B7mSiqojrKdPrFfHtaZnpypEZI/s1600/RTPHeader.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJGu5izpQ10S5z1fqOS52zpIk6z_rOzPaGDqkgmHOTLxN-nXFNo3jFvwymUaG7n5wWMaoiwIdm_yYW1_FtBYaEIyhklntB68ef6pp2xPJ8fkKO1jp9B7mSiqojrKdPrFfHtaZnpypEZI/s320/RTPHeader.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Figure 3: RTP packet header format&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;For more information; check this book out:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/0672322498/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0672322498&quot;&gt;RTP: Audio and Video for the Internet&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
Both SIP and RTP protocols, from the Internet Protocol Layering Model, are considered “Application Protocols”. They usually encapsulated inside UDP (often), &amp;nbsp;TCP or SCTP (sometimes) over IP. To understand the TCP/IP protocol suite in depth, refer to one of these 2 books:&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; 1. Douglas E. Comer, &lt;a href=&quot;http://www.amazon.com/gp/product/0131876716/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0131876716&quot;&gt;Internetworking with TCP/IP, Vol 1 (5th Edition)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; 2. W. Stevens &lt;a href=&quot;http://www.amazon.com/gp/product/0201633469/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0201633469&quot;&gt;TCP/IP Illustrated, Vol. 1: The Protocols (Addison-Wesley Professional Computing Series)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/6541886893697538788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/session-initiation-protocol-sip-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/6541886893697538788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/6541886893697538788'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/session-initiation-protocol-sip-session.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW__I1_sLV_jWD1pOrrONDP4timZhVTLkF2QhNfF5RdCVnWJ0HjcFUboiFK80Hek2_nY1HvSF7JaRrcZto3dTlEdKlHHeuusWMXiO6SfvcRNOfoE7VQjDFo806WsJ41WfMcJznFizwx3E/s72-c/sip_register.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6135970673464868300.post-4811393241257984491</id><published>2011-08-01T16:35:00.000-04:00</published><updated>2011-08-01T18:20:45.961-04:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;Introduction to Voice over Internet Protocol (VoIP)&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Voice over Internet Protocol (VoIP) is a technology that allows voice (and possibly video) communication over IP networks. These IP networks could be public, such as Internet, or private such as Enterprise networks, or a combination of both. This technology offers some advantages over the legacy telephone networks; however it also has some disadvantages. Engineers around the world are working hard to solve, and fortunately they are making lots of progress.&amp;nbsp; It is expected that legacy telephone systems shall disappear over the years.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
In order to understand the advantages of VoIP systems over the legacy telephone networks, let us assume a scenario of a company that has an office with few hundred employees. Each employee has a LAN connection (usually Ethernet RJ45) as well as a telephone connection (usually RJ11). The IT room has all these LAN cables connected to a switch and the telephone cables connected to a PBX system. The PBX is also connected to external telephone lines (Known as FXO) providing public service telephone network (PSTN) service via a local carrier. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;The PBX could have N lines for M users to share. Examples 60 lines for 300 users. This is based on the fact that not all employees are communicating to external numbers simultaneously and they probably need to communicate with each other more than externally. For an&lt;br /&gt;
employee to make a call he dials “9,desintation phone number”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
The main disadvantage of this setup, it contains extra cabling to each user. If you are in IT, you know that is an extra headache to lay and maintain these extra cables across the building. Also to add a new batch of users to the PBX extra hardware upgrade may be required (known as FXS cards).&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;If the same company has one or more extra branches in a remote location or even overseas, the local carrier shall charge the company long distance or overseas fees and the company cannot get around that unless they rent their own circuit from branch A to B.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;In the VoIP world, the phone at the user-end is one of 3 types:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;IP      Phone&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;ATA      device&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Soft      phone&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
IP phone is a piece of hardware, it looks like normal phones with the exception it connects via RJ45. Internally these phone sets have a different design than traditional phone set. I will illustrate the internals of these phones in my next article in a bit of details. Examples of these phones are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Cisco&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Aastra&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Polycom&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Grandstream&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 36.0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
An ATA device is a device that can be connected to any legacy telephone set and it converts the output into VoIP and has a RJ45 jack on it. An example of ATA devices is Cisco PAP2T-NA, Internet Phone Adapter with 2 VoIP Ports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Softphones are piece of software that runs on your desktop or laptop and uses the microphone, speaker as well as the Ethernet card on your PC to emulate a phone set that hooks. An example of softphone is &lt;a href=&quot;http://www.counterpath.com/x-lite.html&quot;&gt;Xlite&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;IP-PBX&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;In the IT room, there is a IP-PBX. IP-PBX Is the backend system that facliates phone calls between extensions or to the outside world. It also handles incoming calls, voicemail, call transfer, conferencing, Interactive Voice Response, Automatic All Distribution (ACD), Busy Light Field (BLF) …etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;If the PSTN FXO lines are coming from the local carrier in the traditional telephone service form, a hardware system is required to convert the signal on the FXO lines to their VoIP equivalent. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;One of the most famous open-source IP-PBX is &lt;a href=&quot;http://www.asterisk.org/&quot;&gt;Asterisk&lt;/a&gt;. It is free software that works on general purpose Intel-based PC or servers. There’s also a packaged flavor of Asterisk that has a Web User Interface for easy administration, known as &lt;a href=&quot;http://fonality.com/trixbox/&quot;&gt;Trixbox&lt;/a&gt;. Asterisk and Trixbox offer all small-medium enterprise PBX features: Extension-2-Extension, Call Transfer, Call Conference, Dial-plans, Voicemail, SIP Trunks …etc. They work with a number of hardware cards to connect to the telephone service providers (FXO lines). Cards are made by &lt;a href=&quot;http://www.digium.com/&quot;&gt;Digium&lt;/a&gt; (the creator of Asterisk), &lt;a href=&quot;http://sangoma.com/&quot;&gt;Sangoma&lt;/a&gt;, and probably many others. If the lines are coming in a bundles such as T1`s links (24 telephone lines) or E1`s (30 Telephone lines), a more sophisticated hardware is required, known as a Media Gateway. To learn more about how to setup Asterisk free PBX, refer to this book:&amp;nbsp;&lt;a href=&quot;http://www.amazon.com/gp/product/0596517343/ref=as_li_tf_tl?ie=UTF8&amp;amp;tag=voiceoverip0c-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0596517343&quot;&gt;Asterisk: The Definitive Guide&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;A Media gateway can do also other functions in a VoIP network. It can multiplex audio and&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;/or video streams, allowing conference calls. The job of multiplexing audio / video streams in real-time requires mathematical computational power, may exceed the capabilities of normal general purpose hardware servers. That is especially true when the number of conference participants grows high. Media gateways rely on different technology of processors, known as digital signal processors (DSP) that has the computational power to perform such a job.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;Networking Protocols&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #454545; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;VoIP, nowadays, relies on bunch of networking protocols combined together to provide the voice communication service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://hitechinaction.blogspot.com/2011/08/session-initiation-protocol-sip-session.html&quot;&gt;Session      Initiation Protocol (SIP)&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://hitechinaction.blogspot.com/2011/08/session-initiation-protocol-sip-session.html#rtp&quot;&gt;Real      Time Protocol (RTP)&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;VoIP Advantages&lt;/span&gt;&lt;/h1&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Low rates      for long distance and international calls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;You      can make and receive phone calls wherever there is a broadband connection &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Free Caller      ID, voicemail, call forward, conferencing are some of the many services      included with most VoIP service providers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Less Cabling for Enterprises&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Most new IP-Phones can run XML Applications. Enterprises can use that to provide services to their&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;employees.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;VoIP Challenges&lt;/span&gt;&lt;/h1&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Emergency      calls&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;:      When an emergency call is made from a legacy PSTN, the location of the      call is associated with the callers due to the nature of the fixed land      line. Because VoIP is portable to any place in the world, there is no guarantte      that a person calling emergency is in the actual location he is claiming      or registered at the service provider records.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Sound      Quality And Reliability&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;: VoIP may suffer from low sound quality      and low reliability when public Internet is involved in delivering the      voice traffic. High delays, jitter and packet loss due to congestion in      the network will cause noticeable degradation the service quality.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Security&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;:      Since VoIP uses IP networks, it inherits all the security weakness of an      IP network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #454545; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Power      Failures: &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Legacy PSTN switches have batteries to overcome      power outage for few hours, so that the service continues uninterrupted      during power outages. Since VoIP calls relies on many systems: IP-Phone or      ATA adapters, routers, switches, modems, servers more systems have to be      power failure resilient. If all these systems are under one administration,      it could be achievable, but that’s not always the case.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hitechinaction.blogspot.com/feeds/4811393241257984491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/voice-over-internet-protocol-voip-voice.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/4811393241257984491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6135970673464868300/posts/default/4811393241257984491'/><link rel='alternate' type='text/html' href='http://hitechinaction.blogspot.com/2011/08/voice-over-internet-protocol-voip-voice.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>