Solved CRM call journal not working

Status
Not open for further replies.

developerzeeshan

Free User
Joined
Aug 9, 2021
Messages
84
Reaction score
1
please check the file and resolve the issue i will be thankful to you i need urgent implementation with vtiger
 
I will repeat an important question that you didn't answer:
What version of 3CX are you using? If you're running v18, you will need to provide the EntityId and EntityType outputs in the contact lookup scenarios. These are automatically added by the CRM Template Generator wizard if you're running the latest version of the tool (2.1.20), but I don't see them in the template, so that's probably causing problems.
 
sir version is 18.0.1880
 
What i add in entityid and entitytype while generating template please see the screenshot in attachement you will find the fields to enter data guide me what i have to enter here
 

Attachments

  • image (6).png
    image (6).png
    115.9 KB · Views: 10
Last edited:
You need to use the CRM Tool version 2.1.20, ensure that you have it installed. You can also check the Vtiger template included in v18, so you can see how we set the EntityId and EntityType fields. If you don't provide these values, call journaling will be skipped.
 
how can i fetch these paramters

<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="datetime" Passes="1" Type="String">[DateTime]</Value>
<Value Key="subject" Passes="2" Type="String">[Subject]</Value>
in this page https://crm.callcenterempire.com/restapi/v1/vtiger/default/createCall
as 3 cx hitting on this page
 
how can i fetch these paramters

<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="datetime" Passes="1" Type="String">[DateTime]</Value>
<Value Key="subject" Passes="2" Type="String">[Subject]</Value>
in this page https://crm.callcenterempire.com/restapi/v1/vtiger/default/createCall
as 3 cx hitting on this page
That would be on the VTiger side, and not 3CX related.
 
Hello @developerzeeshan,

Sorry, but I don't completely understand what you're trying to do. Please explain this in more detail.
 
yes on vtiger side how i get the parameters
i create the file but not understanding how i find these parameters there
 
This is how a Call activity looks like in Vtiger:
1628787528505.png

If you click on the activity "3CX PhoneSystem Call" you can see the details.
 
  • Like
Reactions: Evolute IT
Hi still finding these parameters

<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="datetime" Passes="1" Type="String">[DateTime]</Value>
<Value Key="subject" Passes="2" Type="String">[Subject]</Value>
</PostValues>

on this url https://crm.callcenterempire.com/restapi/v1/vtiger/default/createCall
if you please solve my issue i will be thankful to you
 
Hi still finding these parameters

<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="datetime" Passes="1" Type="String">[DateTime]</Value>
<Value Key="subject" Passes="2" Type="String">[Subject]</Value>
</PostValues>

on this url https://crm.callcenterempire.com/restapi/v1/vtiger/default/createCall
if you please solve my issue i will be thankful to you
As said above, this is not a 3CX issue. It seems you are not even using VTiger as it would do it itself. Are you trying to use a custom code inside VTiger or a complete custom CRM?

Normally, for example, in PHP, you would get them like this:

PHP:
<?php

$phone = $_POST['phone'];    
$agent = $_POST['agent'];

Obviously, you would want to use some kind of filtering and security measures to prevent bad attackers from pushing SQL Injection through there. For this, learn some PHP : www.php.net
 
ok thanks let me check
 
As said above, this is not a 3CX issue. It seems you are not even using VTiger as it would do it itself. Are you trying to use a custom code inside VTiger or a complete custom CRM?

Normally, for example, in PHP, you would get them like this:

PHP:
<?php

$phone = $_POST['phone'];   
$agent = $_POST['agent'];

Obviously, you would want to use some kind of filtering and security measures to prevent bad attackers from pushing SQL Injection through there. For this, learn some PHP : www.php.net
Sir this is the code where i receiving request from this url https://crm.callcenterempire.com/restapi/v1/vtiger/default/createCall but you in the attachment of log file url is there but no post parameter is write in the log fine. Dont know how i find these parameters in this page you said post method but still not receive please help me to solve issue

<?php

$calltype = $_POST['agent'].$_POST['phone'].$_POST['calltype'].$_POST['datetime'].$_POST['subject'].$_POST['duration'];

$fp = fopen("/var/www/html/vtiger/CallsInbounds.log", "a+"); //para hacer log
//la ip propia del servidor tiene problemas para reconocerla,

fputs($fp,"\n". $calltype);

$calltype = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";;

$fp = fopen("/var/www/html/vtiger/CallsInbounds.log", "a+"); //para hacer log
//la ip propia del servidor tiene problemas para reconocerla,

fputs($fp,"\n". $calltype);



echo "done";
exit;

?>
 

Attachments

  • WhatsApp Image 2021-08-18 at 9.19.54 PM.jpeg
    WhatsApp Image 2021-08-18 at 9.19.54 PM.jpeg
    221.8 KB · Views: 7
please help me so that i can finish the project its already so late
 
please help me so that i can finish the project its already so late
Look, you need a programmer who knows what he's doing, and this place is not a PHP forum.

I strongly suggest you post your PHP stuff on StackOverflow.
 
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
 
Status
Not open for further replies.

Forum statistics

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