summaryrefslogtreecommitdiff
path: root/cdr.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-05-30 04:41:18 +0000
committerMark Spencer <markster@digium.com>2003-05-30 04:41:18 +0000
commit047bc4bd88b6b49d54a5b865042dc8396d052d5d (patch)
treece152fc7452bf039617bdb5fd213d37645419c97 /cdr.c
parent11325940c85e2fff43607e1eb53aa7760b25ff51 (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-xcdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cdr.c b/cdr.c
index a06c88f99..6be19f260 100755
--- a/cdr.c
+++ b/cdr.c
@@ -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;
}