[asterisk-commits] russell: trunk r317482 - in /trunk: ./ cel/ configs/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 5 18:08:11 CDT 2011
Author: russell
Date: Thu May 5 18:08:05 2011
New Revision: 317482
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317482
Log:
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)
Modified:
trunk/CHANGES
trunk/UPGRADE.txt
trunk/cel/cel_pgsql.c
trunk/configs/cel_pgsql.conf.sample
Modified: trunk/CHANGES
URL: http://svnview.digium.com/svn/asterisk/trunk/CHANGES?view=diff&rev=317482&r1=317481&r2=317482
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Thu May 5 18:08:05 2011
@@ -107,6 +107,11 @@
channels involved with the FollowMe thread. Use this option to improve
compatability for a FollowMe call with certain dialplan apps, options, and
functions.
+
+CEL
+--------------------------
+ * cel_pgsql now supports the 'extra' column for data added using the
+ CELGenUserEvent() application.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
Modified: trunk/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE.txt?view=diff&rev=317482&r1=317481&r2=317482
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Thu May 5 18:08:05 2011
@@ -21,6 +21,10 @@
From 1.8 to 1.10:
+cel_pgsql:
+ - This module now expects an 'extra' column in the database for data added
+ using the CELGenUserEvent() application.
+
ConfBridge
- ConfBridge's dialplan arguments have changed and are not
backwards compatible.
Modified: trunk/cel/cel_pgsql.c
URL: http://svnview.digium.com/svn/asterisk/trunk/cel/cel_pgsql.c?view=diff&rev=317482&r1=317481&r2=317482
==============================================================================
--- trunk/cel/cel_pgsql.c (original)
+++ trunk/cel/cel_pgsql.c Thu May 5 18:08:05 2011
@@ -239,6 +239,8 @@
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;
}
Modified: trunk/configs/cel_pgsql.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/cel_pgsql.conf.sample?view=diff&rev=317482&r1=317481&r2=317482
==============================================================================
--- trunk/configs/cel_pgsql.conf.sample (original)
+++ trunk/configs/cel_pgsql.conf.sample Thu May 5 18:08:05 2011
@@ -51,7 +51,7 @@
; amaflag (an int)
; userfield
; peer
-
+; extra
[global]
;hostname=localhost
More information about the asterisk-commits
mailing list