how to capture packets of siptrace?
hi all, in conf.back/sip_profiles/internal.xml configuration i have enabled two options as below: <param name="sip-trace" value="yes"/> <param name="sip-capture" value="yes"/> but how can i capture packets when user is want to register sip client or making calls or logout or transfer, etc ? i want the following content ? recv 529 bytes from udp/[85.15.7.6]:23944 at 08:48:58.358101: SUBSCRIBE sip:XXXXXX Via: SIP/2.0/UDP XXXX:23944;branch=z9hG4bK-d8754z-7d25245fc51dd824-1---d8754z-;rport Max-Forwards: 70 Contact: XXXX To: XXXXX From: XXXXX Call-ID: ZjE3ZGMyNTBhODI5NTU0Y2RmZmMwYTY4ODQ2NDJjNzQ. CSeq: 4 SUBSCRIBE Expires: 0 User-Agent: eyeBeam release 1102q stamp 51814 Event: message-summary Content-Length: 0
Either do this from fs_cli: sofia profile <profile-name> siptrace on ...or do a tcpdump and look at it in wireshark. Second option is more comprehensive and "looks pretty". Brian Foster Endigo Computer LLC Sent from a mobile device. On Jul 4, 2012 9:37 AM, "Jack Nikolas" <jack.nikolas@ymail.com> wrote:
hi all, in conf.back/sip_profiles/internal.xml configuration i have enabled two options as below: <param name="sip-trace" value="yes"/> <param name="sip-capture" value="yes"/>
but how can i capture packets when user is want to register sip client or making calls or logout or transfer, etc ? i want the following content ? recv 529 bytes from udp/[85.15.7.6]:23944 at 08:48:58.358101:
SUBSCRIBE sip:XXXXXX Via: SIP/2.0/UDP XXXX:23944;branch=z9hG4bK-d8754z-7d25245fc51dd824-1---d8754z-;rport Max-Forwards: 70 Contact: XXXX To: XXXXX From: XXXXX Call-ID: ZjE3ZGMyNTBhODI5NTU0Y2RmZmMwYTY4ODQ2NDJjNzQ. CSeq: 4 SUBSCRIBE Expires: 0 User-Agent: eyeBeam release 1102q stamp 51814 Event: message-summary Content-Length: 0
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
On Wed, Jul 4, 2012 at 2:51 AM, Jack Nikolas <jack.nikolas@ymail.com> wrote:
how can i capture packets when user is want to register sip client or making calls or logout or transfer, etc ?
This is generally how it's done: http://wiki.freeswitch.org/wiki/Packet_Capture Gabe
participants (3)
-
Brian Foster
-
Gabriel Gunderson
-
Jack Nikolas