diff options
author | Joshua Colp <jcolp@digium.com> | 2006-11-20 15:55:58 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2006-11-20 15:55:58 +0000 |
commit | af51be05a63d499bebdf8796b4aca73d42949c39 (patch) | |
tree | 4a02dda4e6bc506bd46118043d04d9a835fe12e4 /apps/app_directed_pickup.c | |
parent | 0f58d0e1f8339c48ed496e8a306e20994d227886 (diff) |
Merged revisions 47850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47850 | file | 2006-11-20 10:51:37 -0500 (Mon, 20 Nov 2006) | 2 lines
Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47851 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 78fa9feaf..9aba195ec 100644 --- a/apps/app_directed_pickup.c +++ b/apps/app_directed_pickup.c @@ -97,7 +97,7 @@ static int pickup_by_exten(struct ast_channel *chan, char *exten, char *context) while ((target = ast_channel_walk_locked(target))) { if (!strcasecmp(target->exten, exten) && - !strcasecmp(target->context, context) && + !strcasecmp(target->dialcontext, context) && can_pickup(target)) { res = pickup_do(chan, target); ast_channel_unlock(target); |