diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-04 16:36:41 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-04 16:36:41 +0000 |
commit | 09b65c659695e292b26d07f9b1c0ecc07d7f1574 (patch) | |
tree | 5414127383a3033771cb74465f7a6235874331b7 /main/channel.c | |
parent | 88b83cc99f37b3a5d6554cd512ac3b5a22b5985f (diff) |
Initial minimum ast_party_caller support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@210354 f38db490-d61c-443f-a65b-d21fe96a405b
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) { |