Getting a sip trace on the console
Hi Guys, I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being sent? Regards,
Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote:
I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being sent?
http://wiki.freeswitch.org/wiki/Sofia#Debugging_SOFIA_SIP You can also use the sofia loglevel command from fs_cli, e.g., sofia loglevel 9 which will give you everything but a SIP trace. For the SIP trace, you'll need to set the environment variables as documented on the above page, or turn on tracing in the SIP profile configuration.
On Sunday 08 March 2009 12:37:23 Nik Middleton wrote:
I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being sent?
TPORT_LOG=1 ./freeswitch will do it for you. http://wiki.freeswitch.org/wiki/Sofia#Debugging_SOFIA_SIP hads -- http://nicegear.co.nz New Zealands Open Source Hardware Supplier
if you have latest SVN you can do this: sofia profile XXX siptrace on /b On Mar 7, 2009, at 6:00 PM, Hadley Rich wrote:
On Sunday 08 March 2009 12:37:23 Nik Middleton wrote:
I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being sent?
TPORT_LOG=1 ./freeswitch will do it for you.
http://wiki.freeswitch.org/wiki/Sofia#Debugging_SOFIA_SIP
hads
Also sofia loglevel <all|default|tport|iptsec|nea|nta|nth_client|nth_server| nua|soa|sresolv|stun> [0-9] No need to restart FS to turn those on or off. ;) again Latest SVN. /b On Mar 7, 2009, at 6:00 PM, Hadley Rich wrote:
only sofia profile [name] siptrace [on/off] is required to get the messages on the console sofia loglevel is used to get debugging logs from sofia's internals. (the sip library) Math On 7-Mar-09, at 7:55 PM, Brian West wrote:
Also
sofia loglevel <all|default|tport|iptsec|nea|nta|nth_client| nth_server|nua|soa|sresolv|stun> [0-9]
No need to restart FS to turn those on or off. ;) again Latest SVN.
/b
On Mar 7, 2009, at 6:00 PM, Hadley Rich wrote:
_______________________________________________ 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
I use the ngrep tool on the OS console and write the output to a file: ngrep -d any port 5060 -W byline >outfile.txt Best regards Peter Nik Middleton schrieb:
Hi Guys,
I’m trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what’s being sent?
Regards,
------------------------------------------------------------------------
_______________________________________________ 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
That's exactly what I was looking for, many thanks Regards, -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Peter P GMX Sent: 08 March 2009 12:58 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Getting a sip trace on the console I use the ngrep tool on the OS console and write the output to a file: ngrep -d any port 5060 -W byline >outfile.txt Best regards Peter Nik Middleton schrieb:
Hi Guys,
I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being
sent?
Regards,
------------------------------------------------------------------------
_______________________________________________ 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
_______________________________________________ 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
Use SVN, or wait for the next release, fs_cli+siptrace rocks :) On Sun, Mar 8, 2009 at 12:03 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote:
That's exactly what I was looking for, many thanks
Regards,
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Peter P GMX Sent: 08 March 2009 12:58 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Getting a sip trace on the console
I use the ngrep tool on the OS console and write the output to a file: ngrep -d any port 5060 -W byline >outfile.txt
Best regards Peter
Nik Middleton schrieb:
Hi Guys,
I'm trying to debug some SIP messaging issues. Is there a way of doing the Asterisk equivalent of SIP Debug so I can see what's being
sent?
Regards,
------------------------------------------------------------------------
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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 (7)
-
Brian West
-
Diego Viola
-
Hadley Rich
-
Jason White
-
Mathieu Rene
-
Nik Middleton
-
Peter P GMX