[asterisk-commits] eliel: branch eliel/data_api_providers_gsoc2010 r265838 - /team/eliel/data_ap...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 26 06:31:39 CDT 2010
Author: eliel
Date: Wed May 26 06:31:37 2010
New Revision: 265838
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265838
Log:
Add codecs description to the channel structure.
Modified:
team/eliel/data_api_providers_gsoc2010/main/channel.c
Modified: team/eliel/data_api_providers_gsoc2010/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/eliel/data_api_providers_gsoc2010/main/channel.c?view=diff&rev=265838&r1=265837&r2=265838
==============================================================================
--- team/eliel/data_api_providers_gsoc2010/main/channel.c (original)
+++ team/eliel/data_api_providers_gsoc2010/main/channel.c Wed May 26 06:31:37 2010
@@ -6759,6 +6759,13 @@
ast_channel_data_add_structure(data_bridged, bc);
}
+ ast_data_add_codecs(data_channel, "oldwriteformat", c->oldwriteformat);
+ ast_data_add_codecs(data_channel, "nativeformats", c->nativeformats);
+ ast_data_add_codecs(data_channel, "readformat", c->readformat);
+ ast_data_add_codecs(data_channel, "writeformat", c->writeformat);
+ ast_data_add_codecs(data_channel, "rawreadformat", c->rawreadformat);
+ ast_data_add_codecs(data_channel, "rawwriteformat", c->rawwriteformat);
+
ast_channel_unlock(c);
if (!ast_data_search_match(search, data_channel)) {
More information about the asterisk-commits
mailing list