From 3a3cefb5ee607056f9a5805d33c53e53b3602413 Mon Sep 17 00:00:00 2001 From: Alessio Garzi Date: Tue, 18 Apr 2023 16:30:38 +0200 Subject: [PATCH] MT#57110 New cdr aggregated field r_ua Add r_ua for cdrs, this field will store the user agent answering to the first invite with 200 OK. Change-Id: I0bf768a8cd4bb712a9c0b04cd7714878e6cec259 --- db_scripts/diff/15763.down | 4 ++++ db_scripts/diff/15763.up | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 db_scripts/diff/15763.down create mode 100644 db_scripts/diff/15763.up diff --git a/db_scripts/diff/15763.down b/db_scripts/diff/15763.down new file mode 100644 index 00000000..8986db9b --- /dev/null +++ b/db_scripts/diff/15763.down @@ -0,0 +1,4 @@ +USE accounting; +SET autocommit=0; +DELETE FROM cdr_tag WHERE type IN ('r_ua'); +COMMIT; \ No newline at end of file diff --git a/db_scripts/diff/15763.up b/db_scripts/diff/15763.up new file mode 100644 index 00000000..6eac102d --- /dev/null +++ b/db_scripts/diff/15763.up @@ -0,0 +1,4 @@ +USE accounting; +SET autocommit=0; +INSERT INTO cdr_tag (type) VALUES ('r_ua'); +COMMIT; \ No newline at end of file