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

Added play_dtmf stuff #141

Merged
merged 2 commits into from
Mar 20, 2016
Merged

Added play_dtmf stuff #141

merged 2 commits into from
Mar 20, 2016

Conversation

vodik
Copy link
Member

@vodik vodik commented May 21, 2015

This is the patch from #82 but rebased onto current upstream master.

@vodik
Copy link
Member Author

vodik commented May 21, 2015

If you guys want this cleaned up in any way before landed, feel free to ask.

@wdoekes
Copy link
Member

wdoekes commented May 27, 2015

Sounds awesome. Although I tested none of it ;)

It does need some minor code style cleanup here and there.

And it needs documentation. Unfortunately there is no documentation in this repository. (There is https://github.com/SIPp/sipp-docs -- but it hasn't been given much recent love.) Do you have an example scenario that works with this? If that were added into the binary, it would be sort of self-documenting.

@vodik
Copy link
Member Author

vodik commented May 28, 2015

Sounds good to me. I'll be a little while, but yeah, I can tackle that. We're interested in using this internally since we've been doing what this patch supports with pcap recording.

@vodik
Copy link
Member Author

vodik commented May 29, 2015

I wonder if it makes sense to setup a gh-page for sipp then, btw. So we can host up-to-date docs here.

@rkday
Copy link
Contributor

rkday commented May 29, 2015

Worth noting that I've got http://sipp.readthedocs.org/en/latest/ (built off https://github.com/SIPp/sipp/tree/documentation) - I think moving to reStructuredText and readthedocs.org is better than the crusty Apache Forrest stuff at https://github.com/SIPp/sipp-docs, but the migration is a bit of a pain so I haven't got very far yet.

@vodik
Copy link
Member Author

vodik commented May 31, 2015

@rkday Oh damn, I didn't see you started doing this. I would have asked to help contribute instead of going off on my own with this.

I took a different approach with gh-pages/jekyll (but also didn't get very far). You can see what I have thus far at http://vodik.github.io/sipp (haven't bothered with a theme yet). As far as format goes, I went with markdown but I'm familiar with rst as well.

@vodik vodik force-pushed the master branch 3 times, most recently from 231edd4 to 341fb97 Compare July 16, 2015 20:58
@a-tinsmith
Copy link

Hi,

Do you have any plans to merge this commit in the near future? We use SIPp for testing in our organisation and not having DTMF is a big impediment.

Thanks

@wdoekes
Copy link
Member

wdoekes commented Mar 8, 2016

Hi @a-tinsmith, does this branch work for you in its current form?

If so, I can probably get it cleaned up and merged quickly.

@wdoekes
Copy link
Member

wdoekes commented Mar 8, 2016

(At @vodik and others: I think I'll branch current master to a 3.5.x branch so we can get this new feature into master (3.6.x) only, and leave 3.5.x for trivial fixes and features only.)

@wdoekes wdoekes self-assigned this Mar 8, 2016
@a-tinsmith
Copy link

Hi @wdoekes,

Thank you for the prompt reply. Yes, it works for me. The merge of this feature into the main codeline will be much appreciated.

@vodik
Copy link
Member Author

vodik commented Mar 8, 2016

Hey, yeah, I'm still around. I've give it a look over. I really need to resume my work here anyways.

@wdoekes
Copy link
Member

wdoekes commented Mar 8, 2016

@vodik: I created a branch/3.5 for the purpose of bug fixes to currently released 3.5.x versions.

This one can go into master as a new feature, as far as I'm concerned. (Fixes to both will have to be cherry-picked from master.)

@vodik
Copy link
Member Author

vodik commented Mar 18, 2016

I'm going to clean it up a bit and merge it onto master then, and then I'll start using it. But looks like its an incomplete implementation. A, B, C and D tones are missing.

@vodik
Copy link
Member Author

vodik commented Mar 18, 2016

And little endian only as well.

Signed-off-by: Simon Gomizelj <[email protected]>
@vodik
Copy link
Member Author

vodik commented Mar 19, 2016

Okay, looks like I either broke something or this didn't quite work. I'm not seeing RTP events in Wireshark if I use this...

I'll see what I can figure out this weekend.

vodik added a commit that referenced this pull request Mar 20, 2016
@vodik vodik merged commit 601b69a into SIPp:master Mar 20, 2016
@vodik
Copy link
Member Author

vodik commented Mar 20, 2016

Okay, so this patch works correctly, the problem is it hardcodes the rtp payload type to 96 (the first dynamic payload). The scenarios I was testing this patch inside had set port 101 in the SDP.

So that's something that still needs to be addressed, but I guess shouldn't prevent the code from going in if people are finding it useful now.

Enjoy @a-tinsmith!

@wdoekes
Copy link
Member

wdoekes commented Mar 23, 2016

Thanks for picking this up @vodik!

@a-tinsmith
Copy link

Thanks a lot! Much appreciated. :)

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.

5 participants