Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[新功能] 目录订阅支持刷新订阅 #1210

Open
criver31 opened this issue Dec 13, 2023 · 1 comment
Open

[新功能] 目录订阅支持刷新订阅 #1210

criver31 opened this issue Dec 13, 2023 · 1 comment

Comments

@criver31
Copy link
Contributor

环境信息:
最新的wvp代码

内容描述:
问题:订阅该如何交互

根据RFC 3265文档中3.1.4.2刷新订阅规范:
image

说刷新订阅的eventId需要是相同的;但我在wvp生成订阅请求createSubscribeRequest中:

	EventHeader eventHeader = SipFactory.getInstance().createHeaderFactory().createEventHeader(event);

	int random = (int) Math.floor(Math.random() * 10000);
	eventHeader.setEventId(random + "");
	request.addHeader(eventHeader);

每次发送的订阅的eventId都是随机的;我想请教下规范的订阅交互流程应该是怎么样的

截图

抓包文件

日志

日志内容放这里, 文件的话请直接上传
@648540858
Copy link
Owner

这边以前用过续订的方式,但是很多下级平台不支持,导致订阅失败了,重新订阅这种反而兼容性更好一些,后面考虑做成配置的

@648540858 648540858 changed the title 目录订阅每次都是新的订阅 [功能请求] 目录订阅支持刷新订阅 Dec 18, 2023
@648540858 648540858 changed the title [功能请求] 目录订阅支持刷新订阅 [新功能] 目录订阅支持刷新订阅 Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants