callinfo_condcode_print
Print information about condition codes
Format
- [-code │ -seg -pos] │ -custom_cc
Function
The command will print information about how a condition code is printed. The printout can show all codes, a selected code, or codes that are custom defined. These codes are the ones used in the call information logging file or printout.
The condition code is used in outputs generated by the callinfo_output_set command with the -format parameter.
Parameters
- -code
Condition code to print.
Integer: 0-255, “all” or “custom”.
- -custom_cc
Custom defined condition code.
Get the custom defined condition code strings in a format that is suitable as input to the -custom_cc switch of callinfo_file_to_file. This switch takes an optional argument that is the file name of the output file. If no file name is given the output is written to standard output.
- -pos
Position part of the call condition code to print.
Integer: 0-31.
For the meaning of the numbers, see the interworking description for Station Message Detail Recording, Call Information Logging, Quality Logging in chapter Call Logging Record Fields.
- -seg
Segment part of the call condition code to print.
Integer: 0-7.
For the meaning of the numbers, see the interworking description for Station Message Detail Recording, Call Information Logging, Quality Logging in chapter Call Logging Record Fields.
Examples
- Print condition codes (default all):.
callinfo_condcode_print
- Print all condition codes.
callinfo_condcode_print -code all
- Print a specific code.
callinfo_condcode_print -code 5
- Print a specific code.
callinfo_condcode_print -seg 0 -pos 5
- Print the custom defined codes.
callinfo_condcode_print -code custom
- Print the custom defined codes in computer readable format to the file /tmp/custom.dat
callinfo_condcode_print -custom_cc /tmp/custom.dat