mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Opaquify ast_channel structs and lists
Review: https://reviewboard.asterisk.org/r/1773/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3363,7 +3363,7 @@ static struct ast_frame *fax_detect_framehook(struct ast_channel *chan, struct a
|
||||
case 't':
|
||||
ast_channel_unlock(chan);
|
||||
if (ast_exists_extension(chan, target_context, "fax", 1,
|
||||
S_COR(chan->caller.id.number.valid, chan->caller.id.number.str, NULL))) {
|
||||
S_COR(ast_channel_caller(chan)->id.number.valid, ast_channel_caller(chan)->id.number.str, NULL))) {
|
||||
ast_channel_lock(chan);
|
||||
ast_verb(2, "Redirecting '%s' to fax extension due to %s detection\n",
|
||||
ast_channel_name(chan), (result == 'f') ? "CNG" : "T38");
|
||||
|
||||
Reference in New Issue
Block a user