EveryoneAPI integration not processing fully

Status
Not open for further replies.

SethTalley

Customer
Basic Certified
Joined
Oct 5, 2019
Messages
83
Reaction score
12
Hey Ed - So my employees have been complaining lately that the phone number lookup isn't working quite as well. With some numbers it's fine, with others it's not.

EveryoneAPI just updated to V1.5; I hadn't yet. Just did that, though. Ran a test. Here's what I get out of the 3CX search test result:

[ { "UnparsedOutputs": { "PhoneBusiness": "+1XXXXXXXXXX, "FirstName": " ", "LastName": "", "ContactUrl": "https://api.everyoneapi.com/v1/phone/XXXXXXXXXX?data=name" }, "FirstName": " ", "LastName": "", "Email": null, "ContactUrl": "https://api.everyoneapi.com/v1/phone/XXXXXXXXXX?data=name", "CompanyName": null, "PhotoUrl": null, "ContactType": 0, "PhoneBusiness": "+XXXXXXXXXX, "PhoneBusiness2": null, "PhoneHome": null, "PhoneHome2": null, "PhoneMobile": null, "PhoneMobile2": null, "PhoneOther": null, "FaxBusiness": null, "FaxHome": null, "Pager": null } ]


And here's the result:


Started scenario with empty id Request text: https://api.everyoneapi.com/v1/phone/XXXXXXXXXX?data=name&format=json Response text: {"data":{},"invalid":[],"missed":["name"],"number":"+1XXXXXXXXXX”,”pricing":{"breakdown":{},"total":0},"status":true,"type":"unknown"} Response finished Variable PhoneBusiness set to +XXXXXXXXXX Variable FirstName set to Variable MiddleName set to Variable LastName set to Finished scenario with empty id Result obtained

Yet when I try it on EveryoneAPI's page, here's what they give back:

{ "data": { "activity_status": { "confidence": "high", "status": "active" }, "address": “ADDRESS”, "carrier": { "alt-spid": "", "id": "5812", "lrn": "", "name": “Verizon Wireless”, "ported": false, "spid": "" }, "carrier_o": { "id": "5812", "name": "Verizon Wireless" }, "expanded_name": { "first": “FIRSTNAME”, "last": “LASTNAME”, "middle": “M” }, "gender": "M", "line_provider": { "id": "5812", "mms_email": “[email protected]", "name": "Cellco Partnership dba Verizon Wireless - WA", "sms_email": “[email protected]" }, "linetype": "mobile", "linetype_enhanced": "mobile", "location": { "city": "Seattle", "country": "US", "geo": { "cost": 0.0005, "latitude": "47.54233000000000", "longitude": "-122.28466000000000", "timezone": { "currentDaylightTime": true, "currentName": "Pacific Daylight Time", "currentOffset": -25200, "currentShortName": "PDT", "currentTime": "2020-07-25T08:09:03-0700", "id": "America/Los_Angeles" } }, "state": "WA", "zip": "98118" }, "name": “FIRSTNAME M LASTNAME”, "nuisance_score": 1 }, "invalid": [], "missed": [ "profile", "image", "demographics" ], "number": "+1XXXXXXXXXX”, "pricing": { "breakdown": { "activity_status": -0.012, "address": -0.08, "carrier": -0.004, "carrier_o": 0, "expanded_name": 0, "gender": -0.001, "line_provider": -0.005, "linetype": -0.001, "linetype_enhanced": 0, "location": 0, "name": -0.01, "nuisance_score": -0.008 }, "total": -0.121 }, "status": true, "type": "person" }

Is there anything I can do to fix this on my end?
 
Hi @SethTalley,

I'd be happy to look into this on our side. Are you able to send us the phone number used in the example via [email protected] or through the support page on your EveryoneAPI control panel?

Thanks!
 
Appreciate it. Sent eleven numbers just now.
 
Hi @SethTalley,

Can you please send me in a private message the entire log, without changing the number with X?

I need to see if the PBX is receiving the full number, including country code, and how this is being sent to EveryoneAPI. Please note that EveryoneAPI needs the full number, including the plus prefix and the country code, so if your SIP Trunk is delivering the local number only, then you will need to use Caller ID reformatting to adjust this:
https://www.3cx.com/docs/cid-reformatting/
 
Hello Seth,

We will be releasing a fix for this issue with 3CX v16 Update 6 beta, which should be available in a few days. Stay tuned to the 3CX blog.

Kind regards.
 
That's great news, Ernesto. I appreciate it.
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,325
Messages
591,898
Members
165,477
Latest member
Mueller