注册过程中区分不同的CSeq值

This commit is contained in:
Lawrence 2020-12-17 14:47:56 +08:00
parent 5cecb10b00
commit 87ce22e031

View File

@ -52,7 +52,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
try {
Request request = null;
if (realm == null || nonce == null) {
request = headerProvider.createRegisterRequest(parentPlatform, null, null);
request = headerProvider.createRegisterRequest(parentPlatform, 1L, null, null);
}else {
request = headerProvider.createRegisterRequest(parentPlatform, null, null, callId, realm, nonce, scheme);
}