StartPortLog: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "This command saves current CDR, GSM Authentication log and Data log files into specified files, and then if optional flag is present resets (purges) it. Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes. COMMAND: Command Line Arguments Returns BackupCDR Backup Filename Error Code in case of error. EXAMPLE ~# BackupCDR /var/cdr/backup-01-04-2012.cdr ~# ~# ls -l /var/cdr/ -rw-r--r-- 1 admini...")
Tag: 2017 source edit
 
m (added Category:R2D2 using HotCat)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This command saves current CDR, GSM Authentication log and Data log files into specified files, and then if optional flag is present resets (purges) it.
This command allows to start a log for a given port.  
Backup files for GSM Authentication log and Data log are created by suffixing specified file name with _DATA and _RDR suffixes.
COMMAND:
Command
Line Arguments
Returns
BackupCDR
Backup Filename
Error Code in case of error.
EXAMPLE
~# BackupCDR /var/cdr/backup-01-04-2012.cdr
~#
~# ls -l /var/cdr/
-rw-r--r--    1 administ root        164780 Jul 11 09:56 backup-01-04-2012.cdr
-rw-r--r--    1 administ root          7574 Jul 11 09:56 backup-01-04-2012.cdr_DATA
-rw-r--r--    1 administ root            30 Jul 11 09:56 backup-01-04-2012.cdr_RDR


This file will be stored at /var/cdr.


See: CDR Format
5 different log recordings can be started on the same port in parallel.
 
'''COMMAND:'''
{| class="wikitable"
!Command
!Line Arguments
!Returns
|-
|StartPortLog
|PortIndex UniqueID
|[[R2D2 Error Codes|Error Code]] in case of error.
|}
'''EXAMPLE'''
 
~# StartPortLog 1 RecordPort1.cdr
 
[[Category:LOGS]]
[[Category:R2D2]]

Latest revision as of 11:23, 27 March 2025

This command allows to start a log for a given port.

This file will be stored at /var/cdr.

5 different log recordings can be started on the same port in parallel.

COMMAND:

Command Line Arguments Returns
StartPortLog PortIndex UniqueID Error Code in case of error.

EXAMPLE

~# StartPortLog 1 RecordPort1.cdr