THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

UDP/RTP PL96 in a routed network

Good day, I have deployed an intercom like phone system in a company wide network with subnets. There is central dispatcher who can talk to any remote site through a UDP/RTP stream with opus encoded payload. The voice transmission works perfectly well, no matter how I set the payload type (either 0 or 96).

Now I wanted to add an "in service quality monitoring" feature to capture UDP/RTP on the embedded Linux MCU's at the remote sites. So I have installed Tshark at the remote site MCU's.

In my laboratory tests I had only one subnet. No matter how I was setting the PL type (0 or 96) I could always capture the UDP/RTP packets at the remote end.

After rolling out the new SW in the customers network I observe this:

  • encoding/decoding in the same subnet: capture works for both PL types (0 and 96)
  • encoding/decoding in different subnets: capture only works if PL type is 0 (zero)
  • encoding/decoding in different subnets: no capture for PL 96 but voice streaming is ok (packets are received in the destination subnet)

For me that is mysterious?

For me PL 96 would be a nice feature because I found an article how to decode captured *.pcap to an audio file.

In that case the admin of the system would be able not only to analyze the stream, but also to listen to the stream how it is received by the user at the remote end.

I would be happy to receive an advice.

sporex's avatar
1
sporex
asked 2021-06-29 15:52:28 +0000
edit flag offensive 0 remove flag close merge delete

Comments

I don't have a way to test this. My thought is an udp offset filter.

BigFatCat's avatar BigFatCat (2021-06-29 19:36:53 +0000) edit

You say 'capture only works...', but is it? Does capturing of the packets not work, or rather is the dissection of these packets different than what you expect? What do you capture? Sharing sample capture files of working / not working situations is illustrative. Use any publicly accessible file share site for this, and post links here.

Jaap's avatar Jaap (2021-06-30 05:49:20 +0000) edit

@Jaap :

This is the capture with PL96 captured in the same subnet


And this is the capture with PL0 captured on a different subnet. Pls dont mind the UDP packets on port 17002 as they are only for signalling. And pls disregard that one is multicast (port 8000) and the other is unicast (port 17000). In both cases the result is the same (PL0/PL96)

When I try to capture PL96 on a MCU in a different subnet with Tshark (which is CLI) I dont see any counter that increases, so no capture is taking place.

sporex's avatar sporex (2021-06-30 16:12:44 +0000) edit

BTW I am using capture filter "udp port xxx" that is all

sporex's avatar sporex (2021-06-30 16:17:33 +0000) edit

VLANs may cause problems for capture filters. I don't fully remember the sytax but something like "vlan and udp port..." may work.

Anders's avatar Anders (2021-07-01 06:40:25 +0000) edit
add a comment see more comments

1 Answer

0

sorry sorry sorry It was all my fault. The socket on the receiving host was not opened.

Chapter closed. Pls delete the question!

sporex's avatar
1
sporex
answered 2021-07-01 20:51:21 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer