[asterisk-users] Capture SIP all the time

Steve Edwards asterisk.org at sedwards.com
Wed Dec 5 18:10:36 CST 2018


On Wed, 5 Dec 2018, Saint Michael wrote:

> Is there a way to configure the old SIP channel to stay in sip set debug 
> all the time, without human intervention and also at boot time, by 
> default?

If your goal is capture all SIP traffic, there may be other tools better 
suited.

For example, tcpdump, dumpcap, or pcapsipdump can capture SIP packets. 
pcapsipdump can even capture the RTP along with the SIP so you can listen 
to the call if that doesn't make your bosses and coworkers freak out.

I like to capture all of the SIP traffic in a pool of files that
expire after 30 days. Then, when somebody says 'hey, my call didn't 
connect yesterday' I have something to work with.

sngrep is a great tool for searching for calls and displaying decoded 
dialogs.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
             https://www.linkedin.com/in/steve-edwards-4244281



More information about the asterisk-users mailing list