3CX Custom Template Integration Response Call

Alle CTEC

Silver Partner
Joined
Sep 11, 2023
Messages
360
Reaction score
45
Hi everyone, it is possible to change the behavior in response to a call, currently in response to a call the contact page opens, I would instead like the contact to be created with the contact URL but in response to a call the ticket creation page opens with the customer name etc. etc.
 
This can be done by modifying the template. Also, the CRM must support opening the ticket page with prefilled form fields from the URL.
 
Thanks, but where do I have to make the change?
 
Thanks, but where do I have to make the change?
You need to copy the current template you are using (if a built-in integration) or modify your custom one to adapt the ContactUrl from the lookup scenario (the one without an ID/empty ID). That URL is what is sent to the 3CX clients. Instead of "crmUrl/contact/[ContactID]", you can use "crmUrl/ticket/new?contact_id=[ContactID]" (as an example.)
 
Ok thank you I ask you one thing I noticed that when I perform searches from 3cx in the CRM if the contact has multiple numbers it only shows me one phone number it does not allow me to see the others, if I edit a contact created from the CRM the numbers are present
 
Ok thank you I ask you one thing I noticed that when I perform searches from 3cx in the CRM if the contact has multiple numbers it only shows me one phone number it does not allow me to see the others, if I edit a contact created from the CRM the numbers are present
Multiple numbers will show as independent tiles when you search contacts. They'll have the same name and contact ID/URL but will dial different numbers.
 
If I search for a number containing 2 different numbers, I get a single contact, I checked that the API responds correctly in the number lookup, the contact is created correctly and contains 2 telephone numbers
 
Multiple numbers will show as independent tiles when you search contacts. They'll have the same name and contact ID/URL but will dial different numbers.
Sorry, I checked the API in search contact, it gives me 2 correct numbers but I only see 1

I also noticed another thing: if I run a test with the test button, the CustomValue and HomeFax fields are correctly filled in from the registry but they are not shown in the search results section. Furthermore, the search results show two fields, Title and Department, which are not shown in the 3CX CRM Template documentation.
 
Last edited: