[asterisk-bugs] [JIRA] (ASTERISK-23958) Media format improvements: make chan_iax2 work
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu Jun 26 19:45:56 CDT 2014
Matt Jordan created ASTERISK-23958:
--------------------------------------
Summary: Media format improvements: make chan_iax2 work
Key: ASTERISK-23958
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23958
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Channels/chan_iax2
Reporter: Matt Jordan
*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 :-)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list