diff options
author | Mark Spencer <markster@digium.com> | 2003-05-30 04:41:18 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-30 04:41:18 +0000 |
commit | 047bc4bd88b6b49d54a5b865042dc8396d052d5d (patch) | |
tree | ce152fc7452bf039617bdb5fd213d37645419c97 /cdr.c | |
parent | 11325940c85e2fff43607e1eb53aa7760b25ff51 (diff) |
Add unique identifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr.c')
-rwxr-xr-x | cdr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -250,6 +250,8 @@ int ast_cdr_init(struct ast_cdr *cdr, struct ast_channel *c) /* Destination information */ strncpy(cdr->dst, c->exten, sizeof(cdr->dst) - 1); strncpy(cdr->dcontext, c->context, sizeof(cdr->dcontext) - 1); + /* Unique call identifier */ + strncpy(cdr->uniqueid, c->uniqueid, sizeof(cdr->uniqueid) - 1); } return 0; } |