上级注册Expires值根据填表值发送

This commit is contained in:
Lawrence 2020-12-18 00:43:17 +08:00
parent ae336ae494
commit 28d17b04b1

View File

@ -214,7 +214,7 @@ public class SIPRequestHeaderProvider {
.createSipURI(platform.getDeviceGBId(), sipAddress));
request.addHeader(sipFactory.createHeaderFactory().createContactHeader(concatAddress));
ExpiresHeader expires = sipFactory.createHeaderFactory().createExpiresHeader(3600);
ExpiresHeader expires = sipFactory.createHeaderFactory().createExpiresHeader(Integer.parseInt(platform.getExpires()));
request.addHeader(expires);
return request;