Enabling debug logs on JAIN SIP (NIST implementation)


I'm developing a Java application based on JAIN SIP with the NIST implementation and would like to enable/view SIP stack debugging.

I can't find a working way to achieve that - any help would be appreciated.

Thanks! Joe


Try passing the following properties when you initialize the stack

gov.nist.javax.sip.LOG_MESSAGE_CONTENT=true gov.nist.javax.sip.TRACE_LEVEL=32 gov.nist.javax.sip.DEBUG_LOG=logs/mss-jsip-debuglog.txt gov.nist.javax.sip.SERVER_LOG=logs/mss-jsip-messages.xml


Try this

Properties properties = new Properties(); properties.setProperty("com.g5.javax.sip.STACK_NAME",Profile.getUserName()); properties.setProperty("com.g5.javax.sip.IP_ADDRESS", Profile.getProxyIp()); // DEBUGGING: Information will go to files properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "32"); properties.setProperty("gov.nist.javax.sip.SERVER_LOG", "textclient.txt"); properties.setProperty("gov.nist.javax.sip.DEBUG_LOG", "textclientdebug.log"); try{ sipStack = sipFactory.createSipStack(properties); }catch(Exception e){ System.out.println(e.getMessage()); }


  • Read Nist Wav File in TIMIT database into python numpy array
  • Data Encryption Standard test vectors
  • JAIN-SIP 1.2 for Android: Missing javax.sip.STACK_NAME property
  • sloped uniform distribution python
  • react native animated flatlist item after item
  • trying to split the file download buffer to into separate threads
  • jQuery ajax request from asmx web service
  • Python XPath / libxml2 namespace query
  • Access Field in JSON Data
  • Enabling debug logs on JAIN SIP (NIST implementation)
  • Python: fine tuning several fits functions
  • Municipal datasets? [closed]
  • JQuery not working in Ajax load page
  • Using XPath to access comments a flat hierachy
  • Is there a Socrata API for reading a site's catalog?
  • Is there a sed type package in R for removing embedded NULs?
  • Send parameters to a web service
  • Xpath how to get element by index AND attribute
  • JAXB: How to bind element with namespace
  • getFinancials (quantmod) and tq_get (tidy quant) not working?
  • Using an STL Iterator without initialising it
  • How do I check if System::Collections:ArrayList is empty / nullptr / null?
  • Creating a C++ function that calls other Lua function
  • Unix Network Programming Clarification
  • Google map in top corner left
  • drawing random circles, storing their coorindates in an array
  • How to log in to an HTTPS website with Jsoup?
  • How to use function wrapper in mustache.php?
  • gspread or such: help me get cell coordinates (not value)
  • Problems compiling files using JOGL
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • Android activity accessing service's static reference before the service is ready
  • Swing - Get new component under mouseReleased
  • Custom Tabgroup Appcelerator
  • Q promise. Difference between .when and .then
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Projection media query: browser support and workarounds?
  • Different response to non-authenticated users and AJAX calls
  • Statically linking a C++ library to a C# process using CLI or any other way
  • C# - Getting references of reference