修复默认注册方式

2.7.1
648540858 2024-09-25 10:38:52 +08:00
parent 1c30e13208
commit 0c865d1210
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@ public class SIPRequestHeaderPlarformProvider {
if ("auth".equalsIgnoreCase(qop)) {
// 客户端随机数,这是一个不透明的字符串值,由客户端提供,并且客户端和服务器都会使用,以避免用明文文本。
// 这使得双方都可以查验对方的身份,并对消息的完整性提供一些保护
cNonce = UUID.randomUUID().toString();
}else if ("auth-int".equalsIgnoreCase(qop)){
// TODO
@ -155,6 +155,7 @@ public class SIPRequestHeaderPlarformProvider {
reStr.append(nc);
reStr.append(":");
reStr.append(cNonce);
reStr.append(":");
reStr.append(qop);
reStr.append(":");