API: Query CRM set to Always but this is not the case

Status
Not open for further replies.

Scottnl

Forum User
Joined
Jan 27, 2020
Messages
2
Reaction score
0
Hallo fellow form members,

I have finished building the API with call journey and every thing works as expected according to the V16 documentation. However the "Query CRM" i have set to "Always" but this is only the case if the caller does not phone back in 5 minutes.
Example:
Customer phones. Contact lookup is done. They hangup.
If they phone back within 5 minutes the lookup is not being done.

How do we turn off the timer or is there a param that trully is "Always".

We use the lookup contact api call to initiate our crm that a call is comming in.

Thank you in advance
 
Hello @Scottnl,

Unfortunately that's not possible. There is a hardcoded 10 minutes cache, so if you call in that time frame, the result is retrieved from cache instead of doing a real lookup against the CRM. There is no way to disable this cache.

The query "Always" means that, even if there is an existing contact in 3CX, the CRM engine will do the lookup. However, this is short circuited in case the contact is found in cache.

Kind regards.
 
He Ernesto,

Thanks for your reply. Is there a method within the template to invalidite the cache by adding a uniek string to the call, something a timestamp?

If not, can i place a request to the development? If so, where do you do this?

Thank you again in advance.

Scott
 
Thanks for your reply. Is there a method within the template to invalidite the cache by adding a uniek string to the call, something a timestamp?
Unfortunately this is not possible, only a different number would trigger a lookup.

If not, can i place a request to the development? If so, where do you do this?
You can post this in 3CX Ideas, however only Gold, Platinum, Titanium Partners and Premier Customers can contribute ideas. If you're not in this group, you can only upvote existing ideas.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,476
Latest member
awan05