运行 sngrep
[F8], 再 Save,这样就有一份配置文件了,文件名就是 ~/.sngreprc
[F10],再 Save, 配置文件增加了新的内容
可增加一行配置:
set filter.methods INVITE,REGISTER
可考虑再增加一行配置:
set capture.limit 1000
加上下面这行配置,我也不反对=^-^=:
set capture.rtp on
官方手册在这里:
https://github.com/irontec/sngrep/wiki/Configuration
配置模板:
https://github.com/irontec/sngrep/blob/master/config/sngreprc