recording for both directions?
solarmon opened this issue · comments
Hi,
rtpproxy version: 2.0.beta.20150106
I have enabled recording using -a:
-a -r /tmp -P
When I look at the capture I see that there is a .o.rtp file and a .a.rtp file. Each one only seem to have the RTP stream in one direction - i.e. the view in Wireshark only shows RTP traffic in one direction.
What I'm looking for is to be able to see the RTP capture for a particular interface for both directions. Can this be achieved using the rtpproxy recording feature, or do I have to resort to packet capture on the particular interface. But then I won't have the benefit of easily finding the capture for a particular session/stream of a call.
Thank for you any help, and please let me know if any further clarification is required.
Hi @solarmon thank you for your interest. There is indeed a way to put all packets from both directions into a single file, in order to do that you would need to enable PCAP mode (which you do from the looks of it with -P) and enable "single file" mode by passing on "S" modifier to the record command. As far as I can tell, this modifier is supported since 2.0 version. Hope it helps, let me know if we can close this issue now.
Hi @sobomax
Thanks for the suggestion. When you say "and enable "single file" mode by passing on "S" modifier to the record command" is that in the same command line options as above, or do you mean in a command coming from opensips?
I'm not quite sure where this "S" modifier should appear - please could you give an example.