| | |
| | | }else if (expiredKey.startsWith(PLATFORM_REGISTER_PREFIX)) { |
| | | String platformGBId = expiredKey.substring(PLATFORM_REGISTER_PREFIX.length(),expiredKey.length()); |
| | | |
| | | publisher.platformNotRegisterEventPublish(platformGBId); |
| | | publisher.platformRegisterCycleEventPublish(platformGBId); |
| | | }else if (expiredKey.startsWith(KEEPLIVEKEY_PREFIX)){ |
| | | String deviceId = expiredKey.substring(KEEPLIVEKEY_PREFIX.length(),expiredKey.length()); |
| | | publisher.outlineEventPublish(deviceId, KEEPLIVEKEY_PREFIX); |
| | |
| | | eventResult.callId = callid; |
| | | eventResult.msg = "注册超时"; |
| | | eventResult.type = "register timeout"; |
| | | sipSubscribe.getErrorSubscribe(callid).response(eventResult); |
| | | if (sipSubscribe.getErrorSubscribe(callid) != null) { |
| | | sipSubscribe.getErrorSubscribe(callid).response(eventResult); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |