İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5862 Görünümler

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?


Avatar
Vazgeç
En İyi Yanıt

did u fix the error ?

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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

Üretici

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

Üretici

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

Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 25
1732
1
Ağu 25
658
1
Haz 25
25312
0
Eki 23
1466
0
Eyl 23
2826