Syntax
Use traceSBC to start the traceSBC tool from
the command line interface. For command line help, use the –h parameter.
traceSBC [-h] [options SBC_LOG_FILE]
Where options are
- -u URI|NUMBER
Filter calls
that contain URI|NUMBER in the From or To field.
- -i IP
- Filter messages from/to
<IP> address.
- -c CALL-ID
- Filter based on
the SIP 'Call-ID' header field.
- -r REGEXP
- Filter messages
based on the regular expression.
- -g HEA=VALUE
- Filter SIP header field <HEA> for value <VALUE>.
- -or
Use a logical OR operator instead of the
implicit. Use AND when using multiple filter options.
- -nr
- Do not display REGISTER messages.
- -ns
- Do not display SUBSCRIBE/NOTIFY/PUBLISH messages.
- -no
- Do not display OPTIONS messages.
- -np
- Do not display PPM messages.
- -uni
- Use Unicode/UTF-8 characters. Display the
arrows and other lines in graphic mode. Your terminal client has to
support Unicode to display this correctly.
- -m
- Use to run multiple instances of traceSBC.
- -k
- Kill other traceSBC instances.
- -w FILE
- Set filename for saving
filtered messages.
- -a TYPE
- Starts specific captures
in non-interactive mode where <TYPE> can be sip|ppm|callp.
- -st SEC
- Stops capture after
given seconds.
- -sp PACKET
- Stops capture after
given number of captured messages.
- -sr <REGEXP>
- Stops capture if regular expression
found a match.
- -srt <SEC>
- Run trace <SEC> more seconds
after REGEXP match.
- -srp <PACKET>
- Collect <PACKET> more messages
after REGEXP match.
- SBC_LOG_FILE
- File name of the SSYNDI file or
files previously captured with traceSBC. More than one file can be
specified. If no file is specified, then you can start or stop the
capture using the s key.
Examples
To start a new capture, run 'traceSBC' without arguments and then
press s: traceSBC
To filter SIP messages from/to 1.1.1.1 and 2.2.2.2: traceSBC
-i "1.1.1.1|2.2.2.2”
To analyze a previously captured SSYNDI file named my_sbc.log: traceSBC my_sbc.log. Enable the debug log setting before
performing the analysis. traceSBC does not display the logs if the
debug log settings are not enabled. To enable SSYNDI debug logs, go
to . Select the SBCE device and then click the SSYNDI debug logscheckbox.