diff options
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index eb6995c66..2dba7eba2 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1579,6 +1579,13 @@ static void ast_party_id_free(struct ast_party_id *doomed) } } +void ast_party_caller_init(struct ast_party_caller *init) +{ + ast_party_id_init(&init->id); + init->ani = NULL; + init->ani2 = 0; +} + void ast_party_caller_copy(struct ast_callerid *dest, const struct ast_callerid *src) { if (dest == src) { |