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

add support for dtmf rtp events into rtpdump #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tsearle
Copy link

@tsearle tsearle commented May 16, 2018

No description provided.

@mcd500
Copy link
Contributor

mcd500 commented May 17, 2018

Hi @tsearle,

Thank your for creating pull request.
Do you mind elaborating your intention of adding dynamic payload id as the argument on rtpdump?

The rtpdump is for outputting parsed text format file or binary file from the listing network or a file.
So it is not made to add additional content to the output file from the argument of rtpdump.
It only meant to write the content of network data of a file to the output file.

And the patches only adding output for pt=10 and pt=11 which are L16 while there are many different Payload types.

Please refer the test format of the output file at the rtpdump section at the bellow link.
https://www.cs.columbia.edu/irt/software/rtptools/

@tsearle
Copy link
Author

tsearle commented May 17, 2018 via email

@mcd500
Copy link
Contributor

mcd500 commented May 20, 2018

Hi @tsearle,

Thanks for the explanation.
Are you evaluation dtmf in the RFC2833 in your automated testing?
How are you using the command option on rtpdump with your patches?

The output file from rtpdump must be acceptable as input file of rtpplay and rtpsend.
Is there a good way to keep the compatibility with them?

@tsearle
Copy link
Author

tsearle commented May 20, 2018 via email

@mcd500
Copy link
Contributor

mcd500 commented May 22, 2018

I have not tested by myself, from reading the source code of rtpdump with the patches and rtpsend, it probably needs deleting the lines which was added by the patches to use as a input file for rtpsend.

@tsearle
Copy link
Author

tsearle commented May 22, 2018 via email

@mcd500
Copy link
Contributor

mcd500 commented May 27, 2018

Thank you for trying the saved file from rtpdump with your patch as the input file on rtpsend.
To include your patches, the people, who is going to use rtpdump with you patches, would greatly appreciate how to use the added new dtmf option, for example, the usage of your testing.
Would you mind replying my question earlier on this?
I am not the expert on dtmf packets, and it does not seem to have the value for the following parameters in the header. What should be stored on these parameters?
pt_map[r->pt].enc, pt_map[r->pt].ch, pt_map[r->pt].rate

@tsearle
Copy link
Author

tsearle commented Jun 6, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants