]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Okay, that didn't fix the crash. It didn't really do anything useful.
authorMark Michelson <mmichelson@digium.com>
Mon, 20 Jul 2009 23:08:56 +0000 (23:08 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 20 Jul 2009 23:08:56 +0000 (23:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207551 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_directed_pickup.c

index a43d4251a2bbb5078bcf7c60452ed74a67c2f143..9301395c891a20e25ccbc9e328d9efcc12bee2b5 100644 (file)
@@ -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)) {