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
|
2015-06-09 12:52:04 -04:00
|
|
|
# set color off
|
2015-03-16 06:08:52 -04:00
|
|
|
## 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
|
|
|
|
2014-03-19 08:07:13 -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
|
2014-10-27 09:56:53 -04:00
|
|
|
|
|
|
|
## Default capture keyfile for TLS transport
|
|
|
|
# set capture.keyfile /etc/ssl/key.pem
|
2014-03-19 08:07:13 -04:00
|
|
|
|
2014-10-27 09:56:53 -04:00
|
|
|
## 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
|
|
|
|
|
|
|
|
##-----------------------------------------------------------------------------
|
2014-03-19 09:58:08 -04:00
|
|
|
## Default path in save dialog
|
|
|
|
# set sngrep.savepath /tmp/sngrep-captures
|
2014-03-19 08:07:13 -04:00
|
|
|
|
2013-06-25 13:14:25 -04:00
|
|
|
##-----------------------------------------------------------------------------
|
2015-04-07 11:56:09 -04:00
|
|
|
## Change default scrolling in call list and call flow
|
2013-06-25 13:14:25 -04:00
|
|
|
# set cl.scrollstep 20
|
2015-04-07 11:56:09 -04:00
|
|
|
# set cf.scrollstep 4
|
2014-03-14 07:32:12 -04:00
|
|
|
## Disable exit prompt
|
2014-03-19 08:07:13 -04:00
|
|
|
# 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
|
|
|
|
2015-01-16 05:39:48 -05: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
|
|
|
##
|
2014-03-19 08:07:13 -04:00
|
|
|
## Available columns fields are:
|
2014-03-14 07:32:12 -04:00
|
|
|
## - sipfrom
|
2015-02-27 14:21:53 -05:00
|
|
|
## - sipfromuser
|
2014-03-14 07:32:12 -04:00
|
|
|
## - sipto
|
2015-02-27 14:21:53 -05:00
|
|
|
## - 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
|
2015-02-27 14:21:53 -05:00
|
|
|
## - 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
|
|
|
|
2014-03-14 09:14:45 -04:00
|
|
|
##-----------------------------------------------------------------------------
|
2014-10-27 09:56:53 -04:00
|
|
|
## Default minimun size from Message payload in Call Flow panel
|
2014-03-20 09:58:37 -04:00
|
|
|
# set cf.rawminwidth 40
|
2014-10-27 09:56:53 -04:00
|
|
|
|
2014-03-20 09:58:37 -04:00
|
|
|
## Fixed raw preview size
|
|
|
|
# set cf.rawfixedwidth 40
|
2014-03-14 09:14:45 -04:00
|
|
|
|
2015-01-30 11:52:14 -05:00
|
|
|
## Set selected highlight mode in call flow (bold, reverse or reversebold)
|
|
|
|
# set cf.highlight reverse
|
|
|
|
|
2014-03-14 09:14:45 -04:00
|
|
|
##-----------------------------------------------------------------------------
|
2014-03-19 08:07:13 -04:00
|
|
|
## Uncomment to display dialogs that does not start with a request method
|
2015-10-15 05:14:30 -04:00
|
|
|
# set sip.noincomplete off
|