PJSIP。在某些 Wi-Fi 网络中,拨出电话会在 20 秒后中断

发布于 2024-09-16 12:46:25 字数 537 浏览 3 评论 0原文

什么步骤会重现该问题?

  1. 在装有 iOS 4 的 iPhone 3G 上使用 PJSIP 启动应用程序。
  2. 拨打电话。开始对话。
  3. 等待 20 秒。

预期产出是多少?您看到了什么?

实际结果:拨出电话在 20 秒处中断。我拨打的电话断线了。根据日志文件,通话正常结束。

您使用的产品版本是什么?在什么操作系统上?

  • 我使用 iPhone 3g 和 iOS 4、iPhone 2g 和 iOS 3、iPhone 3gs 和 iOS 4、iPhone 4 和 iOS 4
  • 我尝试使用 PJSIP 1.0.3、PJSIP 1.6、PJSIP 1.7

我有在此 Wi-Fi 网络上尝试了另一个 sip 客户端:

  • Fring - 问题重现
  • Nimbuzz - 问题未重现

请帮助我解决此问题。

What steps will reproduce the problem?

  1. Startup application with PJSIP at iPhone 3G with iOS 4.
  2. Make outgoing call. Start conversation.
  3. Wait 20 seconds.

What is the expected output? What do you see instead?

Actual result: Outgoing call cut off at 20 sec. The call breaks on the phone on which I have called. And the call ends normally according to the log-file.

What version of the product are you using? On what operating system?

  • I use iPhone 3g with iOS 4, iPhone 2g with iOS 3, iPhone 3gs with iOS 4, iPhone 4 with iOS 4
  • I tried to use PJSIP 1.0.3, PJSIP 1.6, PJSIP 1.7

I have tried another sip clients at this Wi-Fi network:

  • Fring - the problem reproduce
  • Nimbuzz - the problem NOT reproduce

Please help me to solve this problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

帝王念 2024-09-23 12:46:25

听起来您需要 SIP 连接上的保活机制。 PJSIP 支持这一点。也许您必须启用它。

使用数据包嗅探器查看实际情况。

Sounds like you need a keepalive mechanism on the SIP connection. PJSIP supports this. Maybe you will have to enable it.

Use a packet sniffer to see what is actually going on.

月亮坠入山谷 2024-09-23 12:46:25

在 SuperUser 中你可能会更幸运。话虽如此,如果一个 SIP 客户端没有此问题,而另一个 SIP 客户端有此问题,则您的第一步应该是查看工作客户端和非工作客户端之间的差异。

当您说通话中断时,您的意思是媒体停止流动了吗?有什么东西向你道别吗? (如果媒体停止流动,并且您终止了通话,BYE 是否会消失并收到 200 OK 回复?)

是否可以在无线接入点的远端使用 Wireshark 之类的东西?换句话说,您能看到经过 Wifi 网络的第一跳上的媒体流量吗?当通话中断时,你会看到什么?

You'll probably have more luck at SuperUser. Having said that, if one SIP client doesn't have this problem, while the other does, your first step should be to look at what's different between working and non-working clients.

When you say the call cuts off do you mean that media just stops flowing? Does something send you a BYE? (If the media stops flowing, and you terminate your end of the call, does the BYE go out and do you get a 200 OK back?)

Is it possible to use something like Wireshark on the far side of your wireless access point? In other words, can you see media traffic on the first hop past the Wifi network? When the call's cut off, what do you see?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文