From 3104842027d1f7952a7e90b0210532667564eded Mon Sep 17 00:00:00 2001 From: Alessio Garzi Date: Wed, 24 Mar 2021 08:44:30 +0100 Subject: [PATCH] TT#117000 New cdr aggregated field source_last_hih Adding the source_last_hih field for the cdrs, this field will be used to store the last history info header of the incoming invite if present. Change-Id: I6549e69da4bd47b76c7365ece3a9507abdcf733c --- db_scripts/diff/15671.down | 6 ++++++ db_scripts/diff/15671.up | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 db_scripts/diff/15671.down create mode 100644 db_scripts/diff/15671.up diff --git a/db_scripts/diff/15671.down b/db_scripts/diff/15671.down new file mode 100644 index 00000000..285176bd --- /dev/null +++ b/db_scripts/diff/15671.down @@ -0,0 +1,6 @@ +USE accounting; +SET autocommit=0; + +DELETE FROM cdr_tag WHERE type IN ('header=History-Info'); + +COMMIT; \ No newline at end of file diff --git a/db_scripts/diff/15671.up b/db_scripts/diff/15671.up new file mode 100644 index 00000000..09e02c21 --- /dev/null +++ b/db_scripts/diff/15671.up @@ -0,0 +1,6 @@ +USE accounting; +SET autocommit=0; + +INSERT INTO cdr_tag (type) VALUES ('header=History-Info'); + +COMMIT; \ No newline at end of file