Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
5847 Vizualizări

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?


Imagine profil
Abandonează
Cel mai bun răspuns

did u fix the error ?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
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

Related Posts Răspunsuri Vizualizări Activitate
2
sept. 25
1728
1
aug. 25
656
1
iun. 25
25300
0
oct. 23
1456
0
sept. 23
2823