Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recording for both directions? #118

Open
solarmon opened this issue Jan 15, 2021 · 2 comments
Open

recording for both directions? #118

solarmon opened this issue Jan 15, 2021 · 2 comments

Comments

@solarmon
Copy link

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.

@sobomax
Copy link
Member

sobomax commented May 20, 2021

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.

@solarmon
Copy link
Author

solarmon commented Jun 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants