From 54828cdd79d2298b512c2be5ceabd2dcc4588292 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 1 Dec 2017 12:22:00 +0100 Subject: OsmoSGSN: configuration: Document CDR CTRL interface Change-Id: Ib729e2fc4898c20d27e95fc0f13abe9c0656dda5 --- doc/manuals/chapters/configuration.adoc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manuals/chapters/configuration.adoc b/doc/manuals/chapters/configuration.adoc index f995bc72c..282898700 100644 --- a/doc/manuals/chapters/configuration.adoc +++ b/doc/manuals/chapters/configuration.adoc @@ -175,7 +175,7 @@ OsmoSGSN(config-sgsn)# gsup oap-opc 101112131415161718191a1b1c1d1e1f <4> 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 @@ OsmoSGSN(config-sgsn)# cdr interval 600 <1> 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%"] -- cgit v1.2.3