GetCDRLine: Difference between revisions
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 |
m (added Category:R2D2 using HotCat) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This command | 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 | ||
|- | |- | ||
| | |GetCDRLine | ||
|PortIndex | |PortIndex CdrFileName LineNumber | ||
|[[R2D2 Error Codes|Error Code]] in case of error | |LineNumber, [[R2D2 Error Codes|Error Code]] in case of error | ||
|} | |} | ||
'''EXAMPLE:''' | '''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 | |||
[[Category:CDR]] | |||
[[Category:R2D2]] |
Latest revision as of 11:22, 27 March 2025
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 CdrFileName LineNumber | LineNumber, 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