完成向上级联->注册

This commit is contained in:
648540858
2020-11-24 16:41:00 +08:00
parent 2fb203e1a1
commit ecaf8750dd
16 changed files with 416 additions and 13 deletions

View File

@@ -123,7 +123,7 @@ public class SipLayer implements SipListener {
public void processResponse(ResponseEvent evt) {
Response response = evt.getResponse();
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);