Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Getting a sip trace on the console


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
nik.middleton at noble...
Guest





PostPosted: Sat Mar 07, 2009 6:52 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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,
Back to top
jason at jasonjgw.net
Guest





PostPosted: Sat Mar 07, 2009 7:03 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote:
Quote:
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.


_______________________________________________
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
Back to top
hads at nice.net.nz
Guest





PostPosted: Sat Mar 07, 2009 7:06 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

On Sunday 08 March 2009 12:37:23 Nik Middleton wrote:
Quote:
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

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Mar 07, 2009 7:59 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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:
Quote:
On Sunday 08 March 2009 12:37:23 Nik Middleton wrote:
Quote:
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Mar 07, 2009 8:00 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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. Wink again Latest SVN.


/b



On Mar 7, 2009, at 6:00 PM, Hadley Rich wrote:
Quote:
http://wiki.freeswitch.org/wiki/Sofia#Debugging_SOFIA_SIP
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Sat Mar 07, 2009 10:19 pm    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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:
Quote:
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. Wink again Latest SVN.


/b



On Mar 7, 2009, at 6:00 PM, Hadley Rich wrote:
Quote:
http://wiki.freeswitch.org/wiki/Sofia#Debugging_SOFIA_SIP




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Sun Mar 08, 2009 1:11 am    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

Brian West <brian@freeswitch.org> wrote:
Quote:
if you have latest SVN you can do this:

sofia profile XXX siptrace on

Thanks. That was enough to prompt me to recompile with rev. 12516.


_______________________________________________
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
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Sun Mar 08, 2009 8:04 am    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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:
Quote:

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


_______________________________________________
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
Back to top
nik.middleton at noble...
Guest





PostPosted: Sun Mar 08, 2009 11:09 am    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

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:
Quote:

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?
Quote:



Regards,


------------------------------------------------------------------------
Quote:

_______________________________________________
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
Quote:
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

_______________________________________________
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
Back to top
diego.viola at gmail.com
Guest





PostPosted: Mon Mar 09, 2009 5:53 am    Post subject: [Freeswitch-users] Getting a sip trace on the console Reply with quote

Use SVN, or wait for the next release, fs_cli+siptrace rocks Smile

On Sun, Mar 8, 2009 at 12:03 PM, Nik Middleton
<nik.middleton@noblesolutions.co.uk> wrote:
Quote:
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:
Quote:

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?
Quote:



Regards,


------------------------------------------------------------------------
Quote:

_______________________________________________
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
Quote:
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

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services