Matti_Forstadius | 2021-08-13 08:05:05 UTC | #1
Hi,
I have Data Action that searches customers previous contacts using the callers Ani. It works as it should, but now we have noticed that if we do search only using +358 or +358xxxx it also returns contacts. As far as I understand the matches operator should match the number and not just partially match it, meaning that +358 should not return anything.
This is issue at the moment since we have phone numbers that have different length. The numbers might have one digit difference and because of this partially matching thing I can't trust the contacts that are returned to me.
Is this normal that when using matches operator the search string needs only match partially, or em I missing something here?
Jerome.Saint-Marc | 2021-08-17 14:36:46 UTC | #2
Hello,
Sorry for the delay, I was also testing this (analytics query for conversation details) and checking with engineering.
So the ani dimension, used in a segment filter, with the "matches" operator, works as a partial match (i.e. contains)
After checking with Engineering, the current behaviour is intentional. It is done that way so that search, on phone/address type dimensions, will still work if there is an extension or a SIP parameter or anything else added in the phone Uri.
For my knowledge, where are you calling this Data Action from? From an Architect flow or frm a Script?
And what type of information are you trying to extract from this? Just to know that there was at least one call (or more) with this customer in the interval, or none (i.e. output: previousCalls = 0/1, true/false)? Or something specific in the conversation context?
Regards,
Matti_Forstadius | 2021-08-18 06:28:04 UTC | #3
Thank you for the answer this clears things up for me. We are using this to get notes of the previous conversations when the call goes through the flow. If the current behaviour is intentional then all is good. I just wanted to be sure that behaviour is intentional.
system | 2021-09-18 06:28:52 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11735