| | |
| | | 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;
|
| | |
|
| | |
| | | Response response = evt.getResponse();
|
| | | logger.debug(evt.getResponse().toString());
|
| | | int status = response.getStatusCode();
|
| | | if ((status >= 200) && (status < 300)) { // Success!
|
| | | if (((status >= 200) && (status < 300)) || status == 401) { // Success!
|
| | | ISIPResponseProcessor processor = processorFactory.createResponseProcessor(evt);
|
| | | try {
|
| | | processor.process(evt, this, sipConfig);
|