跳至内容
菜单
此问题已终结
2 回复
5844 查看

Hi, 

I'm using odoo enterprise version 12, and when i'm calling i receive the call in odoo but when i click ok to answer the call i got this error:


Uncaught TypeError: Cannot read property 'getUserMedia' of undefined

Traceback:
TypeError: Cannot read property 'getUserMedia' of undefined
    at new SessionDescriptionHandler (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4426:136)
    at InviteServerContext.defaultFactory [as sessionDescriptionHandlerFactory] (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4426:775)
    at InviteServerContext.value (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4212:13)
    at InviteServerContext.value (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4203:170)
    at Class._answerCall (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4628:105)
    at Class.confirm_callback (http://199.198.197.198:8069/web/content/3566-02845ae/web.assets_backend.js:4647:528)
    at HTMLButtonElement.<anonymous> (http://199.198.197.198:8069/web/content/3551-c37dd57/web.assets_common.js:3794:423)
    at HTMLButtonElement.dispatch (http://199.198.197.198:8069/web/content/3551-c37dd57/web.assets_common.js:892:451)
    at HTMLButtonElement.elemData.handle (http://199.198.197.198:8069/web/content/3551-c37dd57/web.assets_common.js:865:173)

any one have any idea about this error please?


形象
丢弃
最佳答案

did u fix the error ?

形象
丢弃
最佳答案

Hi, got same issue here, did you find reason for this error?

With kind regards,

Michael Hucke

https://www.odoo.com/de_DE/forum/hilfe-1/question/odoo-enterprise-asterisk-freepbx-odoo-softphone-voip-error-message-answering-incoming-call-156524

形象
丢弃
编写者

still stuck actually, but I guess it's an SSL issue, the browser requires a secure connection to give the access to device media (audio, video ....), but when you achieve that, the socket url should be wss not ws, because ws works with http only, and now I'm stuck here again because wss socket don't work for me

Thanks, this is a good hint. So we need to make Asterisk talk WSS

编写者

yes, that is what i think, but I don't have any idea how to do that, maybe we should create ssl for asterisk server too

编写者

than it seems a good documentation, I will check it tomorrow, and will keep you updated

编写者

Hi Michael, i couldn't make it a wss socket using these instructions, but tried sth else, which is using google chrome, then allow mixed content in the browser, and that was the only way that worked with me, and i'm not really happy with it

相关帖文 回复 查看 活动
1
8月 25
655
1
5月 25
1695
1
6月 25
25282
0
10月 23
1451
0
9月 23
2817