On Wed, Dec 19, 2018 at 08:56:38PM +0200, Mykola Shchetinin wrote:
So, the AMR header is hardcoded (0xf03c) and this hack won't to work with AMR of a different bitrate or a different codec. And the problem that arise is how to form a header...
Please refer to http://osmocom.org/issues/1936 for more background and http://git.osmocom.org/libosmocore/log/?h=laforge/iu_up for [untested] code to parse and encode IuUP headers with CRC, etc.