[Serusers] logging of SIP dialog

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 4 08:57:54 CEST 2005


We use the low-level approach:

 > crontab -l
# purge SIP packet sniffs
35 5 * * * find /export/sipsniff -name pack\* -mtime +60 -exec rm {} \;

 > cat /usr/local/bin/sipsniff
#!/bin/sh
FILES=/export/sipsniff/packets
while true; do
  FILESUFFIX=`date +%Y%m%d-%H%M%S`
  /usr/bin/tethereal -i any -a filesize:256 -n -w $FILES.$FILESUFFIX 
port 5060 or port 5061
done;

This is not very convenient for daily debugging, but sufficient I you 
debug once a month.

regards
klaus

Iqbal wrote:
> Hi
> 
> Has anyone come up with a scalable method to log the complete SIP trace 
> of ALL calls, i.e to separate files etc
> Ngrep is greate for a few, but I want to be able to track all calls, for 
> various purposes
> 
> Iqbal
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 




More information about the sr-users mailing list