首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >星号无法在特定的WIFI网络上听到声音

星号无法在特定的WIFI网络上听到声音
EN

Stack Overflow用户
提问于 2014-05-03 10:30:15
回答 2查看 5.3K关注 0票数 0

星号11不能在特定的WIFI网络上传送呼叫者和被呼叫者的声音。

WIFI电话==> 4G LTE电话(能听到声音/工作)

代码语言:javascript
复制
== Using SIP RTP CoS mark 5
-- Called SIP/01036504100
-- SIP/01036504100-00000594 is ringing
-- SIP/01036504100-00000594 answered SIP/01010001004-00000593
-- Locally bridging SIP/01010001004-00000593 and SIP/01036504100-00000594
   > 0x7f5a401b6800 -- Probation passed - setting RTP source address to 1XX.63.12.134:7076
   > 0x7f5a401b6800 -- Probation passed - setting RTP source address to 1XX.63.12.134:7076
   > 0x7f5a3800bf90 -- Probation passed - setting RTP source address to 2XX.62.163.73:51658

3G手机==> 4G LTE手机(能听到声音/工作)

代码语言:javascript
复制
== Using SIP RTP CoS mark 5
-- Called SIP/01088143268
-- SIP/01088143268-00000596 is ringing
-- SIP/01088143268-00000596 answered SIP/01036504100-00000595
-- Remotely bridging SIP/01036504100-00000595 and SIP/01088143268-00000596
   > 0x7f5a3800bf90 -- Probation passed - setting RTP source address to 3X.7.29.226:2779
   > 0x7f5a40017050 -- Probation passed - setting RTP source address to 2XX.62.163.73:51944
   > 0x7f5a3800bf90 -- Probation passed - setting RTP source address to 3X.7.29.226:2779

另一款WIFI电话==> 4G LTE手机(听不到声音/不工作)

代码语言:javascript
复制
== Using SIP RTP CoS mark 5
-- Called SIP/01036504100
-- SIP/01036504100-00000598 is ringing
-- SIP/01036504100-00000598 answered SIP/01088143268-00000597
-- Remotely bridging SIP/01088143268-00000597 and SIP/01036504100-00000598
   > 0x7f5a40116470 -- Probation passed - setting RTP source address to 5X.237.58.102:7076
   > 0x7f5a40116470 -- Probation passed - setting RTP source address to 5X.237.58.102:7076
   > 0x7f5a38027a20 -- Probation passed - setting RTP source address to 2XX.62.163.73:52040
   > 0x7f5a38027a20 -- Probation passed - setting RTP source address to 2XX.62.163.73:52040

我在想也许我只开了10,000到20,000之间的UDP。然而,我错了。星号-rvvvvv没有告诉我问题出在哪里。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-05-07 09:45:41

我把用户的nat值改为"force_rport,喜剧“,现在两个用户都可以听到声音了。

代码语言:javascript
复制
nat=force_rport,comedia

奇怪的是,nat = yes和nat = force_rport,comdia应该是一样的,但是第二个是在使用Asteirks 11。

票数 1
EN

Stack Overflow用户

发布于 2014-05-03 16:07:36

通过打开控制台上的SIP和RTP调试日志:sip set debug onrtp set debug on来检查它们。

通过这种方式,您可以找到RTP音频流的哪一段不会到达它应该到达的位置。这主要是由NAT问题引起的(请参阅sip.conf的NAT部分。

如果您无法从电话中看到传入的RTP数据包,那么可能是防火墙阻塞了流量,或者是NAT问题。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23443211

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档