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
|
2013-06-26 05:48:11 -04:00
|
|
|
# set color on
|
2013-06-25 13:14:25 -04:00
|
|
|
|
2014-03-19 08:07:13 -04:00
|
|
|
##-----------------------------------------------------------------------------
|
2014-10-27 09:56:53 -04:00
|
|
|
## Uncomment to configure packet count capture limit (0: disabled)
|
|
|
|
# set capture.limit 2000
|
|
|
|
|
|
|
|
## 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
|
|
|
##-----------------------------------------------------------------------------
|
|
|
|
## Change default scrolling in call list
|
|
|
|
# set cl.scrollstep 20
|
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
|
|
|
|
|
|
|
##-----------------------------------------------------------------------------
|
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
|
|
|
|
## - sipto
|
|
|
|
## - 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
|
|
|
|
## - sdp
|
2014-03-14 07:32:12 -04:00
|
|
|
## - msgcnt
|
|
|
|
## - starting
|
2015-01-14 06:37:12 -05:00
|
|
|
## - transport
|
|
|
|
## - state
|
|
|
|
##
|
|
|
|
## 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
|
|
|
|
|
|
|
##-----------------------------------------------------------------------------
|
2014-03-19 08:07:13 -04:00
|
|
|
## Uncomment to display dialogs that does not start with a request method
|
|
|
|
# set sip.ignoreincomplete off
|
2014-03-14 09:14:45 -04:00
|
|
|
|
2013-06-25 13:14:25 -04:00
|
|
|
##-----------------------------------------------------------------------------
|
2013-06-26 05:48:11 -04:00
|
|
|
## You can ignore some calls with any of the previous attributes with a given
|
2013-06-25 13:14:25 -04:00
|
|
|
## value with ignore directive.
|
2014-03-19 08:07:13 -04:00
|
|
|
##
|
2013-06-25 13:14:25 -04:00
|
|
|
## ignore {field} {value}
|
|
|
|
##
|
2015-01-14 06:37:12 -05:00
|
|
|
## Examples:
|
2013-06-25 13:14:25 -04:00
|
|
|
# ignore starting OPTIONS
|
|
|
|
# ignore starting REGISTER
|
|
|
|
# ignore starting BYE
|
2015-01-14 06:37:12 -05:00
|
|
|
# ignore srchost 192.168.1.1
|
|
|
|
# ignore transport TCP
|