3CX+ Odoo CRM: Now Natively Integrated with 3CX

KyriacosS_3CX

Staff member
Joined
May 8, 2025
Messages
2,446
Reaction score
2,076

Every call, chat and contact synced straight to Odoo, right out of the box.​

With Version 20 Update 10, Odoo CRM is now natively integrated with 3CX - a big deal for the large number of businesses already running both platforms. This means Admins can connect the PBX directly to Odoo in minutes, with no custom CRM template to maintain and n...
Continue reading the Original Blog Post.
 
  • Like
Reactions: N_G
Is Odoo 18 OK ?

1792465209193.png

Not sure it is.
 
Last edited:
Odoo CRM integration is available from Update 10 and according to guideline here.
This is not related with Odoo version as mentioned since the integration is through 3CX CRM API.
 
  • Like
Reactions: IrinaP_3CX
I'm on 3CX Version 20.0 Update 10 (Build 1716 Beta - AI 1.6.71)

I did use the settings on that page as my first try.

I was wondering if there is a way to troubleshoot the error.
 
The next tab is the CRM log, what is the error there?
 
Last edited:
I was able to post the error with the middle of it removed. Not sure that part is needed anyway. My setup is 3CX runs on UNRAID (IP is .50) as a VMS (.150), and Odoo runs as a Docker (.150:8069) all 192.168.1. removed for brevity.


Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
---
Started scenario with empty id
Request text: http://192.168.1.150:8069
Request message: {"limit":5,"domain":[["is_company","=","false"],"|",["phone_sanitized","ilike","%5551234"],["phone","ilike","%5551234"]],"fields":["id","name","email","phone","phone_sanitized","is_company","commercial_company_name"]}
Response text: <!DOCTYPE html>
<html style="height: 100%;" dir="ltr">

(removed)

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value)
at Integration.Crm.Engine.JsonResponseParser.Parse(String responseText)
at Integration.Crm.Engine.ScenarioProcessorBase.ProcessScenario(ProtocolScenario scenario, IValueManager customManager, SqlQueryParameter[] sqlQueryParameter, List`1 stack, CancellationToken token)
at Integration.Crm.Engine.ScenarioProcessorBase.Execute(ProtocolScenario scenario, SqlQueryParameter[] sqlQueryParameter, CancellationToken token)
at Integration.Crm.Engine.CrmProcessor.GetContactInfoFromCrm(List`1 result, IEnumerable`1 scenariosToProcess, IValueManager customManager, SqlQueryParameter[] sqlQueryParameters, Func`2 filterResultsFunctor, Boolean exactMatch, CancellationToken token)
at Integration.Crm.Engine.CrmProcessor.GetContactInfo(String contactNumber, InteractionTypes interactionType, CancellationToken token)
 
Last edited:
Access the PBX with the FQDN and not with local ip, then make a test.
 
Access the PBX with the FQDN and not with local ip, then make a test.
I was! Thanks for verifying. :)


my 3CX is 192.168.1.17 is the FQDN
my odoo is on .150 and isn't a part of the FQDN.
which I guess you already know.
 
The CRM integration is not offered for local installations.
 
I was! Thanks for verifying. :)


my 3CX is 192.168.1.17 is the FQDN
my odoo is on .150 and isn't a part of the FQDN.
which I guess you already know.
DM me, we can probably help.
 
The CRM integration is not offered for local installations.

So if I understand correctly, you only support Odoo SaaS offer, right ?
Do you plan to support self-hosted Odoo instances in a near future (should not be much different than SaaS) ?

I'm also facing the above parsing error, despite the fact that I connect to the self-hosted Odoo instance through its FQDN.
Strangely enough the test reponse type is a <!DOCTYPE html> document, rather than I assume JSON or XML.
Hence my question.

Note that it's Odoo v18, perhaps you only support v19 and above ?

Thank you again !
 
Last edited:
So if I understand correctly, you only support Odoo SaaS offer, right ?
Do you plan to support self-hosted Odoo instances in a near future (should not be much different than SaaS) ?

I'm also facing the above parsing error, despite the fact that I connect to the self-hosted Odoo instance through its FQDN.
Strangely enough the test reponse type is a <!DOCTYPE html> document, rather than I assume JSON or XML.
Hence my question.

Note that it's Odoo v18, perhaps you only support v19 and above ?

Thank you again !
If you need a connector for self-hosted Odoo, we got you covered! We have our own connector made before this template that handles all the same things, with some bells and whistles.
 
Thank you @Evolute IT, I already have tested other connectors, but would rather prefer make the embedded one to work ;)
 
  • Like
Reactions: Evolute IT
Thank you @Evolute IT, I already have tested other connectors, but would rather prefer make the embedded one to work ;)
It [the built-in template] requires the REST API, which isn't always available. If you use an older version, some fields or some APIs aren't always there. Our connector uses the old API so it works with every editions and hostings, and can be customized to fit the fields the customer uses.
 
I'm pretty sure 3CX integration is targeting the Odoo JSON API, which is only available since Odoo v19.
Do you confirm @KyriacosS_3CX @TheodorosG_3CX ?
Which could explain issues with Odoo v18...
Thank you again !
 
Without going int detail, it is 19 and latter. At this point in time 18 is not really a valid target as it has less than a year left before it faces a forced upgrade by Odoo.
 

Forum statistics

Threads
112,624
Messages
593,666
Members
165,848
Latest member
rob.abbs