summaryrefslogtreecommitdiff
path: root/cel
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2011-05-05 23:08:05 +0000
committerRussell Bryant <russell@russellbryant.com>2011-05-05 23:08:05 +0000
commit2dfb427540da8f4d10f7979500d108fe19ab3dc7 (patch)
tree1e92e6d46df50c213c8d5adb28a109cf77fce7fe /cel
parent15b8740f803ed63c67badcfe2f4c1031a452c2fe (diff)
Add CEL extra field to cel_pgsql.
(closes issue #18462) Reported by: joscas Patches: bug_18462.diff uploaded by snuffy (license 35) cel_pgsql.conf.sample.issue18462.patch uploaded by joscas (license 1180) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cel')
-rw-r--r--cel/cel_pgsql.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cel/cel_pgsql.c b/cel/cel_pgsql.c
index c1861c855..62438d856 100644
--- a/cel/cel_pgsql.c
+++ b/cel/cel_pgsql.c
@@ -239,6 +239,8 @@ static void pgsql_log(const struct ast_event *event, void *userdata)
value = record.user_field;
} else if (strcmp(cur->name, "peer") == 0) {
value = record.peer;
+ } else if (strcmp(cur->name, "extra") == 0) {
+ value = record.extra;
} else {
value = NULL;
}