mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
ast_channel opaquification of pointers and integral types
Review: https://reviewboard.asterisk.org/r/1753/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -255,7 +255,7 @@ static int begin_dial_channel(struct ast_dial_channel *channel, struct ast_chann
|
||||
ast_copy_string(numsubst, channel->device, sizeof(numsubst));
|
||||
|
||||
if (chan) {
|
||||
cap_request = chan->nativeformats;
|
||||
cap_request = ast_channel_nativeformats(chan);
|
||||
} else {
|
||||
cap_all_audio = ast_format_cap_alloc_nolock();
|
||||
ast_format_cap_add_all_by_type(cap_all_audio, AST_FORMAT_TYPE_AUDIO);
|
||||
@@ -291,8 +291,8 @@ static int begin_dial_channel(struct ast_dial_channel *channel, struct ast_chann
|
||||
if (ast_strlen_zero(ast_channel_musicclass(channel->owner)))
|
||||
ast_channel_musicclass_set(channel->owner, ast_channel_musicclass(chan));
|
||||
|
||||
channel->owner->adsicpe = chan->adsicpe;
|
||||
channel->owner->transfercapability = chan->transfercapability;
|
||||
ast_channel_adsicpe_set(channel->owner, ast_channel_adsicpe(chan));
|
||||
ast_channel_transfercapability_set(channel->owner, ast_channel_transfercapability(chan));
|
||||
}
|
||||
|
||||
/* Attempt to actually call this device */
|
||||
|
||||
Reference in New Issue
Block a user