[svn-commits] file: branch 1.4 r67626 -
/branches/1.4/apps/app_directed_pickup.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed Jun 6 06:16:34 MST 2007
Author: file
Date: Wed Jun 6 08:16:34 2007
New Revision: 67626
URL: http://svn.digium.com/view/asterisk?view=rev&rev=67626
Log:
Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)
Modified:
branches/1.4/apps/app_directed_pickup.c
Modified: branches/1.4/apps/app_directed_pickup.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_directed_pickup.c?view=diff&rev=67626&r1=67625&r2=67626
==============================================================================
--- branches/1.4/apps/app_directed_pickup.c (original)
+++ branches/1.4/apps/app_directed_pickup.c Wed Jun 6 08:16:34 2007
@@ -96,7 +96,7 @@
struct ast_channel *target = NULL;
while ((target = ast_channel_walk_locked(target))) {
- if (!strcasecmp(target->exten, exten) &&
+ if ((!strcasecmp(target->macroexten, exten) || !strcasecmp(target->exten, exten)) &&
!strcasecmp(target->dialcontext, context) &&
can_pickup(target)) {
res = pickup_do(chan, target);
More information about the svn-commits
mailing list