Solved CRM call journal not working

Status
Not open for further replies.

developerzeeshan

Free User
Joined
Aug 9, 2021
Messages
84
Reaction score
1
I am asking about 3cx parameters and you are talking about php nobody is there in your team how 3cx parameters receive on crm server side strange what is the purpose of this forum you even dont know about your own parameters no one in your team to know about these 3cx parameters
I know exactly how 3CX sends parameters in a POST request and how to read them in many languages.

Without knowing more about the scenario other than the post values, and the expected outcome in your script, I can't help further.
 
  • Like
Reactions: edossantos
Sir can you check system log as i integrate vtiger templete now but it still not sending duration calltype agent please check once also i attached the configuration image only sending with these parameters but not with upper mentioned parameters

SELECT id, phone, otherphone, fax, accountname, email1, email2, fax FROM Accounts WHERE phone like '%692886' OR otherphone like '%692886' OR fax like '%692886';
http://crm.callcenterempire.com/restapi/v1/vtiger/default/query/?query=SELECT id, phone, otherphone, fax, accountname, email1, email2, fax FROM Accounts WHERE phone like '%692886' OR otherphone like '%692886' OR fax like '%692886';

Also check request page in attachment showing this message (
CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number.
)
 

Attachments

  • screenshot (1).png
    screenshot (1).png
    263.1 KB · Views: 4
  • 3cxSystemService (6).log
    3cxSystemService (6).log
    64.4 KB · Views: 4
  • screenshot (2).png
    screenshot (2).png
    640.2 KB · Views: 4
Last edited:
Sir can you check system log as i integrate vtiger templete now but it still not sending duration calltype agent please check once also i attached the configuration image only sending with these parameters but not with upper mentioned parameters

SELECT id, phone, otherphone, fax, accountname, email1, email2, fax FROM Accounts WHERE phone like '%692886' OR otherphone like '%692886' OR fax like '%692886';
http://crm.callcenterempire.com/restapi/v1/vtiger/default/query/?query=SELECT id, phone, otherphone, fax, accountname, email1, email2, fax FROM Accounts WHERE phone like '%692886' OR otherphone like '%692886' OR fax like '%692886';

Also check request page in attachment showing this message (
CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number.
)
Are you using the standard Vtiger template? You should configure the 3CX Console > Advanced > Contacts > Options > Match exactly, as explained here:
https://www.3cx.com/docs/vtiger-crm-pbx-integration-server-side/#h.sh2udbgzpt45
 
  • Like
Reactions: Evolute IT
Now i checked the exact match showing in the attachment but still not find parameters of call journaling which are showing in the attachment i create a file on this location C:\Users\Zeeshan Ahmad\AppData\Local\Temp\scp41955\var\www\html\vtiger\restapi\v1\vtiger\default\query\index.php and creating log $fp = fopen("/var/www/html/vtiger/CallsInbounds.log", "a+"); and returning this json
$array['contact'] = array("id"=>$contactid,"firstname"=>$firstname,"lastname"=>$lastname,"company"=>$firstname,"email"=>$email,"businessphone"=>$phone);
echo json_encode($array);
but still not returning these parameters i want in crm why is this message (Started scenario with empty idscreenshot (4).pngscreenshot (3).pngscreenshot (5).png)
 
I am returning the json with data but it says
CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number.
why contact number does not exists as i return the json with data
screenshot (6).png
 
Your JSON returns all null values. 3CX will only consider your response valid when:
1) The Contact URL can be built from the response (you need to provide a contact ID).
2) The first name, last name or company name is set to a value.
3) One phone field is set to the phone number being searched.

You will need to return a valid JSON for this to succeed. Just a JSON with null values will not be enough.
 
  • Like
Reactions: Evolute IT
Now this request response have all values how can i find the other parameters

screenshot (7).png screenshot (3).png
 
  • Like
Reactions: Evolute IT
sir my issue is resolved thanks one thing i want to ask one thing please i am calling from crm and i want to mask a number to see by my client how can i do i mask number instead of my extension he see my number in outgoing call
 
sir my issue is resolved thanks one thing i want to ask one thing please i am calling from crm and i want to mask a number to see by my client how can i do i mask number instead of my extension he see my number in outgoing call
Please open a separate thread in the General forum, as you will need to adjust the SIP Trunk settings for this (it's not a CRM integration issue).
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Forum statistics

Threads
112,323
Messages
591,891
Members
165,470
Latest member
Robert Lee