GetCDRLine: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "This command deletes all port logs for a given port. '''COMMAND:''' {| class="wikitable" !Command !Line Arguments !Returns |- |DeletePortLogs |PortIndex |Error Code in case of error |} '''EXAMPLE:''' ~# DeletePortLogs 1")
Tag: 2017 source edit
 
No edit summary
Line 1: Line 1:
This command deletes all port logs for a given port.
This command allows to extract a specific line from a Port CDR.
 
This Port CDR must be generate with the command StartPortLog.


'''COMMAND:'''
'''COMMAND:'''
Line 7: Line 9:
!Returns
!Returns
|-
|-
|DeletePortLogs
|GetCDRLine
|PortIndex
|PortIndex
|[[R2D2 Error Codes|Error Code]] in case of error
|[[R2D2 Error Codes|Error Code]] in case of error
Line 13: Line 15:
'''EXAMPLE:'''
'''EXAMPLE:'''


~# DeletePortLogs 1
~ # StartPortLog 4 test.cdr
 
~ # SendSMSText 4 0612345678 "Test"
 
SMS SENT to 0612345678
 
~ # GetCdrLine 4 test.cdr 1
 
07-01-2021;09:30:56;4;0612345678;89330126562021440190;0;0;0;0;0;;;866758042936118;208018803411136;SMS;OUTGOING;[0011010A8160214365780000A704D4F29C0E];20801;984;10000139;LTE2100;07-01-2021;09:30:56

Revision as of 22:05, 12 May 2024

This command allows to extract a specific line from a Port CDR.

This Port CDR must be generate with the command StartPortLog.

COMMAND:

Command Line Arguments Returns
GetCDRLine PortIndex Error Code in case of error

EXAMPLE:

~ # StartPortLog 4 test.cdr

~ # SendSMSText 4 0612345678 "Test"

SMS SENT to 0612345678

~ # GetCdrLine 4 test.cdr 1

07-01-2021;09:30:56;4;0612345678;89330126562021440190;0;0;0;0;0;;;866758042936118;208018803411136;SMS;OUTGOING;[0011010A8160214365780000A704D4F29C0E];20801;984;10000139;LTE2100;07-01-2021;09:30:56