Yay.com loading

Loading

  • My Shopping Cart (0) £0.00

  • Register

What are ringback tones and how are they created for VoIP phones?

Back to latest posts
What are ringback tones and how are they created for VoIP phones?

If you've ever made a phone call it's highly likely that you'll have heard a ringback tone before, although it's possible you've not really paid much attention to one until now.

What is a ringback tone?

The ringback tone, also known as the 'ringing tone' or sometimes as 'audible ringing', is the tone heard by the person who initiated the phone call. This ringback tone is heard while the phone receiving the call simultaneously rings.

Around the world the ringback tone will typically take the form of a repeated ringing noise and it's there to assure the caller that the called party's phone is ringing. In some countries, such as India, ringback music or 'caller tunes' are offered instead of a ringback tone.

Ringback tones are actually a throwback to circuit switched phone networks such as PSTN (Public Switched Telephony Network) when these tones helped indicate that a connection had been initiated. It is now something that callers have come to expect when making a phone call both home and abroad. For example, in the case of making a call from the UK to Spain, a Spanish ringback tone will be heard.

Ringback tones and VoIP phone systems

Ringback tones are not generated by the actual called device, but by the service provider or network instead. In the case of VoIP phone systems, whisper it, ringback tones aren't necessarily required, but they are created to maintain the user experience callers expect when making calls.

The different parts of a VoIP ringback tone

Ringback tones through a VoIP system comprise of SIP-based (Session Initiation Protocol) commands sent as part of a SIP Invite when a call is initiated. They are known as "extension headers" and help generate the various tones. These commands set the frequency, rhythm and duration of the tone, with each country having their own unique ringback sound.

The first of these headers is the "Country" SIP header which specifies the country where the phone number is located. This header is made up of the following parameters, with the country represented by a two letter country code eg 'fr' for France:

Country = "Country" ":" country-code
country-code = 2(lower-case)
lower-case = %x61-7a ; lowercase letters a-z

The second header is the "Ringback" SIP header. This is where the frequency and cadence of the tone is specified. This header is made up of the following parameters:

Ringback = "Ringback" ":" frequency ";" cadence
frequency = 1*DIGIT [("x" | "+") 1*DIGIT]
cadence = duration ";" duration *(";" duration ";" duration)
duration = 1*DIGIT ["." 1*DIGIT]

The frequency parameter specifies the tone, with the numbers representing the sine-wave frequency in Hertz. Where the format contains two numbers eg "440 Hz + 480 Hz" two frequencies are played at the same time to make a new sound. So in instances where ringback tones might sound like there are two notes ringing at once, that may well be because they are! A good example of this is the ringback tone used in the UK. In examples where the format is "425 Hz x 24 Hz", the first frequency number is modulated by the second frequency number to generate the tone.

The cadence represents the rhythm of the tone, while the duration specifies amount of time.

To illustrate the above, here are some examples of worldwide ringback tones broken down by their SIP characteristics.

United Kingdom
Code: gb
Frequency: 400 Hz + 450 Hz
- 0.4 seconds on
- 0.2 seconds off
- 0.4 seconds on
- 2 seconds off

United States
Code: us
Frequency: 440 Hz + 480 Hz
- 2 seconds on
- 4 seconds off

Spain
Code: es
Frequency: 425 Hz
- 1.5 seconds on - 3 seconds off

Netherlands
Code: nl
Frequency: 425 Hz
- 1 second on
- 4 seconds off

So when you next make a VoIP call, these commands will all help generate the simple tone that you hear, with all their various unique characteristics. Something to think about next time you pick up the VoIP phone!

Adrian

Posted by Adrian

Digital Marketing at Yay.com

Back to latest posts

1 All 01, 02 & 03 numbers. Off peak is 7pm - 7am weekdays & all weekend. All major UK & EU operators. 0845 and other premium or mobile operators may vary. Please use the number search to be absolutely certain of the cost that your call will incur. Unlimited EU calling is available to all major landline and mobile network operators in the European Union with the exception of Austria, Croatia, Estonia, Latvia, Lithuania. Fair usage terms apply.

View Desktop Site