Log SIP Messaging to File

What is the best way to get asterisk to write all SIP messages to a file? ideally i would like to run this in production and roll the log file every hour (or maybe day).

Any suggestions?

Hi
tcpdump -n -i eth0 -w /tmp/wireshark.pcap -s 2000 udp port 5060

is the command you want then you just need to rotate the file

IAn

Thanks for the reply… is the performance of that going to be OK to run on a production system?

If iean tells use it… dont worry about performance

ian?