Odoo 3CX Integration via Asterisk/FreePBX

Status
Not open for further replies.

DACH

Customer
Joined
Aug 25, 2023
Messages
2
Reaction score
1
Hello,

We are trying to integrate 3CX with Odoo 16.
We already bought and tried a 3rd party plugin for Odoo, but it didn't work. Although it would be the prefered solution, as we would need an additional software like Asterisk.

I then read that you could use Asterisk as middleware between Odoo and 3CX.

The current setup we have is the following:
-> Odoo 16 (Voip Module) is connected to a secure websocket on our Asterisk/FreePBX instance. This works.
-> Asterisk is connected to 3CX using a pjsip trunk. On the 3CX side ist a bridge trunk set as master. This seems to work.
-> 3CX ist connected to the PTSN over a sip trunk (Peoplefone). This definitely works.

The problem is that, when I deal a phone number in the Odoo softphone, the call gets forwarded to 3CX but rejected by 3CX with following error message:
1692947711510.png
The bridge trunk on 3CX (I didn't touch settings on the other tabs):
1692947780048.png

On the asterisk I set up following pjsip trunk:
1692948106029.png
1692948121427.png

1692948138648.png
On asterisk I added an outbound rule that redirects all outgoing calls to 3CX and prepends 666.
The 3CX is then meant to redirect those calls with the 666 prefix to the PTSN trunk (Peoplefone) and strip the 666 prefix:
1692948367388.png
Is there a way to solve this ?
Is there also a way to route incoming calls to Asterisk and the corresponding 3CX extensions at the same time ?

We are using 3CX 18 update 8 EE, Asterisk 16.30.0 with FreePBX 16.0.40.4.

Odoo, 3CX and FreePBX/Asterisk are hosted on different cloud servers.

Greetings, Florian Schlüter.
 
Bridging 3CX with Asterisk is tricky and almost never works.

We do, however, have an integration with Odoo and 3CX, that does not require a 3rd-party module in Odoo. We use the XMLRPC API directly.
 
  • Like
Reactions: edossantos
Bridging 3CX with Asterisk is tricky and almost never works.

We do, however, have an integration with Odoo and 3CX, that does not require a 3rd-party module in Odoo. We use the XMLRPC API directly.
Well if your solution works better than the solution (which seems to also use the Odoo XMLRPC API) we tested, it could be interresting.
 
  • Like
Reactions: Evolute IT
Bridging 3CX with Asterisk is tricky and almost never works.

We do, however, have an integration with Odoo and 3CX, that does not require a 3rd-party module in Odoo. We use the XMLRPC API directly.
Hello, I am also looking for this. I need to integrate Odoo with 3CX, please tell me more.
 
  • Like
Reactions: Evolute IT
You can both DM me. Our integrations uses our own proxy API that you can host yourself, and 3CX talks directly to Odoo via this proxy.

We support contact and lead lookup, call journaling and soon we will be adding chat journaling.

This is something we offer both as a SaaS or as one-time purchase.
 
Last edited:
Status
Not open for further replies.