[PATCH] osmo-gsm-manuals[master]: OsmoSGSN: configuration: Document CDR CTRL interface

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Dec 1 11:22:38 UTC 2017


Review at  https://gerrit.osmocom.org/5115

OsmoSGSN: configuration: Document CDR CTRL interface

Change-Id: Ib729e2fc4898c20d27e95fc0f13abe9c0656dda5
---
M OsmoSGSN/chapters/configuration.adoc
1 file changed, 15 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/15/5115/1

diff --git a/OsmoSGSN/chapters/configuration.adoc b/OsmoSGSN/chapters/configuration.adoc
index f995bc7..2828987 100644
--- a/OsmoSGSN/chapters/configuration.adoc
+++ b/OsmoSGSN/chapters/configuration.adoc
@@ -175,7 +175,7 @@
 OsmoSGSN can write a text log file containing CDR (call data records),
 which are commonly used for accounting/billing purpose.
 
-.Example: CDR configuration
+.Example: CDR log file configuration
 ----
 OsmoSGSN(config-sgsn)# cdr filename /var/log/osmosgsn.cdr
 OsmoSGSN(config-sgsn)# cdr interval 600 <1>
@@ -185,6 +185,20 @@
 The CDR file is a simple CSV file including a header line naming the
 individual fields of each CSV line.
 
+==== CDR CTRL interface
+
+Independently of whether logging CDR to a file is enabled or not, OsmoSGSN can
+also provide delivery of CDR through the CTRL interface. CDR are sent by means
+of TRAP messages with variable name _cdr-v1_, and its value is filled using the
+same CSV line format as in the log file, but without CSV header line.
+
+.Example: CDR delivery through CTRL TRAP messages
+----
+OsmoSGSN(config-sgsn)# cdr trap
+----
+
+==== CDR Format
+
 [[sgsn-cdr]]
 .Description of CSV fields in OsmoSGSN CDR file
 [options="header",cols="15%,85%"]

-- 
To view, visit https://gerrit.osmocom.org/5115
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib729e2fc4898c20d27e95fc0f13abe9c0656dda5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list