帮助

0

Odoo Enterprise / Asterisk FreePBX / Odoo Softphone / VOIP - Error message answering incoming call

Avatar
Michael Hucke

Hi, we successfully connected an Asterisk "FreePBX" to Odoo 12.0

On incoming call it identifies the caller and a Message pops up as expected.

When we then try to answer that call we get a Javascript client error:


Odoo Client error

Uncaught TypeError: Cannot read property 'getUserMedia' of undefinedhttp://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:3890Traceback:TypeError: Cannot read property 'getUserMedia' of undefined    at new SessionDescriptionHandler (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:3890:136)    at InviteServerContext.defaultFactory [as sessionDescriptionHandlerFactory] (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:3890:775)    at InviteServerContext.value (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:3675:13)    at InviteServerContext.value (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:3666:170)    at Class._answerCall (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:4092:105)    at Class.confirm_callback (http://172.17.17.124:8069/web/content/546-9b31797/web.assets_backend.js:4111:528)    at HTMLButtonElement. (http://172.17.17.124:8069/web/content/401-e2b4a26/web.assets_common.js:3795:423)    at HTMLButtonElement.dispatch (http://172.17.17.124:8069/web/content/401-e2b4a26/web.assets_common.js:892:451)    at HTMLButtonElement.elemData.handle (http://172.17.17.124:8069/web/content/401-e2b4a26/web.assets_common.js:865:173)

My guess is that the Browser tries to read a list of available devices (Speaker, Microphone) to actually do the phone call.

Question: Does the Browser need some extension/setting specially for Odoo Softphone to work?

Suggestions/hints very welcome.

Michael


头像
丢弃
3 答案
0
Avatar
Hans Rickhoff
Best Answer

Any updates here? Trying to figure out how this might work ... odoo VOIP and Asterisk/Freepbx15 ... same errors


头像
丢弃
0
Avatar
Michael Hucke
Best Answer

We stayed in Protoype phase as Customers did use a tapi client.

I could make contact with the Asterix guy who did the tests with us if you need support for Asterisk?

头像
丢弃
0
Avatar
Fred Cruypennick
Best Answer

Hello Michael ,

I try to connect odoo 12 with freepbx. Did you get any tutorial or docs to help me please ? 

I would like to use softphones and yealink phones aswell.

Thank you

Fred


头像
丢弃