It's also useful for debugging some fax issues especially T.38<div><br></div><div>ngrep -qt -W byline -i t38<br><br><div class="gmail_quote">17 ÁÐÒÅÌÑ 2012šÇ. 17:56 ÐÏÌØÚÏ×ÁÔÅÌØ Barnaby Ritchley <span dir="ltr"><<a href="mailto:barnyritchley@hotmail.com">barnyritchley@hotmail.com</a>></span> ÎÁÐÉÓÁÌ:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another option if you just want to view sip messaging is to use ngrep.<br>
<br>
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:<br>
<br>
ngrep -qtW byline 12345678 port 5060<br>
<br>
you can replace the phone number with ip addresses also if you wish<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 17 Apr 2012, at 14:49, Tim St. Pierre wrote:<br>
<br>
Yes, I wish there was a way too.<br>
<br>
In the interim, I use sofia status profile user XXX to find out their IP<br>
and port, then on the same machine, I use tcpdump to capture the data.<br>
<br>
tcpdump -i INTERFACE -s 1500 -A host IPADDRESS and port SIPPORT will get<br>
you what you want.<br>
<br>
You can also use tcpdump -i INTERFACE -s 1500 -w my_capture.pcap host<br>
IPADDRESS and port SIPPORT to generate a file that can be opened in<br>
wireshark. šThis is much easier to work with.<br>
<br>
Even if you capture everything on the interface, wireshark can sort out<br>
the individual calls, so it can still be useful.<br>
<br>
-Tim<br>
<br>
Avi Marcus wrote:<br>
> Not within FS, yet.<br>
> Try ngrep - <a href="http://wiki.freeswitch.org/wiki/Packet_Capture#ngrep" target="_blank">http://wiki.freeswitch.org/wiki/Packet_Capture#ngrep</a><br>
><br>
> -Avi<br>
><br>
><br>
><br>
> On Fri, Mar 30, 2012 at 11:59 AM, Anton VG <<a href="mailto:anton.vazir@gmail.com">anton.vazir@gmail.com</a><br>
> <mailto:<a href="mailto:anton.vazir@gmail.com">anton.vazir@gmail.com</a>>> wrote:<br>
><br>
> š šHI!<br>
><br>
> š šIs there a way to enable sip-trace on the specific call or uuid?<br>
><br>
> š šI've been only able to find how to enable it per profile, but on a<br>
> š šbusy situation, the information amount<br>
> š šis too high to be useful, so it's often necessary to trace a specific<br>
> š šcall or call to specific destination.<br>
><br>
> š š_________________________________________________________________________<br>
> š šProfessional FreeSWITCH Consulting Services:<br>
> š š<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
> š š<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> š šFreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> š š<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> š šOfficial FreeSWITCH Sites<br>
> š š<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> š š<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> š š<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> š šFreeSWITCH-users mailing list<br>
> š š<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> š š<mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
> š š<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> š šUNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> š š<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>