Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

SIP Audio Problems: Difference between revisions

m
(7 intermediate revisions by 2 users not shown)
<indicator name="VoIP">[[File:menu-voip.svg|link=:Category:VoIP_Faults|30px|Back up to the VoIP Faults page]]</indicator>
[[Category:VoIP Faults]]
 
 
Here is a list of things to go through when dealing with VoIP Quality issues with VoIP calls, eg: calls breaking up, garbled audio, silence or gaps in the call.
 
= Brief overview =
Here is a very brief overview of types of audio problems, their cause and the fix. This is not exhaustive, and usually there isn't a quick fix and diagnosing and investigation is required.
 
{| class="wikitable"
! Type !! Typical Cause !! Typical fix
|-
| '''No audio''' || On mute, handset loose cable?! Firewall/NAT blocking traffic || Investigate firewall/NAT/ALG
|-
| '''Short silent gaps''' || Packet loss || Check internet quality
 
= Checklist: =
 
== NAT ==
If your phones are are on a 192.168.x.x or 10.x.x.x IP address then they will be behind a NAT router. Our [[VoIP NAT|VoIP and NAT]] page has information and tips if your phones are behind a NAT router and you have problems.
 
== Things to figure out ==
Dealing with audio problems can be tricky, we need to identify as much detail about when the problems happens to aid investigation.
* Exactly how is audio affected? gaps, garbled, delayed, silence after a few minutes, etc.
* Is the audio problem heard on call recordings - this feature can be enabled on the control pages
** Our call recording software has a large jitter buffer and rearranges out of order packets, so bear in mind it is possible for a garbled call to have a perfect call recording.
* Is the audio problem only on incoming or outgoing calls, or on both?
* Is the audio problem present on 'internal to A&A' calls - eg, if you call another A&A number such as our technical support. Or is it only affecting calls that are sent outside of A&A
* Does it affect calls to/from BOTH mobiles and landlines, or just one?
* If only mobiles, is it specific to a particular carrier, eg onle EE, or Three, etc
* Is the audio problem heard on both sides of the call, or just one? Which side?
* Test the above multiple times so as to be sure.
* If problem is outbound, then A&A Support can provide details on how to test making calls via the different upstream carriers that we use.
 
{| class="wikitable"
|+ SIP Audio problems, things to figure out
|-
! Question !! More info
|-
*| '''Exactly how is audio affected?''' || gaps, garbled, delayed, silence after a few minutes, etc.
|-
**| '''Heard on call recordings?''' || this feature can be enabled on the control pages Our call recording software has a large jitter buffer and rearranges out of order packets, so bear in mind it is possible for a garbled call to have a perfect call recording.
|-
| '''Just incoming or outgoing calls,''' || ...Or on both? Knowing the direction us useful
|-
* Is the audio problem present on| '''internal to A&A' calls -OK?''' eg,|| if you call another A&A number such as our technical support. Or is it only affecting calls that are sent outside of A&A
|-
*| '''BOTH mobiles and landlines''' || If only mobiles, is it specific to a particular carrier, eg onle EE, or Three, etc
|-
*| Is the audio problem heard on'''Are both sides of the call, affected''' || or just one? Which side?
|-
*| '''If problem is outbound,...''' then|| A&A Support can provide details on how to test making calls via the different upstream carriers that we use.
 
|}
 
== Things to investigate ==
* (if non-A&A internet) Try a different Internet connection, including using a different ISP
* Try non-NAT
* -Disable/Enable any SIP ALG on the broadband router - if it's a feature
* If it's only the incoming audio that is broken, look for the jitter buffer setting on the SIP device and increase it bit by bit.
 
* Get a pcap and use Wireshark to decode it
* Wireshark can play audio with different jitter buffer settings so you can sometimes recreate audio problems from the pcap
* Wireshark can [calculate jitter and delta stats](https://wiki.wireshark.org/RTP_statistics) calculate jitter and delta stats]
** Packets can arrive bunched up, with gaps between, or out of order. Jitter is a measurement of this.
** Wireshark calculates jitter as per the definition in [RFC3550](https://www.rfc-editor.org/rfc/rfc3550#page-94) RFC3550] so it uses a standard formula.
** Delta is the time difference between arrival of RTP packets. Max delta is the highest gap between arrival of packets. If the max delta is greater than the jitter buffer, audio will start getting dropped. Each packet usually contains 20ms of audio, so for high enough max delta you'll start to lose audio in 20ms chunks.
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits