summaryrefslogtreecommitdiff
path: root/cel/cel_odbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cel/cel_odbc.c')
-rw-r--r--cel/cel_odbc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c
index f0c70f53c..223cb18c9 100644
--- a/cel/cel_odbc.c
+++ b/cel/cel_odbc.c
@@ -438,6 +438,8 @@ static void odbc_log(const struct ast_event *event, void *userdata)
ast_copy_string(colbuf, record.peer, sizeof(colbuf));
} else if (strcmp(entry->celname, "amaflags") == 0) {
snprintf(colbuf, sizeof(colbuf), "%d", record.amaflag);
+ } else if (strcmp(entry->celname, "extra") == 0) {
+ ast_copy_string(colbuf, record.extra, sizeof(colbuf));
} else {
colbuf[0] = 0;
}