diff options
Diffstat (limited to 'apps/app_directed_pickup.c')
-rw-r--r-- | apps/app_directed_pickup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_directed_pickup.c b/apps/app_directed_pickup.c index f377205ef..9d84f6985 100644 --- a/apps/app_directed_pickup.c +++ b/apps/app_directed_pickup.c @@ -59,8 +59,7 @@ static int pickup_do(struct ast_channel *chan, struct ast_channel *target) { int res = 0; - if (option_debug) - ast_log(LOG_DEBUG, "Call pickup on '%s' by '%s'\n", target->name, chan->name); + ast_debug(1, "Call pickup on '%s' by '%s'\n", target->name, chan->name); if ((res = ast_answer(chan))) { ast_log(LOG_WARNING, "Unable to answer '%s'\n", chan->name); |