3 karma · joined Nov 16, 2015 (11y ago) · 2 submissions
comment 9y ago · link · parent
In SDP you specify a list of the codecs you want to use in the media stream. The switch you are hosted by (either your Telephone Service Provider or Carrier) then determines which of these codecs match the other leg of the call it will be bridging you to, and chooses one of the codecs you provide to use for the media session. Sometimes it will be decide to transparently transcodes the call to another codec if required by the destination network. The payload in the media stream (called the RTP stream or Real-time Transport Protocol stream) will be encoded in the codec you specify, but may be transcoded on the way to the destination if required by the intermediary hop.
Among the codecs you could use, there are high definition codecs like G722 that sound really great and are becoming much more popular (this is the skype high definition audio codec IIRC), but if a call traverses the PSTN at all, that call will get transcoded down to G711U (USA) or G711A (everywhere else) and the quality will be much lower. If a call stays pure voip, there is a chance it will stay at G722 but typically that is the problem, you will encounter when calling to other phone systems that are still on the old circuit switched infrastructure.
So ultimately the quality of the call is dependent on these factors, how much bandwidth you have available, what codecs your VoIP provider supports, the quality of the path call takes and the codecs supported by the carriers the call traverses to get from your provider to the destination phone, and the type of endpoint you are calling IE: if you are calling mobile phone, a phone on another voip provider, or an old POTS line.
A POTS (plain old telephone service) line is (now sort of) dedicated from point to point. You might be surprised to learn that on the backend, most carriers use a lot of voip for internal network or handing off calls to other carriers. The old phone system reserved a 64k circuit for the entire path of the call which only contained the voice data for that specific call. This provides some quality guarantees are there that do not exist for packets traversing the public internet. VoIP on a private network with sufficient bandwidth and QoS for the media stream is always going to at least sound as good, if not better than the POTS network because the compression to squeeze the voice data down to a 64kbps was not very good when that stuff was invented. With voip you can use the new codecs, which nearly always results in a better call quality. This all depends on the provider you are using though, if they are hosting their services on AWS and using crappy carriers, your call quality will suffer.
comment 11y ago · link · parent
Bluebox was an old project to provide a GUI for freeswitch. Kazoo has been the focus for the past 4 years, bluebox is now a community project if I recall correctly.
Kazoo is a multi-tenant hosted pbx and trunking solution. It is an erlang cluster which uses amqp as a messaging bus and erlang apps which provide centralized call control and features across multiple freeswitch (media server) and kamailio servers (sip proxy). A shared cluster wide database is provided by bigcouch.
The difference between this and a cluster of asterisks (or broadcloud, kandy etc) is that you as a user or account, are not tied to a single server, any phone on your cluster can utilize the resources of the entire cluster as the erlang apps and AMQP bus provide a glue joining all servers in the cluster into a single "switch". Most of the "cloud" telephony out there is not distributed, it is mostly a lot of boxes with at best HA fail-over to another box that sits in as a warm standby with a unified provisioning layer to hide this from the users.
You can checkout kazoo at github http://github.com/2600hz/kazoo
There is a kazoo all in one ISO, which lets you run all the services in a cluster via a single server. You can get it at http://repo.2600hz.com/ISOs version 2 has the new GUI monster-UI.
Edit: phone does not a good comment make, spelling broken links ...