sngrep/config/sngreprc

107 lines
3.0 KiB
Plaintext
Raw Normal View History

2013-06-25 13:14:25 -04:00
##-----------------------------------------------------------------------------
## sngreprc - sngrep configuration file
##-----------------------------------------------------------------------------
## This file stores sngrep configuration and it's totally optional
##
##-----------------------------------------------------------------------------
## Enable color on or off
# set color off
## Use default foreground and background colors of your terminal
# set background default
2015-01-16 09:04:51 -05:00
## Disable syntax highlighting
# set syntax off
## Or enable branch/tag highlighting
# set syntax.tag on
# set syntax.branch on
2013-06-25 13:14:25 -04:00
##-----------------------------------------------------------------------------
2015-02-27 16:08:32 -05:00
## Uncomment to configure packet count capture limit (can't be disabled)
2015-02-28 11:48:42 -05:00
# set capture.limit 50000
## Default capture keyfile for TLS transport
# set capture.keyfile /etc/ssl/key.pem
## Uncommnet to lookup hostnames from packets ips
# set capture.lookup on
## Set default capture device
# set capture.device any
## Set default dump file
# set capture.outfile /tmp/last_capture.pcap
##-----------------------------------------------------------------------------
## Default path in save dialog
# set sngrep.savepath /tmp/sngrep-captures
2013-06-25 13:14:25 -04:00
##-----------------------------------------------------------------------------
## Change default scrolling in call list and call flow
2013-06-25 13:14:25 -04:00
# set cl.scrollstep 20
# set cf.scrollstep 4
2014-03-14 07:32:12 -04:00
## Disable exit prompt
# set cl.noexitprompt off
2014-03-14 07:32:12 -04:00
## Or set its default button
# set cl.defexitbutton 0/1
2013-06-25 13:14:25 -04:00
# Set default filter on startup
# set cl.filter INVITE
2013-06-25 13:14:25 -04:00
##-----------------------------------------------------------------------------
2013-06-26 05:48:11 -04:00
## You can change the default number of columns in call list
##
2013-06-25 13:14:25 -04:00
## Set displayed columns in call list screen
2014-03-14 07:32:12 -04:00
## set cl.column{num} {field}
2013-06-26 05:48:11 -04:00
##
2015-01-14 06:37:12 -05:00
## You can optionally configure the column width using
## set cl.column{num}.width {num}
2013-06-25 13:14:25 -04:00
##
## Available columns fields are:
2014-03-14 07:32:12 -04:00
## - sipfrom
## - sipfromuser
2014-03-14 07:32:12 -04:00
## - sipto
## - siptouser
2014-03-14 07:32:12 -04:00
## - src
2015-01-14 06:37:12 -05:00
## - srchost
2014-03-14 07:32:12 -04:00
## - dst
2015-01-14 06:37:12 -05:00
## - dsthost
2014-03-14 07:32:12 -04:00
## - callid
## - xcallid
2015-01-14 06:37:12 -05:00
## - date
## - time
2014-03-14 07:32:12 -04:00
## - msgcnt
2015-01-14 06:37:12 -05:00
## - transport
## - state
## - convdur
## - totaldur
2015-01-14 06:37:12 -05:00
##
## Examples:
2013-06-26 05:48:11 -04:00
# set cl.column0 sipfrom
2015-01-14 06:37:12 -05:00
# set cl.column0.width 30
2013-06-26 05:48:11 -04:00
# set cl.column1 sipto
2013-06-25 13:14:25 -04:00
# set cl.column2 msgcnt
2013-06-26 05:48:11 -04:00
# set cl.column3 src
# set cl.column4 dst
# set cl.column4.width 22
# set cl.column5 starting
# set cl.column5.width 15
2015-01-14 06:37:12 -05:00
# set cl.column6 state
2013-06-25 13:14:25 -04:00
##-----------------------------------------------------------------------------
## Default minimun size from Message payload in Call Flow panel
# set cf.rawminwidth 40
## Fixed raw preview size
# set cf.rawfixedwidth 40
## Set selected highlight mode in call flow (bold, reverse or reversebold)
# set cf.highlight reverse
##-----------------------------------------------------------------------------
## Uncomment to display dialogs that does not start with a request method
# set sip.noincomplete off
##-----------------------------------------------------------------------------
## Uncomment to define custom b_leg correlation header
# set sip.xcid X-Call-ID|X-CID