SIP trace specific call or uuid
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.
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com <mailto:anton.vazir@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com <mailto:anton.vazir@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It's also useful for debugging some fax issues especially T.38 ngrep -qt -W byline -i t38 17 апреля 2012 г. 17:56 пользователь Barnaby Ritchley < barnyritchley@hotmail.com> написал:
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@gmail.com <mailto:anton.vazir@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Also you can use pcapsipdump http://pcapsipdump.sourceforge.net/ or even homer http://www.sipcapture.org/ 17 апреля 2012 г. 17:49 пользователь Tim St. Pierre < fs-list@communicatefreely.net> написал:
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@gmail.com <mailto:anton.vazir@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anton Kvashenkin
-
Anton VG
-
Avi Marcus
-
Barnaby Ritchley
-
Tim St. Pierre