[Freeswitch-users] SIP Trace

Madovsky infos at madovsky.org
Fri May 20 18:25:31 MSD 2011


in sofia.conf.xml
  ----- Original Message ----- 
  From: Eric Beard 
  To: FreeSWITCH Users Help 
  Sent: Friday, May 20, 2011 9:25 AM
  Subject: Re: [Freeswitch-users] SIP Trace


  The only one of those 3 that sends SIP to the log file for me is "sofia tracelevel 3".  But where do I put that in a configuration file so it is enabled by default?

   

  I tried setting this in the profile:

   

     <param name="sip-trace" value="yes"/>

   

  But it didn't do anything.

   

  -----------------------

  Eric Z. Beard, CTO

  Loop LLC

  w (877) 850-2010 x9249

  m (727) 776-2768

  eric at loopfx.com

   

  From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Nicolas Brenner
  Sent: Thursday, May 19, 2011 7:39 PM
  To: FreeSWITCH Users Help
  Subject: Re: [Freeswitch-users] SIP Trace

   

  Actually, I get the exact same output from the console in my logfile (log/freeswitch.log), I just do:

   

  fsctl loglevel 3

  sofia profile_name siptrace on

  sofia tracelevel 3

   

  I think you may use any loglevel, but that works fine, and I don't get all the debugging output.

   

   

  On Thu, May 19, 2011 at 12:48 PM, Steven Ayre <steveayre at gmail.com> wrote:

  No.

  If you need that it's best to use tshark, wireshark, ngrep or some similar tool.

  -Steve





  On 19 May 2011 17:40, Michal Kopacki <mkopacki at gmail.com> wrote:

      Sorry for interrupt, but is there any way to filter messages from sip trace ? For example show only one ext/host/uri etc

  -- 
  Michal

  ---------------





  By default it only goes to console. 'sofia tracelevel debug' will let you set a log level which'll let you log it to the logfile (you can choose any of the log files).

  -Steve



  On 19 May 2011 15:57, Eric Beard <eric at loopfx.com> wrote:

  Hello,

   

  In fs_cli, I can issue this command:

   

  sofia global siptrace on

   

  And I see all SIP traffic.  But the SIP does not get logged to the actual log file.  How do I get the same output to be sent to the log?  I've searched through the Wiki but I'm not seeing a clear way to do it.

   

  Thanks!

   

  -----------------------

  Eric Z. Beard, CTO

  Loop LLC

  w (877) 850-2010 x9249

  m (727) 776-2768

  eric at loopfx.com

   


  _______________________________________________
  FreeSWITCH-users mailing list
  FreeSWITCH-users at 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 listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org 


  _______________________________________________
  FreeSWITCH-users mailing list
  FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110520/a7a7446c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list