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_directed_pickup.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_directed_pickup.c')
-rw-r--r-- | apps/app_directed_pickup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directed_pickup.c b/apps/app_directed_pickup.c index acdb572e3..fe0f421f1 100644 --- a/apps/app_directed_pickup.c +++ b/apps/app_directed_pickup.c @@ -241,7 +241,7 @@ static int find_channel_by_group(void *obj, void *arg, void *data, int flags) struct ast_channel *chan = data;/*!< Channel wanting to pickup call */ ast_channel_lock(target); - if (chan != target && (chan->pickupgroup & target->callgroup) + if (chan != target && (ast_channel_pickupgroup(chan) & ast_channel_callgroup(target)) && ast_can_pickup(target)) { /* Return with the channel still locked on purpose */ return CMP_MATCH | CMP_STOP; |