[Home]

Summary:ASTERISK-23958: Media format improvements: make chan_iax2 work
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-26 19:45:32Date Closed:2014-07-21 11:27:53
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:*Note:* this issue applies only to work that is being done for the new media format architecture branch (team/group/media_formats-reviewed-trunk).

The {{IAX2}} channel driver is a bit odd, in that it must treat formats using the historical bit field representation. As such, a compatibility API ({{format_compatibility.h}}) has been provided to map formats/codecs to their bitfield equivalent.

The code compiles. The module does not load due to a linker error:
{code}
*CLI> module load chan_iax2.so
Unable to load module chan_iax2.so
Command 'module load chan_iax2.so' failed.
*CLI> [Jun 26 19:41:39] WARNING[19300]: loader.c:561 load_dynamic_module: Error loading module 'chan_iax2.so': /usr/lib/asterisk/modules/chan_iax2.so: undefined symbol: ast_codec_pref_convert
{code}

We need to make {{chan_iax2}} work. It needs to maintain its functionality using the format compatibility API. Preferably, it should not crash, leak memory, or otherwise mess up our lovely new API :-)
Comments: