[Freeswitch-users] SIP trace specific call or uuid

Barnaby Ritchley barnyritchley at hotmail.com
Tue Apr 17 17:56:37 MSD 2012


Another option if you just want to view sip messaging is to use ngrep.

ngrep is useful for debugging certain calls as you can filter, ie if you wanted to view calls to and from 0123456789 you can do the following:

ngrep -qtW byline 12345678 port 5060

you can replace the phone number with ip addresses also if you wish



On 17 Apr 2012, at 14:49, Tim St. Pierre wrote:

Yes, I wish there was a way too.

In the interim, I use sofia status profile user XXX to find out their IP 
and port, then on the same machine, I use tcpdump to capture the data.

tcpdump -i INTERFACE -s 1500 -A host IPADDRESS and port SIPPORT will get 
you what you want.

You can also use tcpdump -i INTERFACE -s 1500 -w my_capture.pcap host 
IPADDRESS and port SIPPORT to generate a file that can be opened in 
wireshark.  This is much easier to work with.

Even if you capture everything on the interface, wireshark can sort out 
the individual calls, so it can still be useful.

-Tim

Avi Marcus wrote:
> Not within FS, yet.
> Try ngrep - http://wiki.freeswitch.org/wiki/Packet_Capture#ngrep
> 
> -Avi
> 
> 
> 
> On Fri, Mar 30, 2012 at 11:59 AM, Anton VG <anton.vazir at gmail.com 
> <mailto:anton.vazir at gmail.com>> wrote:
> 
>    HI!
> 
>    Is there a way to enable sip-trace on the specific call or uuid?
> 
>    I've been only able to find how to enable it per profile, but on a
>    busy situation, the information amount
>    is too high to be useful, so it's often necessary to trace a specific
>    call or call to specific destination.
> 
>    _________________________________________________________________________
>    Professional FreeSWITCH Consulting Services:
>    consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>    http://www.freeswitchsolutions.com
> 
>    
>    
> 
>    Official FreeSWITCH Sites
>    http://www.freeswitch.org
>    http://wiki.freeswitch.org
>    http://www.cluecon.com
> 
>    FreeSWITCH-users mailing list
>    FreeSWITCH-users at lists.freeswitch.org
>    <mailto:FreeSWITCH-users at lists.freeswitch.org>
>    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>    UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>    http://www.freeswitch.org
> 
> 
> ------------------------------------------------------------------------
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list