diff options
author | Terry Wilson <twilson@digium.com> | 2012-03-01 22:09:18 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-03-01 22:09:18 +0000 |
commit | 0e5c761c28a4ea091d760cfabc2ed3512ee2689a (patch) | |
tree | a9d5d359a27a013ac9e3cdf4162c2f32eea90324 /apps/app_queue.c | |
parent | e291318df2c7ed5ebbaec059d73271976c792091 (diff) |
Opaquify ast_channel typedefs, fd arrays, and softhangup flag
Review: https://reviewboard.asterisk.org/r/1784/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index ea2dd54e1..b863f902b 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5191,7 +5191,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce struct ast_datastore *tds; /* detect a blind transfer */ - if (!(qe->chan->_softhangup | peer->_softhangup) && (strcasecmp(oldcontext, ast_channel_context(qe->chan)) || strcasecmp(oldexten, ast_channel_exten(qe->chan)))) { + if (!(ast_channel_softhangup_internal_flag(qe->chan) | ast_channel_softhangup_internal_flag(peer)) && (strcasecmp(oldcontext, ast_channel_context(qe->chan)) || strcasecmp(oldexten, ast_channel_exten(qe->chan)))) { ast_queue_log(queuename, ast_channel_uniqueid(qe->chan), member->membername, "TRANSFER", "%s|%s|%ld|%ld|%d", ast_channel_exten(qe->chan), ast_channel_context(qe->chan), (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos); |