| | |
| | | import org.slf4j.LoggerFactory;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.context.annotation.Bean;
|
| | | // import org.springframework.context.annotation.ComponentScan;
|
| | | import org.springframework.context.annotation.DependsOn;
|
| | | import org.springframework.stereotype.Component;
|
| | |
|
| | |
| | | logger.debug(evt.getRequest().toString());
|
| | | // 由于jainsip是单线程程序,为提高性能并发处理
|
| | | processThreadPool.execute(() -> {
|
| | | processorFactory.createRequestProcessor(evt).process();
|
| | | if (processorFactory != null) {
|
| | | processorFactory.createRequestProcessor(evt).process();
|
| | | }
|
| | | });
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | // } else if (status == Response.TRYING) {
|
| | | // trying不会回复
|
| | | } else if ((status >= 100) && (status < 200)) {
|
| | | // 增加其它无需回复的响应,如101、180等
|
| | | } else {
|