|
@@ -1,6 +1,7 @@
|
|
|
package org.jetlinks.pro.media.sip;
|
|
|
|
|
|
import gov.nist.core.LogLevels;
|
|
|
+import gov.nist.javax.sip.stack.NioMessageProcessorFactory;
|
|
|
import io.swagger.v3.oas.annotations.Hidden;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Getter;
|
|
@@ -84,6 +85,7 @@ public class SipProperties {
|
|
|
properties.putIfAbsent("gov.nist.javax.sip.LOG_MESSAGE_CONTENT", "false");
|
|
|
properties.setProperty("javax.sip.STACK_NAME", stackName);
|
|
|
properties.setProperty("javax.sip.IP_ADDRESS", localAddress);
|
|
|
+ properties.putIfAbsent("gov.nist.javax.sip.MESSAGE_PROCESSOR_FACTORY", NioMessageProcessorFactory.class.getName());
|
|
|
return properties;
|
|
|
}
|
|
|
}
|