mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -108,6 +108,11 @@ FollowMe
|
|||||||
compatability for a FollowMe call with certain dialplan apps, options, and
|
compatability for a FollowMe call with certain dialplan apps, options, and
|
||||||
functions.
|
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 ----------------
|
--- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
@@ -21,6 +21,10 @@
|
|||||||
|
|
||||||
From 1.8 to 1.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
|
||||||
- ConfBridge's dialplan arguments have changed and are not
|
- ConfBridge's dialplan arguments have changed and are not
|
||||||
backwards compatible.
|
backwards compatible.
|
||||||
|
@@ -239,6 +239,8 @@ static void pgsql_log(const struct ast_event *event, void *userdata)
|
|||||||
value = record.user_field;
|
value = record.user_field;
|
||||||
} else if (strcmp(cur->name, "peer") == 0) {
|
} else if (strcmp(cur->name, "peer") == 0) {
|
||||||
value = record.peer;
|
value = record.peer;
|
||||||
|
} else if (strcmp(cur->name, "extra") == 0) {
|
||||||
|
value = record.extra;
|
||||||
} else {
|
} else {
|
||||||
value = NULL;
|
value = NULL;
|
||||||
}
|
}
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
; amaflag (an int)
|
; amaflag (an int)
|
||||||
; userfield
|
; userfield
|
||||||
; peer
|
; peer
|
||||||
|
; extra
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
;hostname=localhost
|
;hostname=localhost
|
||||||
|
Reference in New Issue
Block a user