- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 linphone iphone sdk 开发 IOS VOIP 应用程序。
我还为 VOIP 服务器使用了 Asterisk PBX 12.6.1。
我从 A 到 B 进行了音频通话。
我已经确认了来自星号服务器的 SIP 日志,并且星号仅获得了音频 SDP。
但是当 NAT 向对等方发送邀请消息时,我看到了来自邀请消息的视频 SDP。
这意味着,当 Invite 消息通过 NAT 时,视频 SDP 添加到 Invite 消息中。
所以我打了音频电话,但被调用者知道这是视频 session ,因为存在视频 SDP。
我怎样才能找到解决方案?
谢谢你。
下面是我看到的 SIP 日志。
INVITE sip:8611111111@myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:63787;branch=z9hG4bK.g2B2Eb9kT;rport
From: "8615524541202" <sip:8615524541202@myvoip.com>;tag=Z9ZmQR1UW
To: "xiu20170508" <sip:8611111111@myvoip.com>
CSeq: 20 INVITE
Call-ID: TmNmS3XX2H
Max-Forwards: 70
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 763
Contact: <sip:8615524541202@NATIP:63787;transport=udp>;+sip.instance="<urn:uuid:ccc94acb-59d0-4048-8ccf-4795a8510248>"
User-Agent: iPhone.6.Plus_iOS10.3.3/3.16.4-83-g47dba0d2 (belle-sip/1.6.1)
v=0
o=8615524541202 4023 1235 IN IP4 NATIP
s=Talk
c=IN IP4 NATIP
b=AS:512
t=0 0
a=ice-pwd:2aa3fb71d33aaeabd9b709c5
a=ice-ufrag:11ed9d27
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7268 RTP/AVPF 96 0 8 18 101 97
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/48000
a=rtpmap:97 telephone-event/8000
a=candidate:1 1 UDP 2130706431 192.168.1.101 7268 typ host
a=candidate:1 2 UDP 2130706430 192.168.1.101 7269 typ host
a=candidate:2 1 UDP 1694498815 NATIP 7268 typ srflx raddr 192.168.1.101 rport 7268
a=candidate:2 2 UDP 1694498814 NATIP 7269 typ srflx raddr 192.168.1.101 rport 7269
a=rtcp-fb:* trr-int 5000
a=rtcp-fb:* ccm tmmbr
Found RTP audio format 96
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 101
Found RTP audio format 97
Found audio description format opus for ID 96
Found unknown media description format telephone-event for ID 101
Found audio description format telephone-event for ID 97
Capabilities: us - (slin|g729|speex|h264|opus|vp8), peer - audio=(ulaw|alaw|g729|opus)/video=(nothing)/text=(nothing), combined - (g729|opus)
Reliably Transmitting (NAT) to NATIP:38594:
INVITE sip:8611111111@192.168.1.106:38594;transport=udp SIP/2.0
Via: SIP/2.0/UDP myvoip.com:5060;branch=z9hG4bK291104a5;rport
Max-Forwards: 70
From: "8615524541202" <sip:8615524541202@myvoip.com>;tag=as112aacc0
To: <sip:8611111111@192.168.1.106:38594;transport=udp>
Contact: <sip:8615524541202@myvoip.com:5060>
Call-ID: 7d258c10070c820c6da8c9632fb00067@myvoip.com:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 12.6.1
Date: Tue, 05 Dec 2017 14:26:53 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 1454
v=0
o=root 533584201 533584201 IN IP4 myvoip.com
s=Asterisk PBX 12.6.1
c=IN IP4 myvoip.com
b=CT:384
t=0 0
m=audio 10156 RTP/AVP 96 110 10 18 97
a=rtpmap:96 opus/48000/2
a=fmtp:96 maxplaybackrate=48000;sprop-maxcapturerate=48000;minptime=10;maxaveragebitrate=20000;stereo=0;sprop-stereo=0;cbr=0;useinbandfec=0;usedtx=0
a=rtpmap:110 speex/8000
a=rtpmap:10 L16/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:60
a=ice-ufrag:1849182226f511bd0c82b340773eb664
a=ice-pwd:4078b4a75c3730c13ed92aa85e317bce
a=candidate:Hac1f1be6 1 UDP 2130706431 stunip 10156 typ host
a=candidate:S3642e9ba 1 UDP 1694498815 myvoip.com 10156 typ srflx
a=candidate:Hac1f1be6 2 UDP 2130706430 stunip 10157 typ host
a=candidate:S3642e9ba 2 UDP 1694498814 myvoip.com 10157 typ srflx
a=sendrecv
m=video 13866 RTP/AVP 100 99
a=ice-ufrag:364315c202baf54c125f661f1f1a1bf1
a=ice-pwd:50974e571f2e161023905c2540f88ec0
a=candidate:Hac1f1be6 1 UDP 2130706431 stunip 13866 typ host
a=candidate:S3642e9ba 1 UDP 1694498815 myvoip.com 13866 typ srflx
a=candidate:Hac1f1be6 2 UDP 2130706430 stunip 13867 typ host
a=candidate:S3642e9ba 2 UDP 1694498814 myvoip.com 13867 typ srflx
a=rtpmap:100 VP8/90000
a=rtcp-fb:* ccm fir
a=rtpmap:99 H264/90000
a=fmtp:99 redundant-pic-cap=0;parameter-add=0;packetization-mode=0;level-asymmetry-allowed=0
a=sendrecv
最佳答案
我解决了上述问题,我修复了星号服务器代码。
这是链接。
https://issues.asterisk.org/jira/browse/ASTERISK-27151
关于ios - 缺少音频/视频 SDP 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47656359/
我正在尝试在 map 上绘制一些疾病事件数据的位置。 我用它来导入数据: ByTown% addProviderTiles("CartoDB.Positron")%>% addPolygons
我有一个文件调用 find.js,我使用 node find.js 运行,我的节点是版本 10 我不知道为什么我无法使用 async await。 const axios = require("axi
我有一个项目作为引用添加到 System.Web。 但是,它似乎无法获取 HttpContext。这样做: Imports System.Web _ApplicationBase = HttpCont
在互联网上找到这段代码,出于某种原因它缺少 while 循环逻辑“while(i....)”,虽然我找到了 PigLatin* 问题的其他可行解决方案,但我真的很想了解这个正在工作。 *PigLati
我工作了一整天来运行 Xampp 并在其上安装 TYPO3。现在我登录到后端,但没有显示许多管理模块,例如模板、访问等。 - 一定是我做错了什么,但我不知道。 these are the module
你好 我有编译这个问题 \begin{equation} J = \sum_{j=1}^{C} \end{equation} 我不断收到错误 missing $ inserted 这很奇怪,因
我正在尝试使用 SQLite CLI,但无法获得 generate_series功能来工作。我可以按照文档中的建议使用递归 CTE 对其进行模拟,但我似乎无法获得该链接中的任何示例。这是我的 sess
我目前正在开发我想要的软件,而软件正在安装,它可以在后台为软件创建 native 图像。 我正在考虑使用 NGEN 并将进程优先级设置为低,因为我不希望它消耗 100% CPU。但是我发现我的计算机上
我想使用 Xcodes Instruments 进行 UI 自动化测试。但似乎缺少“自动化”。我怎样才能添加这个? 最佳答案 如果您想使用自动化仪器,请使用 Xcode 7.3。 Apple 在 Xc
我目前在 JS 开发中迈出了一小步,并编写了以下链接添加器: const button = document.getElementById('button') const listdiv = docu
此代码有什么问题: NSError *error = nil; [SFHFKeychainUtils deleteItemForUsername:@"IAPNoob01" andServiceName
出于某种原因,在安装和配置(我认为)一切之后,com.adobe.utils.AGALMiniAssembler 不见了,其他一切正常。 我认为我已尽一切努力让孵化器正常工作,但显然我错过了一步。 如
我有一个名为 new 的方法。调用 new 时,我传递了一个参数,但是当我运行应用程序时,出现没有参数或参数为空的错误。 StepReader.pm package StepReader; use s
安装 gtk 1.2(包名 gtk1)和 macports chokes 在最终的 make 中,在 libintl.h 的第 440 行。 extern locale_t libintl_newlo
我用按钮创建表格。 这是javascript代码: function layersListTable(layers) { var content =''; $.each($(layer
我在使用此 javascript 时遇到此错误,任何人都可以帮我弄清楚我做错了什么吗? $(this).prepend('Check availability »'); 它给我错误 mis
我有一个独立的工具链 NDK13b、api19、llvm 3.8 编译器、arm 32 位、带有 libcpp(llvm C++ 库) 我想避免依赖 libgcc,所以我构建了 compiler-rt
我按照一些教程使用 phonegap 的条形码扫描器插件。但是当我从现有源创建一个新的 android 项目来创建条码库时 (step 6 in this page)我收到错误:“AndroidMan
我现在尝试在 Eclipse 中打开我的布局 xml 文件。我只得到错误 No XML content. Please add a root view or layout to your docume
我的 android-sdk-windows\tools 目录中缺少层次结构查看器工具。 工具链接: http://developer.android.com/guide/developing/too
我是一名优秀的程序员,十分优秀!