- Joined
- Jun 17, 2020
- Messages
- 16
- Reaction score
- 2
Opening a new thread as requested.
We have out of the box config for Zoho integration. Pre-upgrade, we had call journaling setup and was working.
We would see this in our CRM after a call:

After the upgrade we see inconsistent behavior, some records show Call Journaling , but not Chat journaling. Other records shows chat, but not call.
As part of troubleshooting. We removed the integration and added the integration again... same behavior

but no call journaling to same person
Also chat is added as a Task and not a call, is that the expected behavior? Do I need to a custom template if I want to change this to calls or is there an easier toggle?
In the verbose system logs, I see the CRM lookup when dialing:
2021/09/10 09:18:48.420|18896|0007|Verb|Not processed. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.420|18896|0007|Verb|Add to processing. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.420|18896|0007|Info|CRM ProcessActiveConnections(). Attached entries to connection: 813
2021/09/10 09:18:48.422|18896|0007|Verb|CRM: LocalMatches=813. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.422|18896|0007|Info|CRM: Synchronize(...) called
2021/09/10 09:18:48.424|18896|0042|Info|CRM: maxConcurrency=16
2021/09/10 09:18:48.427|18896|0042|Info|CRM: making request to CRM. Number=+14243ZZZZZ
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Contacts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '2' for entity 'Contacts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Leads'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '0' for entity 'Leads'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Accounts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '1' for entity 'Accounts'
2021/09/10 09:18:48.466|18896|0042|Verb|Processing scenario 'Default'.
2021/09/10 09:18:48.466|18896|0042|Verb|Executing scenario 'Auth' for authentication.
2021/09/10 09:18:48.466|18896|0042|Verb|Processing scenario 'Auth'.
2021/09/10 09:18:48.467|18896|0042|Verb|Creating new HttpClient with no authentication
2021/09/10 09:18:48.468|18896|0042|Verb|Performing POST request to 'https://accounts.zoho.com/oauth/v2/token' with following form values:
2021/09/10 09:18:48.468|18896|0042|Verb| 'refresh_token' = '1000.ZZZZZZZZ
2021/09/10 09:18:48.468|18896|0042|Verb| 'grant_type' = 'refresh_token'
2021/09/10 09:18:48.468|18896|0042|Verb| 'client_id' = '1000.ZZZZZZ'
2021/09/10 09:18:48.468|18896|0042|Verb| 'client_secret' = 'ZZZZZZZZZ'
2021/09/10 09:18:48.772|18896|0042|Verb|The response is: '{"access_token":"TOKENREDACTED","api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600}'
2021/09/10 09:18:48.775|18896|0042|Verb|Filtered variables for matching:
2021/09/10 09:18:48.775|18896|0042|Verb| 'ApiDomain' = 'https://www.zohoapis.com'
2021/09/10 09:18:48.775|18896|0042|Verb| 'AccessToken' = 'TOKENREDACTED'
2021/09/10 09:18:48.776|18896|0042|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:48.776|18896|0042|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:48.777|18896|0042|Verb|Performing GET request 'https://www.zohoapis.com/crm/v2.1/Leads/search?criteria=((Phone:equals:ZZZZZ) or (Mobile:equals:ZZZZZ) or (Fax:equals:ZZZZZ))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company'.
2021/09/10 09:18:49.173|18896|0056|Verb|The response is: '{"data":[{"First_Name":"Leanna","Company":"Torrance, CA","Email":"[email protected]","Last_Name":"XXXXXX","Phone":"4243ZZZZZ","id":"4499757000007995ZZZ","Fax":null,"Mobile":"4243ZZZZZ"}],"info":{"per_page":200,"count":1,"page":1,"more_records":false}}'
2021/09/10 09:18:49.174|18896|0056|Verb|Filtered variables for matching:
2021/09/10 09:18:49.174|18896|0056|Verb| 'LastName' = 'XXXXXXX'
2021/09/10 09:18:49.174|18896|0056|Verb| 'FirstName' = 'Leanna'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Fax' = ''
2021/09/10 09:18:49.174|18896|0056|Verb| 'Email' = '[email protected]'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Mobile' = '4243ZZZZZ'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Id' = '44997570000079XXXXXX'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Phone' = '4243ZZZZZ'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Company' = 'Torrance, CA'
2021/09/10 09:18:49.176|18896|0056|Verb|Processing scenario 'Default'.
2021/09/10 09:18:49.176|18896|0056|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:49.176|18896|0056|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:49.176|18896|0056|Verb|Skipping request...
2021/09/10 09:18:49.176|18896|0056|Verb|No matchings found.
2021/09/10 09:18:49.176|18896|0056|Verb|Processing scenario 'Default'.
2021/09/10 09:18:49.176|18896|0056|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:49.176|18896|0056|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:49.176|18896|0056|Verb|Skipping request...
THEN I SEE THIS FOR CALL JOURNALING:
2021/09/10 09:19:52.423|18896|0023|Verb|CRM: Call Journaling event received, searching for number '+14243ZZZZZZZ' in 3CX Contacts.
2021/09/10 09:19:52.431|18896|0023|Verb|Processing scenario 'ReportCall'.
2021/09/10 09:19:52.431|18896|0023|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:19:52.431|18896|0023|Verb| Header 'Authorization' = 'Zoho-oauthtoken XXXXXXXXXXXXXXXXX'
2021/09/10 09:19:52.431|18896|0023|Verb|Skipping request...
2021/09/10 09:19:52.431|18896|0023|Verb|No matchings found.
THEN I SEE THIS FOR CHAT JOURNALING:
2021/09/10 09:23:56.453|18896|0007|Trac|CRM: Chat conversation closed, triggering processor
2021/09/10 09:23:56.472|18896|0007|Trac|Finalizing TRANSACTION.59
2021/09/10 09:23:56.472|18896|0007|Verb|Enqueue Deleted.TRANSACTION.59
2021/09/10 09:23:56.473|18896|0007|Trac|---TRANSACTION.59 finished 21.5954ms
data:2.0836ms
Events:0.275ms
externals:19.2368ms
2021/09/10 09:23:56.473|18896|0004|Verb|Dequeue Deleted.TRANSACTION.59
2021/09/10 09:23:57.147|18896|0044|Verb|CRM: Chat Conversation with ConversationID=563 has an external participant with email='[email protected]', searching it in 3CX Contacts.
2021/09/10 09:23:57.393|18896|0044|Info|CRM: Start reporting chat with ConversationID=563
2021/09/10 09:23:57.397|18896|0044|Verb|Processing scenario 'ReportChat'.
2021/09/10 09:23:57.397|18896|0044|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:57.397|18896|0044|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:57.451|18896|0044|Verb|Performing GET request 'https://www.zohoapis.com/crm/v2.1/users/search?criteria=(Extension_Number:equals:000)'.
2021/09/10 09:23:58.128|18896|0088|Verb|The response is: '{"users":[{"country":null,"role":{"name":"Manager","id":"44997570000000XXXXXXX
2021/09/10 09:23:58.129|18896|0088|Verb|Filtered variables for matching:
2021/09/10 09:23:58.129|18896|0088|Verb| 'UserId' = '4499757000005XXXXXXX'
2021/09/10 09:23:58.129|18896|0088|Verb|Processing scenario 'CreateChat'.
2021/09/10 09:23:58.129|18896|0088|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:58.129|18896|0088|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:58.143|18896|0088|Verb|Performing POST request to 'https://www.zohoapis.com/crm/v2.1/Tasks' with message '{"data":[{"Subject":"3CX PhoneSystem Chat Session","Status":"Completed", REDACTED
2021/09/10 09:23:58.355|18896|0036|Verb|The response is: '{"data":[{"code":"SUCCESS","details":{REDACTED,"message":"record added","status":"success"}]}'
2021/09/10 09:23:58.355|18896|0036|Verb|No matchings found.
2021/09/10 09:23:58.355|18896|0036|Verb|Filtered variables for matching:
2021/09/10 09:23:58.355|18896|0036|Verb| 'UserId' = '44997570000002ZZZZZ'
2021/09/10 09:23:58.355|18896|0036|Verb|Processing scenario 'CreateChat'.
2021/09/10 09:23:58.355|18896|0036|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:58.355|18896|0036|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:58.356|18896|0036|Verb|Performing POST request to 'https://www.zohoapis.com/crm/v2.1/Tasks' with message '{"data":[{"Subject":"3CX PhoneSystem Chat Session","Status":"Completed",REDACTED.
2021/09/10 09:23:58.476|18896|0036|Verb|The response is: '{"data":[{"code":"SUCCESS","details":{REDACTED,"status":"success"}]}'
2021/09/10 09:23:58.476|18896|0036|Verb|No matchings found.
2021/09/10 09:23:58.480|18896|0007|Trac|###TRANSACTION.60 started
2021/09/10 09:23:58.480|18896|0007|Verb|Enqueue Inserted.TRANSACTION.60
2021/09/10 09:23:58.480|18896|0004|Verb|Dequeue Inserted.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Trac|+++TRANSACTION.60 updated - elapsed 0.5661
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Updated.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Updated.PARAMETER.669
2021/09/10 09:23:58.481|18896|0007|Trac|Finalizing TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Deleted.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Trac|---TRANSACTION.60 finished 0.7742ms
We have out of the box config for Zoho integration. Pre-upgrade, we had call journaling setup and was working.
We would see this in our CRM after a call:

After the upgrade we see inconsistent behavior, some records show Call Journaling , but not Chat journaling. Other records shows chat, but not call.
As part of troubleshooting. We removed the integration and added the integration again... same behavior

but no call journaling to same person
Also chat is added as a Task and not a call, is that the expected behavior? Do I need to a custom template if I want to change this to calls or is there an easier toggle?
In the verbose system logs, I see the CRM lookup when dialing:
2021/09/10 09:18:48.420|18896|0007|Verb|Not processed. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.420|18896|0007|Verb|Add to processing. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.420|18896|0007|Info|CRM ProcessActiveConnections(). Attached entries to connection: 813
2021/09/10 09:18:48.422|18896|0007|Verb|CRM: LocalMatches=813. Number=+14243ZZZZZ, connection=52, state=Ringing
2021/09/10 09:18:48.422|18896|0007|Info|CRM: Synchronize(...) called
2021/09/10 09:18:48.424|18896|0042|Info|CRM: maxConcurrency=16
2021/09/10 09:18:48.427|18896|0042|Info|CRM: making request to CRM. Number=+14243ZZZZZ
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Contacts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '2' for entity 'Contacts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Leads'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '0' for entity 'Leads'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtaining scenario entity order for entity 'Accounts'
2021/09/10 09:18:48.466|18896|0042|Trac|Obtained scenario entity order '1' for entity 'Accounts'
2021/09/10 09:18:48.466|18896|0042|Verb|Processing scenario 'Default'.
2021/09/10 09:18:48.466|18896|0042|Verb|Executing scenario 'Auth' for authentication.
2021/09/10 09:18:48.466|18896|0042|Verb|Processing scenario 'Auth'.
2021/09/10 09:18:48.467|18896|0042|Verb|Creating new HttpClient with no authentication
2021/09/10 09:18:48.468|18896|0042|Verb|Performing POST request to 'https://accounts.zoho.com/oauth/v2/token' with following form values:
2021/09/10 09:18:48.468|18896|0042|Verb| 'refresh_token' = '1000.ZZZZZZZZ
2021/09/10 09:18:48.468|18896|0042|Verb| 'grant_type' = 'refresh_token'
2021/09/10 09:18:48.468|18896|0042|Verb| 'client_id' = '1000.ZZZZZZ'
2021/09/10 09:18:48.468|18896|0042|Verb| 'client_secret' = 'ZZZZZZZZZ'
2021/09/10 09:18:48.772|18896|0042|Verb|The response is: '{"access_token":"TOKENREDACTED","api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600}'
2021/09/10 09:18:48.775|18896|0042|Verb|Filtered variables for matching:
2021/09/10 09:18:48.775|18896|0042|Verb| 'ApiDomain' = 'https://www.zohoapis.com'
2021/09/10 09:18:48.775|18896|0042|Verb| 'AccessToken' = 'TOKENREDACTED'
2021/09/10 09:18:48.776|18896|0042|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:48.776|18896|0042|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:48.777|18896|0042|Verb|Performing GET request 'https://www.zohoapis.com/crm/v2.1/Leads/search?criteria=((Phone:equals:ZZZZZ) or (Mobile:equals:ZZZZZ) or (Fax:equals:ZZZZZ))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company'.
2021/09/10 09:18:49.173|18896|0056|Verb|The response is: '{"data":[{"First_Name":"Leanna","Company":"Torrance, CA","Email":"[email protected]","Last_Name":"XXXXXX","Phone":"4243ZZZZZ","id":"4499757000007995ZZZ","Fax":null,"Mobile":"4243ZZZZZ"}],"info":{"per_page":200,"count":1,"page":1,"more_records":false}}'
2021/09/10 09:18:49.174|18896|0056|Verb|Filtered variables for matching:
2021/09/10 09:18:49.174|18896|0056|Verb| 'LastName' = 'XXXXXXX'
2021/09/10 09:18:49.174|18896|0056|Verb| 'FirstName' = 'Leanna'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Fax' = ''
2021/09/10 09:18:49.174|18896|0056|Verb| 'Email' = '[email protected]'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Mobile' = '4243ZZZZZ'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Id' = '44997570000079XXXXXX'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Phone' = '4243ZZZZZ'
2021/09/10 09:18:49.174|18896|0056|Verb| 'Company' = 'Torrance, CA'
2021/09/10 09:18:49.176|18896|0056|Verb|Processing scenario 'Default'.
2021/09/10 09:18:49.176|18896|0056|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:49.176|18896|0056|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:49.176|18896|0056|Verb|Skipping request...
2021/09/10 09:18:49.176|18896|0056|Verb|No matchings found.
2021/09/10 09:18:49.176|18896|0056|Verb|Processing scenario 'Default'.
2021/09/10 09:18:49.176|18896|0056|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:18:49.176|18896|0056|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:18:49.176|18896|0056|Verb|Skipping request...
THEN I SEE THIS FOR CALL JOURNALING:
2021/09/10 09:19:52.423|18896|0023|Verb|CRM: Call Journaling event received, searching for number '+14243ZZZZZZZ' in 3CX Contacts.
2021/09/10 09:19:52.431|18896|0023|Verb|Processing scenario 'ReportCall'.
2021/09/10 09:19:52.431|18896|0023|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:19:52.431|18896|0023|Verb| Header 'Authorization' = 'Zoho-oauthtoken XXXXXXXXXXXXXXXXX'
2021/09/10 09:19:52.431|18896|0023|Verb|Skipping request...
2021/09/10 09:19:52.431|18896|0023|Verb|No matchings found.
THEN I SEE THIS FOR CHAT JOURNALING:
2021/09/10 09:23:56.453|18896|0007|Trac|CRM: Chat conversation closed, triggering processor
2021/09/10 09:23:56.472|18896|0007|Trac|Finalizing TRANSACTION.59
2021/09/10 09:23:56.472|18896|0007|Verb|Enqueue Deleted.TRANSACTION.59
2021/09/10 09:23:56.473|18896|0007|Trac|---TRANSACTION.59 finished 21.5954ms
data:2.0836ms
Events:0.275ms
externals:19.2368ms
2021/09/10 09:23:56.473|18896|0004|Verb|Dequeue Deleted.TRANSACTION.59
2021/09/10 09:23:57.147|18896|0044|Verb|CRM: Chat Conversation with ConversationID=563 has an external participant with email='[email protected]', searching it in 3CX Contacts.
2021/09/10 09:23:57.393|18896|0044|Info|CRM: Start reporting chat with ConversationID=563
2021/09/10 09:23:57.397|18896|0044|Verb|Processing scenario 'ReportChat'.
2021/09/10 09:23:57.397|18896|0044|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:57.397|18896|0044|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:57.451|18896|0044|Verb|Performing GET request 'https://www.zohoapis.com/crm/v2.1/users/search?criteria=(Extension_Number:equals:000)'.
2021/09/10 09:23:58.128|18896|0088|Verb|The response is: '{"users":[{"country":null,"role":{"name":"Manager","id":"44997570000000XXXXXXX
2021/09/10 09:23:58.129|18896|0088|Verb|Filtered variables for matching:
2021/09/10 09:23:58.129|18896|0088|Verb| 'UserId' = '4499757000005XXXXXXX'
2021/09/10 09:23:58.129|18896|0088|Verb|Processing scenario 'CreateChat'.
2021/09/10 09:23:58.129|18896|0088|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:58.129|18896|0088|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:58.143|18896|0088|Verb|Performing POST request to 'https://www.zohoapis.com/crm/v2.1/Tasks' with message '{"data":[{"Subject":"3CX PhoneSystem Chat Session","Status":"Completed", REDACTED
2021/09/10 09:23:58.355|18896|0036|Verb|The response is: '{"data":[{"code":"SUCCESS","details":{REDACTED,"message":"record added","status":"success"}]}'
2021/09/10 09:23:58.355|18896|0036|Verb|No matchings found.
2021/09/10 09:23:58.355|18896|0036|Verb|Filtered variables for matching:
2021/09/10 09:23:58.355|18896|0036|Verb| 'UserId' = '44997570000002ZZZZZ'
2021/09/10 09:23:58.355|18896|0036|Verb|Processing scenario 'CreateChat'.
2021/09/10 09:23:58.355|18896|0036|Verb|Creating new HttpClient for Scenario authentication.
2021/09/10 09:23:58.355|18896|0036|Verb| Header 'Authorization' = 'Zoho-oauthtoken TOKENREDACTED'
2021/09/10 09:23:58.356|18896|0036|Verb|Performing POST request to 'https://www.zohoapis.com/crm/v2.1/Tasks' with message '{"data":[{"Subject":"3CX PhoneSystem Chat Session","Status":"Completed",REDACTED.
2021/09/10 09:23:58.476|18896|0036|Verb|The response is: '{"data":[{"code":"SUCCESS","details":{REDACTED,"status":"success"}]}'
2021/09/10 09:23:58.476|18896|0036|Verb|No matchings found.
2021/09/10 09:23:58.480|18896|0007|Trac|###TRANSACTION.60 started
2021/09/10 09:23:58.480|18896|0007|Verb|Enqueue Inserted.TRANSACTION.60
2021/09/10 09:23:58.480|18896|0004|Verb|Dequeue Inserted.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Trac|+++TRANSACTION.60 updated - elapsed 0.5661
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Updated.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Updated.PARAMETER.669
2021/09/10 09:23:58.481|18896|0007|Trac|Finalizing TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Verb|Enqueue Deleted.TRANSACTION.60
2021/09/10 09:23:58.481|18896|0007|Trac|---TRANSACTION.60 finished 0.7742ms

