ktmagv
(Bruce Zhou)
May 14, 2019, 8:00am
1
Hello:
I configure CRM API settings and CRM API environment in FreePBXact. I try to record calls in CRM API endpoints, but my application shows no data.
[root@freepbx /]# curl -X GET -s -H "Token: e6fa6b1e1e8502bb3d42892f2b13835f4398d2a3cb8378a5dbad5c80f8e20d0l" -H "Content-Type: application/json" http://localhost//admin/api/sangomacrm/rest/calls/list/both | python -m json.tool
{
"data": [],
"status": true
}
`
Have you licensed the CRM add-on?
jfinstrom
(James Finstrom)
May 14, 2019, 5:28pm
3
Assuming yes, and assuming you have the API stuff enabled to log calls.
you may wish to open a ticket at https://support.sangoma.com
ktmagv
(Bruce Zhou)
May 15, 2019, 7:56am
4
Hello:
It’s okay for me to get user information through username id,as follows:`
[root@freepbx ~]# curl -X GET \
-s
-H “Token: 9b5e5fd577e8ca124e6dee7f4957b986dc6fd7986c6ce05ced98839d7db5767b”
-H “Content-Type: application/json”
http://localhost//admin/api/sangomacrm/rest/users/extension/100 | python -m json.tool
{
“data”: {
“auth”: “1”,
“authid”: null,
“cell”: null,
“company”: null,
“dateformat”: null,
“datetimeformat”: null,
“default_extension”: “100”,
“department”: null,
“description”: “Autogenerated user on new device creation”,
“displayname”: “Bruce.Zhou”,
“email”: “”,
“fax”: null,
“fname”: null,
“home”: null,
“id”: “1”,
“language”: null,
“lname”: null,
“password”: “Hidden”,
“permissions”: null,
“primary_group”: null,
“timeformat”: null,
“timezone”: null,
“title”: null,
“username”: “100”,
“work”: null
},
“status”: true
}
but I have a problem that there’s no record of finding call records. Why is it empty inside data?
[root@freepbx /]# curl -X GET -s -H "Token: e6fa6b1e1e8502bb3d42892f2b13835f4398d2a3cb8378a5dbad5c80f8e20d0l" -H "Content-Type: application/json" http://localhost//admin/api/sangomacrm/rest/calls/list/both | python -m json.tool { "data": [], "status": true }
Can you help me out? Thank you.
james
(James Zhu)
May 15, 2019, 7:59am
5
hi:
yes, he is my customer and buy CRM module from my side.
ethannz
(Ethannz)
November 10, 2019, 12:50am
6
WhAt CRM are using by the way? We are using Zoho but we are finding the Call attachments do not go under call activities but they go under call attachments of the contact.
system
(system)
Closed
November 9, 2020, 12:50am
7
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.