View previous topic :: View next topic |
Author |
Message |
nik.middleton at noble... Guest
|
Posted: Sat Mar 07, 2009 6:52 pm Post subject: [Freeswitch-users] 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, |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Sat Mar 07, 2009 7:03 pm Post subject: [Freeswitch-users] Getting a sip trace on the console |
|
|
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
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sat Mar 07, 2009 7:59 pm Post subject: [Freeswitch-users] Getting a sip trace on the console |
|
|
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
|
Posted: Sat Mar 07, 2009 8:00 pm Post subject: [Freeswitch-users] Getting a sip trace on the console |
|
|
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:
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Sat Mar 07, 2009 10:19 pm Post subject: [Freeswitch-users] Getting a sip trace on the console |
|
|
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:
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
|
Back to top |
|
|
nik.middleton at noble... Guest
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
|
Back to top |
|
|
|