........
Merged revisions 369511 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369512
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (glue1->get_codec && ast_channel_tech_pvt(c1)) {
ast_format_cap_remove_all(cap1);
ast_format_cap_remove_all(oldcap1);
- glue0->get_codec(c1, cap1);
+ glue1->get_codec(c1, cap1);
ast_format_cap_append(oldcap1, cap1);
}
/* Since UPDATE_BRIDGE_PEER is only used by the bridging code, don't forward it */