修复info请求头中的cseq序列

pull/399/head
朱俊杰 2022-03-16 11:18:09 +08:00
parent 70ada79c7a
commit b1c479b938
1 changed files with 2 additions and 3 deletions

View File

@ -255,9 +255,8 @@ public class SIPRequestHeaderProvider {
// Forwards // Forwards
MaxForwardsHeader maxForwards = sipFactory.createHeaderFactory().createMaxForwardsHeader(70); MaxForwardsHeader maxForwards = sipFactory.createHeaderFactory().createMaxForwardsHeader(70);
if (cseq == null) {
cseq = redisCatchStorage.getCSEQ(Request.INFO); cseq = redisCatchStorage.getCSEQ(Request.INVITE);
}
// ceq // ceq
CSeqHeader cSeqHeader = sipFactory.createHeaderFactory() CSeqHeader cSeqHeader = sipFactory.createHeaderFactory()
.createCSeqHeader(cseq, Request.INFO); .createCSeqHeader(cseq, Request.INFO);