summaryrefslogtreecommitdiff
path: root/apps/app_parkandannounce.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_parkandannounce.c')
-rw-r--r--apps/app_parkandannounce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_parkandannounce.c b/apps/app_parkandannounce.c
index 2d94db75c..aecd7cebe 100644
--- a/apps/app_parkandannounce.c
+++ b/apps/app_parkandannounce.c
@@ -150,6 +150,7 @@ static int parkandannounce_exec(struct ast_channel *chan, const char *data)
}
/* Save the CallerID because the masquerade turns chan into a ZOMBIE. */
+ ast_party_id_init(&caller_id);
ast_channel_lock(chan);
ast_party_id_copy(&caller_id, &chan->caller.id);
ast_channel_unlock(chan);