summaryrefslogtreecommitdiff
path: root/configs/cel_pgsql.conf.sample
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2012-02-01 17:42:15 +0000
committerRichard Mudgett <rmudgett@digium.com>2012-02-01 17:42:15 +0000
commit797d633139a52a87736c04b71e31b1cb66e21e08 (patch)
treeed8848795a995d9e2986bdd30a867d1a8f3b7044 /configs/cel_pgsql.conf.sample
parenta99b3c817baf50cf4edc70e991c0395c3d6d0311 (diff)
Remove inconsistency in CEL eventtype for user defined events.
The CEL eventtype field for ODBC and PGSQL backends should be USER_DEFINED instead of the user defined event name supplied by the CELGenUserEvent application. If the field is output as a number, the user defined name does not have a value and is always output as 21 for USER_DEFINED and the userdeftype field would be required to supply the user defined name. The following CEL backends (cel_odbc, cel_pgsql, cel_custom, cel_manager, and cel_sqlite3_custom) can be independently configured to remove this inconsistency. * Allows cel_manager, cel_custom, and cel_sqlite3_custom to behave the same way. (closes issue ASTERISK-17189) Reported by: Bryant Zimmerman Review: https://reviewboard.asterisk.org/r/1669/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/cel_pgsql.conf.sample')
-rw-r--r--configs/cel_pgsql.conf.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/cel_pgsql.conf.sample b/configs/cel_pgsql.conf.sample
index d71fcc6be..cc9b9ff91 100644
--- a/configs/cel_pgsql.conf.sample
+++ b/configs/cel_pgsql.conf.sample
@@ -54,6 +54,11 @@
; extra
[global]
+; Use 'show_user_defined' to put "USER_DEFINED" in the eventtype field,
+; instead of (by default) just putting the user defined event name there.
+;
+;show_user_defined=yes
+
;hostname=localhost
;port=5432
;dbname=asterisk