public SipStack initializeSipStack ( String transport , String myPort , Properties myProperties ) throws Exception { /* * http://code.google.com/p/mobicents/issues/detail?id=3121 * Reset sipStack when calling initializeSipStack method */ tearDown ( ) ; try { sipStack = new SipStack ( transport , Integer . valueOf ( myPort ) , myProperties ) ; logger . info ( "SipStack - " + sipStackName + " - created!" ) ; } catch ( Exception ex ) { logger . info ( "Exception: " + ex . getClass ( ) . getName ( ) + ": " + ex . getMessage ( ) ) ; throw ex ; } initialized = true ; return sipStack ; }
Initialize SipStack using provided properties