Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match caller ID with contact #19

Open
lmercor opened this issue Apr 17, 2024 · 6 comments
Open

Match caller ID with contact #19

lmercor opened this issue Apr 17, 2024 · 6 comments

Comments

@lmercor
Copy link

lmercor commented Apr 17, 2024

Hello.
I have installed the module and all works as intended. Calls are being logged on suitecrm and pop up window is popping with caller id information but I cannot match caller id phone number with contact, the phone number is being showed correctly on the logs and on the little window but nor the logs or the pop up window show contact information. I have tried different relationships with the modules and still no luck.

Any advise to make this work?

Thanks In advance
Luis

@serfreeman1337
Copy link
Owner

Hello.

Relationship settings example

Screenshot 2024-04-17 at 09-03-02 SuiteCRM

(hold CTRL to select multiple phone fields)

Pop up card on suitecrm 8.6.0

Screenshot 2024-04-17 at 09-02-08 SuiteCRM

Make sure you don't have any trail spaces in the contact phone number.

@lmercor
Copy link
Author

lmercor commented Apr 18, 2024

Those are the settings I have. I am using version 8.4.0 would that be the issue?

Relationship

image

Details

image

@serfreeman1337
Copy link
Owner

SuiteCRM 8.4.0

Your asterlink version is also v0.5.0 ?
If so, try to update public/legacy/modules/AsterLink/AsterLinkEntryPoint.php file to the recent one.

There was a bug with relationships that was fixed in v0.5.1.

@lmercor
Copy link
Author

lmercor commented Apr 18, 2024

Your asterlink version is also v0.5.0 ?

Yes sir..

I have replaced the file and now the pop up does not pop

also got an error on the service

image

@serfreeman1337
Copy link
Owner

serfreeman1337 commented Apr 18, 2024

Something wrong with the file.

Try to:

  1. Open AsterLinkEntryPoint.php.
  2. Press ctrl+s to download it.
  3. Replace public/legacy/modules/AsterLink/AsterLinkEntryPoint.php with it.

Line 67 should be changed from:
if (!$rel['row_count']) {
to:
if (!count($rel['list'])) {

@lmercor
Copy link
Author

lmercor commented Apr 18, 2024

My bad.... did "save as" on the previous link 😓

That did the trick.
is working fine now.
Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants