InvalidSessionDescriptionError: Invalid description, no ice-ufrag attribute
InvalidSessionDescriptionError: Invalid description, no ice-ufrag attribute
我正在尝试获取星号 11.20.0 运行 WebRTC(sip.js 0.72,我认为它是 jssip 的一个分支),但我看到以下内容(以及被叫方响了,但是当 phone 被接听时,电话被挂断了)。
这是我的设置:
我看到的:
在 CLI 中:
[2015-11-24 01:01:53] NOTICE[43619][C-00000002]: res_rtp_asterisk.c:4441 ast_rtp_read: Unknown RTP codec 95 received from '(null)'
在 Firefox 中:
InvalidSessionDescriptionError: Invalid description, no ice-ufrag attribute
附件:
- SIP Dialogue(星号 CLI)
- Webphone Log
- Config Files (httpd.conf, sip.conf, rtp.conf)
- Asterisk Compiled with Libuuid & Friends
到目前为止我尝试过的:
- 更改了 webRTC 实现(尝试 chrome 和 firefox 都使用 SIPML 和 SIP.JS)
- 在客户端将 STUN 服务器设置为空 (stunServers: ['stun:null'])
- 正确配置(我希望)我的 sip.conf 和 rtp.conf 和 httpd.conf
- 确保我有 libuuid、uuid 和它们的 -devel 伙伴,并且在我重新编译 asterisk 之后。
我读过的内容:
- http://forums.asterisk.org/viewtopic.php?p=201702
- https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
- https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5
- http://jssip.net/documentation/misc/interoperability/asterisk/
- http://sipjs.com/guides/server-configuration/asterisk/
- https://kunjans.wordpress.com/2015/01/09/web-sip-client-sipml5-with-asterisk-13-on-centos-6-6/
- http://forums.digium.com/viewtopic.php?f=1&t=89798
如果可以的话,请帮帮我。我正准备用大锤砸碎我的盒子。
遇到同样的问题并按照 http://forums.digium.com/viewtopic.php?f=1&t=90167 中的说明进行操作意识到:
This issue is caused because you asterisk don't have ICE support, you can solve that by installing the uuid/libuuid and uuid-devel/libuuid-devel packages on your system. Then recompile asterisk(be sure to rerun the configure script before the make command).
我确实重新编译了我的 Astersik 11.16.0 补丁以支持 ECDH 并回退到 prime256v1 https://issues.asterisk.org/jira/browse/ASTERISK-25265 并且看起来当时失去了 uuid 支持。恢复到未打补丁的版本(具有 uuid 支持,以前编译过)解决了我在 Firefox 控制台中出现 "no ice-ufrag attribute" 错误的问题,并且现在从基于星号的 WebRTC 客户端 SIPML5 进行的调用进展顺利,但不是相反的方向
我正在尝试获取星号 11.20.0 运行 WebRTC(sip.js 0.72,我认为它是 jssip 的一个分支),但我看到以下内容(以及被叫方响了,但是当 phone 被接听时,电话被挂断了)。
这是我的设置:
我看到的:
在 CLI 中:
[2015-11-24 01:01:53] NOTICE[43619][C-00000002]: res_rtp_asterisk.c:4441 ast_rtp_read: Unknown RTP codec 95 received from '(null)'
在 Firefox 中:
InvalidSessionDescriptionError: Invalid description, no ice-ufrag attribute
附件:
- SIP Dialogue(星号 CLI)
- Webphone Log
- Config Files (httpd.conf, sip.conf, rtp.conf)
- Asterisk Compiled with Libuuid & Friends
到目前为止我尝试过的:
- 更改了 webRTC 实现(尝试 chrome 和 firefox 都使用 SIPML 和 SIP.JS)
- 在客户端将 STUN 服务器设置为空 (stunServers: ['stun:null'])
- 正确配置(我希望)我的 sip.conf 和 rtp.conf 和 httpd.conf
- 确保我有 libuuid、uuid 和它们的 -devel 伙伴,并且在我重新编译 asterisk 之后。
我读过的内容:
- http://forums.asterisk.org/viewtopic.php?p=201702
- https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
- https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5
- http://jssip.net/documentation/misc/interoperability/asterisk/
- http://sipjs.com/guides/server-configuration/asterisk/
- https://kunjans.wordpress.com/2015/01/09/web-sip-client-sipml5-with-asterisk-13-on-centos-6-6/
- http://forums.digium.com/viewtopic.php?f=1&t=89798
如果可以的话,请帮帮我。我正准备用大锤砸碎我的盒子。
遇到同样的问题并按照 http://forums.digium.com/viewtopic.php?f=1&t=90167 中的说明进行操作意识到:
This issue is caused because you asterisk don't have ICE support, you can solve that by installing the uuid/libuuid and uuid-devel/libuuid-devel packages on your system. Then recompile asterisk(be sure to rerun the configure script before the make command).
我确实重新编译了我的 Astersik 11.16.0 补丁以支持 ECDH 并回退到 prime256v1 https://issues.asterisk.org/jira/browse/ASTERISK-25265 并且看起来当时失去了 uuid 支持。恢复到未打补丁的版本(具有 uuid 支持,以前编译过)解决了我在 Firefox 控制台中出现 "no ice-ufrag attribute" 错误的问题,并且现在从基于星号的 WebRTC 客户端 SIPML5 进行的调用进展顺利,但不是相反的方向