syslogFormat

MX-CDR-MIB · .0.4200.1.400.200

Object

scalar r/w OctetString
Syslog CDR Format
          
Specifies the format of the syslog Call Detail Record.
          
Formal Syntax Description of the Protocol
          
  * Precision=DIGIT
  * Width=DIGIT
  * MacroId=(ALPHA / '_')
  * Macro=%[Width]|[.Precision]|[Width.Precision]MacroId
          
The Width field is the minimum width of the converted
argument. If the converted argument has fewer characters than
the specified field width, then it is padded with spaces. If
the converted argument has more characters than the specified
field width, the field width is extended to whatever is
required.
          
The Precision field specifies the maximum number of characters
to be printed from a string.
          
A config error message is issued when applying a Syslog Format
containing an unknown macro.
          
Any invalid macros will remain unchanged in the syslog.
          
Examples : sipid=SipUser001
          
  * CDR Log : %sipid --> CDR Log : SipUser001
  * CDR Log : %15sipid --> CDR Log : SipUser001
  * CDR Log : %15.5sipid --> CDR Log : SipUs
  * CDR Log : %.5sipid --> CDR Log : SipUs
          
Call Detail Record predefined macros
          
Control characters
          
  * %% : %
  * \n : Split message
          
Call detail record macros
          
  * %id : CDR Id. The CDR ID is unique. The ID is incremented
    by one each time it is represented in a CDR record.
  * %sipid : SIP call ID. Blank if no SIP interface was used
    during the call.
  * %ocgnum : Original calling number. Calling number as
    received by the unit.
  * %cgnum : Calling number. Calling number after manipulation
    by the call router.
  * %ocdnum : Original called number. Called number as
    received by the unit.
  * %cdnum : Called number. Called number after manipulation
    by the call router.
  * %oiname : Origin interface name. Interface on which the
    call was received. Ex. isdn-Slot2/Pri1.
  * %diname : Destination interface name. Interface on which
    the call was relayed. Ex. SIP-Default.
  * %chan : Channel number. Blank if no PRI/BRI interface was
    used during the call. If 2 PRI/BRI interfaces were
    involved, display the originating interface.
  * %sipla : SIP local IP address.
  * %sipra : SIP remote IP address or FQDN (next hop).
  * %siprp : SIP remote port (next hop).
  * %mra : Media remote IP address. Source IP address of the
    incoming media stream. If the stream was modified during
    the call, display the last stream.
  * %mrsp : Media remote source port. Source port of the
    incoming media stream. If the stream was modified during
    the call, display the last stream.
  * %mrp : Media remote port. Destination port of the outgoing
    media stream. If the stream was modified during the call,
    display the last stream.
  * %tz : Local time zone
  * %cd : Call duration (in seconds) (connect/disconnect).
  * %sd : Call duration (in seconds) (setup/connect).
  * %pdd : Post dial delay (in seconds) (setup/progress).
  * %css : Call setup second (local time)
  * %csm : Call setup minute (local time)
  * %csh : Call setup hour (local time)
  * %csd : Call setup day (local time)
  * %csmm : Call setup month (local time)
  * %csy : Call setup year (local time)
  * %ccs : Call connect second (local time)
  * %ccm : Call connect minute (local time)
  * %cch : Call connect hour (local time)
  * %ccd : Call connect day (local time)
  * %ccmm : Call connect month (local time)
  * %ccy : Call connect year (local time)
  * %cds : Call disconnect second (local time)
  * %cdm : Call disconnect minute (local time)
  * %cdh : Call disconnect hour (local time)
  * %cdd : Call disconnect day (local time)
  * %cdmm : Call disconnect month (local time)
  * %cdy : Call disconnect year (local time)
  * %miptxc : IP Media last transmitted codec
  * %miptxp : IP Media last transmitted p-time
  * %dr : Call disconnect reason, expressed as a Q.850 cause.
    The Q.850 codes are used to represent the disconnect cause
    no matter what type of interface initiated the disconnect
    (SIP, FXS, ISDN, ...). A value of 0 means that no cause
    code is available.
  * %rxp : Received media packets. Excluding T.38.
  * %txp : Transmitted media packets. Excluding T.38.
  * %rxpl : Received media packets lost. Excluding T.38.
  * %rxmd : Received packets mean playout delay (ms, 2
    decimals). Excluding T.38.
  * %rxaj : Received packets average jitter (ms, 2 decimals).
    Excluding T.38.
  * %sipdr : SIP status code of the received SIP response that
    caused the disconnect or rejection. A value of 0 means
    that no status code is available.

Context

MIB
MX-CDR-MIB
OID
.0.4200.1.400.200
Type
scalar
Access
readwrite
Status
current
Parent
syslogGroup
Siblings
2

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-1024

Related Objects

Sibling Objects