调整
This commit is contained in:
parent
6709c951ed
commit
9e0e8878ca
@ -98,7 +98,7 @@ public class RegisterRequestProcessor extends SIPRequestProcessorParent implemen
|
|||||||
device.setExpires(request.getExpires().getExpires());
|
device.setExpires(request.getExpires().getExpires());
|
||||||
device.setIp(remoteAddressInfo.getIp());
|
device.setIp(remoteAddressInfo.getIp());
|
||||||
device.setPort(remoteAddressInfo.getPort());
|
device.setPort(remoteAddressInfo.getPort());
|
||||||
device.setHostAddress(remoteAddressInfo.getIp().concat(":").concat(String.valueOf(remoteAddressInfo.getPort())));
|
device.setHostAddress(String.join(":",remoteAddressInfo.getIp(),String.valueOf(remoteAddressInfo.getPort())));
|
||||||
device.setLocalIp(request.getLocalAddress().getHostAddress());
|
device.setLocalIp(request.getLocalAddress().getHostAddress());
|
||||||
Response registerOkResponse = getRegisterOkResponse(request);
|
Response registerOkResponse = getRegisterOkResponse(request);
|
||||||
// 判断TCP还是UDP
|
// 判断TCP还是UDP
|
||||||
|
Loading…
Reference in New Issue
Block a user