Summary:ASTERISK-20696: Wideband/variable bandwidth modification of app_jack
Reporter:Mathis Schmieder (mathis)Labels:
Date Opened:2012-11-18 12:30:26.000-0600Date Closed:2014-06-26 07:47:39
Versions:11.0.1 Frequency of
is related toASTERISK-23836 JACK_HOOK with more than 8Khz
Environment:Attachments:( 0) app_jack.patch
Description:I have modified app_jack in order to allow it to use other bandwidths than 8kHz. An additional argument (r) was added to the app, allowing the setting of the sample rate and therefore the bandwidth in Hz. An appropriate channel format will automatically be set up. The main reason for this was that I wanted to be able to use the Jack hook in a wideband environment, which now is possible.

I did test the modifications for both JACK and JACK_HOOK and found them to be working but additional testing might be appropriate. Attached you will find the patch to be applied with patch -p1 inside of the asterisk source dir.
Comments:By: Rusty Newton (rnewton) 2012-11-26 11:11:15.472-0600

Be sure your patch applies against trunk, and paste the Reviewboard issue URL on the JIRA issue.  Thanks Mathis!

By: Rusty Newton (rnewton) 2012-11-26 11:17:10.316-0600

added link to devlist conversation

By: Mathis Schmieder (mathis) 2012-11-26 11:27:45.947-0600

Automatic bandwidth and sample rate detection is working, but I ran into some problems with both JACK_HOOK, and the delivery of voice packets from the Asterisk to Jack which I will address before this can be considered usable.