Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5838 Vistas

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
Descartar
Mejor respuesta

did u fix the error ?

Avatar
Descartar
Mejor respuesta

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
Descartar
Autor

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

Autor

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

Autor

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

Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 25
654
1
may 25
1695
1
jun 25
25277
0
oct 23
1449
0
sept 23
2816