Conversation
- need to add mu-law encoding
bklang
left a comment
There was a problem hiding this comment.
This is very cool! Thank you for the contribution, this feature is something I wanted for a long time, but never got around to figuring out. Kudos!
I've left some comments that will need to be addressed prior to merging this. Let me know if you need any more suggestions or feedback.
| * Change: Call limits (`number_of_calls`, `concurrent_max` and `calls_per_second`) no longer have default values for simplicity of UAS scenarios. The value of `to_user` now defaults to the SIPp default of `s`. | ||
| * Feature: Support for setting rate scaling independently of reporting frequency via the new `calls_per_second_interval` option. See also https://github.com/SIPp/sipp/pull/107 and https://github.com/SIPp/sipp/pull/126. | ||
| * Change: Call limits (`number_of_calls`, `concurrent_max` and `call_rate`) no longer have default values for simplicity of UAS scenarios. The value of `to_user` now defaults to the SIPp default of `s`. | ||
| * Feature: Support for setting rate scaling independently of reporting frequency via the new `call_rate_interval` option. See also https://github.com/SIPp/sipp/pull/107 and https://github.com/SIPp/sipp/pull/126. |
There was a problem hiding this comment.
Why are you changing old Changelog entries? It looks like you are changing calls_per_second to call_rate to match the other variables as part of this PR. That's fine, but the change note belongs in the current release.
There was a problem hiding this comment.
sorry for late reply. I changed the command for my own need, but didn't rollback when make PR. sorry for that, and will change it soon. Thanks for review!
| - need spandsp library for encoidng a-law and u-law | ||
| * Debug the DTMF packet generation (end of event) | ||
| - reduce the duration to 200 milliseconds | ||
| - change obsolete rfc2833 to rfc4733 |
There was a problem hiding this comment.
To merge this into the main branch, would you move these notes into appropriate areas of the README?
| module SippyCup | ||
| module G711 | ||
| extend FFI::Library | ||
| ffi_lib 'spandsp' |
There was a problem hiding this comment.
This new dependency on spandsp needs a couple of things:
- Document how and where a person can get spandsp, if they don't already have it
- Ensure sippy_cup continues to work the way it did before if spandsp is not available
| iptr = FFI::MemoryPointer.new(:int16, samples.size) | ||
| optr = FFI::MemoryPointer.new(:uint8, samples.size) | ||
|
|
||
| #puts samples.join(' ') |
|
Hello @jinserk Do you happen to know how this could be fixed? Or what I could do to make it work? Maybe downgrade? Sorry for asking this here, but I couldn't add an issue to your fork. |
Please consider this code updated as: