- 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:

The bridge trunk on 3CX (I didn't touch settings on the other tabs):

On the asterisk I set up following pjsip trunk:



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:

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.
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:

The bridge trunk on 3CX (I didn't touch settings on the other tabs):

On the asterisk I set up following pjsip trunk:



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:

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.