summaryrefslogtreecommitdiff
path: root/cdr.c
diff options
context:
space:
mode:
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;
}