Showing posts with label internet. Show all posts
Showing posts with label internet. Show all posts

Wednesday, May 1, 2013

Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black by Grace Digital

It is extremely hard to envision some thing that less cost with great quality in the past. But not any longer, with our latest Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black which is the total technologies items from us and it'll make you wonder that why you can not find it anyplace before. The future of your great living choice is inside your hand now. So you are going to be absolutely glad when you might have own it. And It is friendly to you and everybody inside your residence.

Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black
List Price : $179.99

You Save : Check Cheap Price

  Check Offer listing

One from the most important moments for you is to be in a convenience life. Eventually, we come out with Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black the inclusive item which is going to become best item for you. Grace Digital absolutely concentrate to produce this item with high quality material, top quality and it also consists of with fine image for everybody.

It is not constantly that the most effective selling item in the global market will be the perfect item for your want. Since It is typically depend on every individual want, ability and especially price. But our Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black will offer you a proof that not any item about the planet is suite you, with our best quality and most reasonable cost. So you are able to take pleasure in your life a lot more with your household inside your residence.

Click here to read Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black full review & cheap price

Grace Digital GDI-IRD4500m High Performance Stereo Internet Radio - Black

The Grace Digital Bravado-X Desk Top Radio (GDI-IRD4550m) is a combination Internet radio and audio media streaming device that brings all the audio content of the Internet from your broadband connection to your home or office. Listen to over 17,000+ radio stations including NPR on-demand, FOX news, CNN, BBC, CBS to KROQ, over 35,000 podcast, 20,000+ On-Demand streams or your personal Pandora radio stations - Free ( no fees - ever). In addition to the ability to play all the Free music in the world, music files from your PC, Mac, NAS or USB thumb drive are also easily accessed via the bright large 4 line backlight LCD. The Bravado-X also accesses additional Free and Pay music services such as DAR.fm, Rhapsody, Live 365, MP3tunes, iheartradio, Weatherbug and Sirius Premium Internet radio. The Bravado-X comes with a full featured remote control with direct access Pandora thumbs up and down buttons, RCA inputs to connect additional music sources ( such as an iPhone - not included), RCA outputs, speaker connectors ( for optional not included external speakers), USB jack to play USB saved music or connect a USB to Ethernet dongle ( not included) and is compatible with the free Grace remote control App for iPhone/iTouch/ iPad and Android phones. Listen to all of your digital music anywhere in your home or office, with Grace.

Feature

  • Built in 802.11n wireless card to connect to any Wi-Fi (802.11b,g or n) wireless internet connection or utilize the built in USB port to connect an optional USB to Ethernet dongle (not included) for a wired network connection
  • Listen to the crystal clear upward firing built in stereo speakers with rear bass port for true bass response or connect optional stereo speakers to the superb Class D 16 watt RMS digital amplifier.
  • 4 line display with 30 micro light adjustments to view station name, song title (when provided) or set the sleep time or one of the 5 Alarms - Wake to internet radio or alarm tone
  • Presets: 5 on radio, 10 on the remote and 99 in your 'my stuff' folder after registering at www.grace.reciva.com. Search and save stations via the web site directly to your radio
  • connections include: RCA in, RCA out, USB, headphone, speaker posts for optional external speakers. In the box: radio, remote with batteries, rca to mini cable, manual, power supply

Sunday, April 7, 2013

Fix One Of The Ways Voice over internet protocol Audio (SIP, NAT and STUN)

The Problem - When making VoIP calls (particularly with SIP) you can ring phone numbers but once the call is answered there is either no voice or it is only one way.

The Cause - I am pretty sure the cause of this will be the same regardless of what protocol you are going to use for your VoIP solution but I only have experience of SIP. So this will definitely be an issue with SIP but I haven't confirmed it with the other protocols.

The problem arises because VoIP uses dynamic UDP ports for each call. This causes problems when traversing a NAT device for two reasons; the NAT device changes the source port of outbound packets as part of the NAT process. The second is because UDP by its very nature is designed for one way traffic (broadcasts, video stream etc). Where TCP traffic is bi-directional across the one connection UDP can have 1 connection for inbound and another for outbound meaning they can use different ports. If the inbound connection uses different ports as the outbound connection the inbound traffic will be dropped because the NAT device does not have a mapping for it in its NAT table. If you are confused by now I suggest you read up on NAT first.

What is SIP and why is it important to VoIP Just as TCP/IP is not a protocol by itself but rather a family of protocols like TCP, IP, PPP, PPTP, ARP etc so is VoIP. There are several protocols you can use with VoIP each having their own pros and cons. The one we will focus in this article though is SIP. SIP stands for Session Initiate Protocol. It is responsible for setting up the call, ringing, signalling, engaged tones etc.

In most SIP environments there will be several VoIP calls in use concurrently. Every one of these calls will be managed through the VoIP switch, each one requiring its own voice channel. Each channel (or phone call to look at it another way) must use a unique port. If there are 100 concurrent VoIP calls in use there must be 100 ports available for the VoIP switch to allocate to each call. This is where SIP comes in. It basically controls everything that is needed in setting up the call. For each call SIP will find a spare port, allocate it, send these details to all parties, set the call up and ring the phones. Once the call has finished SIP terminates the session and informs the phone switch that this port can be reassigned to another call.

The range of ports is usually configurable, Avaya for example allow you to configure this in the VoIP portion of the system config. The default range for Avaya VoIP is 49152 to 53246. This gives us a possibility of 4094 concurrent VoIP calls licensing permitting.

In a LAN environment this is not a problem as firewalls usually permit all traffic on all ports for all devices. Once the internet is involved where the traffic has to traverse a NAT and firewall we start to run into problems. In the Avaya example above it can pick a port anywhere in the range of 49152 to 53246. You can't just open this port range to the internet. A range of 4000 ports open isn't very secure.

How SIP is meant to work on the internet As with all network traffic one endpoint must initiate the connection first. This means at least one port must be open using port forwarding to the VoIP switch. SIP usually runs on port 5060. For the two offices to call each other both sites must have this port being forwarded to the phone switch. When you read documentation on SIP most of it will say that this is all you need to do...But in all likelihood this is not the case.

The following happens when you dial a VoIP number:

You dial the number and your local VoIP switch matches this up with a site ID which locates the public IP address of the remote location. Your local VoIP will connect to the remote IP on port 5060 using SIP (which is why the port must be open). The two phone switches now negotiate and set up the phone call. Several things are done in the negotiation process but the most important one (for this article) being the ports that they will use to transmit the UDP voice streams.

The problem here is that SIP doesn't know it is behind a NAT. Let's say your local switch IP is 192.168.1.1 and the remote IP is 192.168.2.1. Although NAT modifies the SIP packets to the public IPs when traversing the internet it does not change the actual data in the SIP packets themselves (the payload). It is the payload that contains the information about what ports and IP addresses to use for the actual phone call. The local VoIP tells the remote VoIP (via SIP) to send voice data to its local IP of 192.168.1.1 and vice versa. As we all know this is never going to work as internet routers drop packets from and to private IP addresses. Once the call is set up and the UDP voice data actually starts transmitting it will be sent to private IP's and consequently dropped. So how do we fix this?

STUN Stun stands for Session Traversal Utilities for NAT and as you may have guessed by its name it is a collection of utilities to aid in the traversal of a NAT devices.

STUN (as in our case) helps a program or device learn whether it is behind a NAT and modify packets accordingly. It requires the help of a 3rd party server on the internet known as a STUN server. This now means that our VoIP phones can modify their SIP content to contain the public IP instead of the private one. Some of you may be thinking this same problem also affects ports.

It is common with NAT to also change the source port of an outbound packet to a new randomly generated one. When the remote device responds it does so to this new random port. When packets come back in on this port NAT allows it through because it mapped this port to the internal client. As you might have guessed it this is also an issue for SIP. The STUN server also takes this into account. The STUN client (the VoIP switch) sends a UDP packet outbound on the port it wishes to use for the VoIP call to the STUN server. This will be NATTED to the public IP and a new port number. The STUN server sends this information back allowing the VoIP switch to learn its public IP and mapped (modified) external port for the voice traffic. Now we have all the info we require to modify the SIP data with the correct information to traverse a NAT. The local switch now contacts the remote switch via SIP and tells it to send the UDP voice call to its public IP and public port. Once this data comes back the NAT has a mapping for this in the NAT table and sends it to the internal VoIP switch. This how I thought it should work...Have you found what is wrong with this yet? I was stuck on this for a while...

The reason I was stuck was not through a lack of understanding the technologies (honest ), it was because of the stupid documentation (from Avaya) I had on setting up SIP and my confidence in that it was right. I checked everything again and found I had done everything correctly then it hit me...I thought "Hold on, when the UDP voice packets start coming in ON A RANDOM port how does it get through the NAT device when the only port forwarding I have is 5060 for SIP???"

I mislead you above a bit on purpose to see if you could spot it yourself. I said there was a mapping for the incoming UDP traffic in the NAT table but there isn't. You, like me may have assumed this because you don't have to port forward any other ports. The only way traffic can come into your network through a NAT without port forwarding is if it was first requested from an outbound connection. The outbound connection adds the entry in the NAT table to map incoming packets on this port to the internal client. This added to my confusion. The documentation clearly states you only need to port forward 5060 but the voice calls use random UDP ports so how do these get past the NAT? If you are still confused it will be because you don't understand (or have forgotten) one fundamental difference between UDP and TCP which is very important for us here.

TCP requires that one end point must first establish a connection for data to be sent back. As we know you have inbound and outbound connections. If I am making an outbound connection then it is an inbound connection at the other end. And inbound connection requires port forwarding which we don't have set up in this scenario. Also for data to be sent back the socket MUST BE ESTABLISHED. This is very important as it is not a requirement of UDP. UDP is connection-less remember (see The Differences Between TCP and UDP for more info). It can send data without ever being aware of the remote location. It is this key difference between TCP and UDP that allows you to traverse a NAT using UDP without port forwarding. The technique is called UDP hole punching.

UDP Hole Punching Let's add all the technologies so far to get a working solution. The two VoIP switches learn of each others public IP and ports to be used via the STUN server. They then use SIP on port 5060 to send this information to each other then they use UDP hole punching for the delivery of the VoIP packets.

UDP hole punching is a clever technique. It works by "punching" holes through the NAT device to create the NAT mappings. The local VoIP sends UDP packets to the remote VoIP to the port and public IP it was told to use from the SIP data. When this data hits the NAT device at the remote location it will not be delivered because there is no port forwarding in place and no outbound data has been requested yet. The exact same process happens from the remote VoIP to your local VoIP and packets are dropped as well. The purpose of this though is not to send the packets, it is to "punch" a hole through the NAT and create a mapping of the external port and IP to the internet port and IP consequently allowing incoming traffic on this port. As this happens at both ends we now have NAT mappings for these ports to the internal clients. Because these mappings now exist the NAT device sees these as outbound requests and will accept new packets coming back in on the same port. So in summary the first packet exchange will always fail from both parties but this "punches" holes through the NAT allowing all subsequent traffic to pass through. This is why you don't need to port forward these ports when using UDP. This technique is exclusive to UDP because UDP doesn't guarantee or even check as to whether the packets arrive. When the first packet fails it doesn't matter because the sender doesn't even know it failed (as UDP does no error checking), it just sends more UDP packets. This won't work with TCP because it creates a socket before sending data. As the initial packet will always fail TCP will error and keep trying to establish a socket first before sending any data. The socket will never connect so no data will be sent.

So Why Does The Thing Still Fail?? OK, sorry for the long post but I am big believer that the best way to learn is by the teacher (me, ha) leading you down the path so you solve it yourself rather than me. This is the last bit now I promise.

If you never knew about UDP hole punching then you would naturally think that you need to open ports to allow the UDP traffic through. This would explain why you get no voice at all. But what about one way traffic? This means that the port is open at one end and not the other. How is it possible to have UDP hole punching working at one end and not at the other when both NAT devices are configured the same?

In all likelihood you have different types of NAT at each site. To complicate things more NAT isn't standardised and there are various implementations of it. In an ideal world the documentation I read about setting up SIP would be correct because UDP hole punching would take care of the port forwarding of the UDP traffic. But as we often find out this is never the case...

It gets complicated and I am not going to re-invent the wheel. What you are looking for is what type of NAT device you have. It is probably a symmetric NAT as this is the one that is incompatible with STUN. Yes this is the problem!! STUN doesn't work with a symmetric NAT, here is why.

All the other types of NATs allow traffic from different IP's to come back into the network as long as it is on that port regardless of where I sent the packets to. So if I connect to the STUN to learn the external IP and port to use for VoIP this mapping now existing. A DIFFERENT IP can send packets to me as long as they use the same port I sent the UDP packets out on. In other words once a mapping has been created and linked to the internal client it will accept connections from any IP as long as it is on this port. This is not allowed in a symmetric NAT. An outbound packet sent to a specific IP and port will only allow packets coming back from that IP and port. So, we do the same as above and contact the STUN server to get our public IP and port. This info is sent to the remote VoIP via SIP. It now tries to send data back to your local VoIP via this port but because it is a different IP a symmetric NAT blocks it. This NAT mapping is exclusive to the STUN server. To allow data to come in from the remote VoIP which is a different IP a new mapping must be created, which uses a different port... As you can see this is a problem because the port that will be used for the actual UDP voice call is different to the one the STUN server detected. Because the ports are dynamic and STUN won't work, your local VoIP can never learn what that external port is to be used for the traffic to and from the remote VoIP.

This is why you get one way traffic in some scenarios. If both NAT devices are non symmetric NATs they will get the correct information through STUN and voice flows both ways ok. If one device is symmetric and the other is non symmetric only one of them can get the correct info through STUN and data can pass one way producing the one way audio. If both are symmetric you can't hear anything at all because traffic can't get through either NAT device.

So How Do I Fix It!?!? Buy a new NAT device! One that isn't a symmetric one!!

Replacing your NAT device is one solution but the other is far more simple than the you might think. All you need to do is the following:

On your phone switch (Avaya in my case) reduce the dynamic port range. How many VoIP calls do you think you will have going at any one time max? Most of you reading this will be 10 at a guess, maybe 20. In my case the range was 49152 to 53246 so I reduce the max range to 49162 giving me 10 ports. On your NAT device set up port forwarding for the 10 ports to your VoIP switch.

The reason this works is because you are effectively mapping your external port numbers to the same internal port numbers (remember that NAT replaces port numbers with random ones by itself). You now know that your VoIP will only use a range of 10 ports and STUN will fail. This means that the SIP information sent over to the remote VoIP will actually list the internal ports and not the NATted ones. This means your traffic goes out on random ports (because it is NATTED) but the remote VoIP sends back to ports in the range you specified in your local VoIP. There won't be a NAT mapping for this of course and it should be blocked but this is why you use port forwarding instead. Have Fun!

To read the full article of this go to One Way Audio VoIP.

Thursday, April 4, 2013

Good reputation for the phone -- from Bell to Voice over internet protocol and Beyond

Everybody knows the storyline of Alexander Graham Bell inventing the phone.
There is the story of Bell's first words, "Mr. Watson, come here, I wish to see
you," that's indelibly printed on our minds from childhood. However, what some
have no idea would be that the telephone was created inside a similar form concurrently
by Elisha Grey, who lost the patent fight by merely a couple of hrs in 1876.
Bell was effective mainly while he understood not just electricity and
the workings from the telegraph, but were built with a thorough knowledge of acoustics,
which most creators were not everything acquainted with. While keeping focused around the
mechanics, they were not considering the initial characteristics of seem that
made transmitting speech a lot more complex than simple clicks from the
telegraph. Having a background in music and acoustics, Bell could address these
issues more readily.
Chance happening plays role in acceptance
The phone might not have acquired such wide acceptance if, as though by
serendipity, the Centennial Exhibition had not been scheduled in Philadelphia for just a couple of several weeks later. Hidden away in a small table within an obscure corner, Bell
didn't aspire to garner much attention until he came the interest from the Emperor
Dom Pedro p Alcantara of South america, who had been astonished by the invention. Immediately,
all of the researchers attending were clamoring to review the brand new invention.
In the beginning telephones were seen as an fad which were more to keep things interesting
reasons than commerce, until newspapers and banks started grudgingly with them
to share information rapidly due to free phone installations. The
publicity out of this built them into immediately popular and shortly phone trades
were placed in most major metropolitan areas.
Within the 1880's metallic circuits were developed that permitted for lengthy distance
calls, which increased in recognition gradually due to the price. Later, within the
1890's, it was overcome by the introduction of the party line to ensure that families,
particularly in rural areas, could split the price of a line.
Direct dial triumphs over operator interference
Until 1891, calls were subjected to by exchange operators, however this ended
away with with a Might guy who invented the direct dial system while he
was paranoid enough to consider the operators were delivering his business calls
to rivals. He was an undertaker.
In 1927, the very first transatlantic call is made over radio waves. Throughout both
World Wars, telephone developments increased by advances and bounds due to heavy
investing through the Defense Department. Improvements caused by war-time
experiments incorporated Bell Telephone's first mobile telephone system, which
connected moving automobiles to land lines via radio. Remarkably, it was as
early as 1946, annually which saw the introduction of coaxial cables for major
transmission enhancements with less interference.
Within the 1960's, telephones were a lot an element of the landscape that Bell
Telephone could no more continue using the alpha-number codes for telephone
trades (remember using amounts like Normandy-7610?) and switched to longer,
all number amounts. Simultaneously, transatlantic cables appeared to be laid to
accommodate the elevated interest in intercontinental telephone communication.

Probably the most important changes in telephone history was the launch from the
first telephone satellite in This summer of 1962. TelStar would be a partnership between
Bell and NASA and totally changed telephone communications immaterial which had
come before. Satellites in geosynchronous orbit could certainly be employed for lengthy
distance calls without resorting to lounging endless lines of cable and did away
using the problem of frequent cable damage and repair.
Fiber optics move seem in the speed of sunshine
Fiber Optic Cables were first employed for telephone transmission in 1977, when
both GTE and also at&T laid Fiber Optic lines in Chicago and Boston. Through the
mid-1980's, fiber optic cable was the most preferred approach to telephone
transmission, because it could have a much greater amount of calls with a smaller amount
interference. Because it also carries information faster and farther and resists
lightning strikes, the benefits soon grew to become apparent to the pc along with other
industries too.
Once the U . s . States government deregulated telephone service, AT&T, the
telephone communications giant, was immediately inundated with competition from
MCI, Sprint and 100s of more compact local companies and shortly fiber optic lines
were snaking round the country, being dropped with natural privileges of way
for example gas lines and railroads. Telephone costs dropped along with a new telephone
service revolution had begun.
Cell phones take the next phase forward
In 1973, Dr. Martin Cooper of Motorola Corporation made that which was most likely the
first mobile ask a transportable phone known as the Dyna-Tac. Following a
effective test run, he required it to New You are able to introducing we've got the technology towards the
public. By 1977, the mobile phone choose to go public, however these first models were
cumbersome and usually utilized by individuals who have been accustomed to keeping in contact by
two-way radio. In no way were they considered something which everybody should
have or perhaps want. These were initially considered a alternative for that mobile
phones already around. The main difference with cellular was using small
"cells" for selection of service to be able to boost the capacity of calls handled,
significantly growing the amount of calls able to be produced by
mobile/mobile phone previously in a single area.
The very first cellular services used analog technology operating at 800 Megahertz
inside a continuous wave. With time, the energy needs of phone callers elevated and also the
industry standard moved to some more reliable 1850 MHz with Computers. In 1988, the
Cellular Technology Industry Association was created to build up recommendations for
cellular service companies and steer developments and enhancements within the cell
phone industry. You will find now more than 60 million mobile clients,
an astounding number for any service that's been in a commercial sense readily available for only
three decades.
Next stop, digital!
While nearly all customers have analog mobile phones, the brand new frontier
is certainly digital. Instead of utilizing a continuous wavelength for
transmission, digital chops in the wave into discreet bytes of knowledge and
transmits them in "pulses" of information. The up side for this is the fact that digital signals tend
to become safer when sent than analog. It is also a far more efficient use
of bandwidth and offers clearer, cleaner seem quality. Should you transmit video
clips or photos (as with the brand new video or picture mobile phones) digital is a lot
faster, and will also be the option hands-lower when you are integrating the mobile phone
and also the Internet.
There's a caveat however, for the reason that digital presently sends through three
different technologies. This may lead to some issues with coverage. If you're
on the TDMA (time-division multiple access) system and driving a place that
has digital coverage that's CDMA (code-division multiple access), you can run
into problems.
The solution for the time being may be the combined analog-technology that companies
are offering. This provides the truly amazing coverage of analog if needed and also the great
quality and speed of Computers/digital.
Telephone conferencing arrives in this area
The very first real "audio conferencing" might be stated to possess been the party
lines setup in the first many years of telephone use, although in those days the
benefits of a celebration line for multiple customers were not understood except in an effort to
cut costs. Actually, the truth that multiple people in various locations could
get and talk at risk simultaneously was considered an annoyance and was
positively frustrated as "eavesdropping."
When party lines were eliminated, the thought of multiple conversations were
forgotten until companies started seeking ways to keep conferences via telephone
to be able to save travel expenses and link teams together over distances. The
concept was revisited with new parameters this time around limitations must be
in position, and also the lines needed to most probably only if needed and preferred.
Soon companies around the world were offering to coordinate conference
with companies according to either flat rates, monthly costs or based available
volume, having a trained operator establishing connections in between each participant
on the devoted line to ensure that groups as high as ten could talk concurrently. Their
bulk lengthy-distance rates enabled these to pass savings along for their clients.

Telephone producers like Polycom, AT&T and Panasonic also leaped around the
bandwagon, developing office telephone that enabled customers to dial a
client, use them hold then contact a 3rd party and fasten the 3
phone callers into one conversation. The Web soon introduced competition, however, to audio conferencing and also the
price of lengthy distance phone calls. Despite lower rates according to bulk
buying and group rates, Internet telephony is attaining ground on traditional
telephone audio conferencing since it is a lot cheaper.
Voice over internet protocol, the web and also the eventual demise of traditional telephone
conferencing
Voice over ip (Voice over internet protocol) soon grew to become popular for telephone
communications since it eliminates the toll charges of normal telephone
connections. Dial-up online connections provided near "toll-quality" voice
communications, with broadband connections the elevated data throughput
enabled companies to make use of Voice over internet protocol along with other Internet services like
data discussing and interactive video. Using the money saved using Voice over internet protocol, it appears
apparent that using analog phone lines for telephone conferencing will quickly be considered a
factor of history.
Most Voice over internet protocol audio conferencing technologies provide you with the capacity to network
multiple groups or parties from different physical locations, which makes it
easy to hold an worldwide sales people meeting. Web conferencing solutions
using Voice over internet protocol from companies for example Voxwire, TTCGlobalTalk and VoiceCafe can
provide almost limitless conference room seats for any meeting, limited only by
the bandwidth from the Voice over internet protocol server.
As the web turns into a standard a part of any suite of equipment for your office,
analog telephone services, audio conferencing as well as their equipment will quickly
become obsolete. Audio conferencing will be performed increasingly more on the web
using Voice over internet protocol based web conferencing services offering effective collaborative
services which go beyond just simple voice communications. For putting calls,
digital phone services like Vonage and Packet8 that implement Voice over internet protocol over
broadband connections will part of to provide less costly, more comprehensive
calling choices to meet the requirements of people and firms entering the
future.
This short article around the "A Brief History from the Telephone" reprinted with
permission.

Copyright © 2004-2005 Evaluseek Posting.