Harald Welte has submitted this change and it was merged. Change subject: OsmoSGSN: configuration: Document CDR CTRL interface ......................................................................
OsmoSGSN: configuration: Document CDR CTRL interface Change-Id: Ib729e2fc4898c20d27e95fc0f13abe9c0656dda5 --- M OsmoSGSN/chapters/configuration.adoc 1 file changed, 15 insertions(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified 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: merged Gerrit-Change-Id: Ib729e2fc4898c20d27e95fc0f13abe9c0656dda5 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder