summaryrefslogtreecommitdiff
path: root/apps/app_directed_pickup.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2009-07-20 23:08:56 +0000
committerMark Michelson <mmichelson@digium.com>2009-07-20 23:08:56 +0000
commitd040266a17d5825b9de59c256e56568c5c39ae2d (patch)
tree1d07d0a834fa6456ca906be4df22a22f186120c6 /apps/app_directed_pickup.c
parentb276189912ad2dddfc9ec6e160a58d9e9ab29f54 (diff)
Okay, that didn't fix the crash. It didn't really do anything useful.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directed_pickup.c')
-rw-r--r--apps/app_directed_pickup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_directed_pickup.c b/apps/app_directed_pickup.c
index a43d4251a..9301395c8 100644
--- a/apps/app_directed_pickup.c
+++ b/apps/app_directed_pickup.c
@@ -98,7 +98,6 @@ static int pickup_do(struct ast_channel *chan, struct ast_channel *target)
ast_debug(1, "Call pickup on '%s' by '%s'\n", target->name, chan->name);
ast_cel_report_event(target, AST_CEL_PICKUP, NULL, NULL, chan);
- ast_party_connected_line_init(&connected_caller);
connected_caller = target->connected;
connected_caller.source = AST_CONNECTED_LINE_UPDATE_SOURCE_ANSWER;
if (ast_channel_connected_line_macro(NULL, chan, &connected_caller, 0, 0)) {