|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public void process(ResponseEvent evt, SipLayer layer, SipConfig config) { | 
|---|
|  |  |  | // TODO Auto-generated method stub | 
|---|
|  |  |  | Response response = evt.getResponse(); | 
|---|
|  |  |  | CallIdHeader callIdHeader = (CallIdHeader) response.getHeader(CallIdHeader.NAME); | 
|---|
|  |  |  | String callId = callIdHeader.getCallId(); | 
|---|
|  |  |  | 
|---|
|  |  |  | redisCatchStorage.delPlatformRegisterInfo(callId); | 
|---|
|  |  |  | parentPlatform.setStatus(true); | 
|---|
|  |  |  | // 取回Expires设置,避免注销过程中被置为0 | 
|---|
|  |  |  | ParentPlatform parentPlatformTmp = storager.queryParentPlatById(platformGBId); | 
|---|
|  |  |  | ParentPlatform parentPlatformTmp = storager.queryParentPlatByServerGBId(platformGBId); | 
|---|
|  |  |  | String expires = parentPlatformTmp.getExpires(); | 
|---|
|  |  |  | parentPlatform.setExpires(expires); | 
|---|
|  |  |  | storager.updateParentPlatform(parentPlatform); | 
|---|