This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

SIP Issues

1

Okay hopefully someone will be able to shed some light on what I am trying to do. Keep in mind that I am a phone guy and not a Network guy!

I am having a terrible Audio Issue with a voicemail server that is using SIP to connect to the PBX. I have been able to determine (through wireshark) that the audio is OK when leaving the server. I have done that by capturing a call and playing it back through the player.

So for example I call into the auto attendant and the audio is terrible, sometimes cutting out for up to 4-5 seconds. During that test call I had wireshark capturing this event. I then played back the file and the audio is fine. So logic tells me that the loss is happening after it leaves the server.

So the question is how to I determine where the loss is occuring. Can I play that file on the receiving end of the call. Meaning the IP address that the packets are sent too? For example the IP of the Voicemail Server is 10.0.0.1 and the IP of the phone equipment is 10.0.0.2, I need to know if there is a way to listen to it when it hits 10.0.0.2. If anyone is knowledable in this area, and could possibly help me out, that would be great!

Thanks Joe

asked 29 Apr '11, 07:28

JoeD's gravatar image

JoeD
16112
accept rate: 0%


One Answer:

0

This is usually indicative of a packet size mismatch. If you have captured the SIP/SDP messages work your way down into the media negotiations. There will be ptime attributes in their which state what the desired packet size is (in ms of audio in the specified codec). Rough guess is 20 (ms) for codec 0 (G.711 u-law). That should lead to an RTP stream with 160 octets payload (G.711: 80 8it samples per 10 ms). If your media interface at the PBX side gets RTP packets with a size it does not like it may have trouble digesting them. Also try to figure out from the documentation what the allowed packets sizes are.

answered 30 Apr '11, 01:50

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%