Attribute operator

gabriele6 years ago

Good afternoon.
I am trying to insert an attribute for the verification of the telephone operator. The code I insert is the following one:

Attribute:

operator
"22201?" Tim ":
"22210?" Vodafone ":
"22206?" Vodafone ":
"22288?" Wind ":
"22244?" Wind ":
"22299?" H3G ":
"22250?" Iliad ":
fasle

The code does not work it always returns the first data (Tim) even if the code that is read by traccar is that of Vodafone.
I ask you politely if you can tell me how to solve the problem.
Thanks
Gabriele

Ernesto Vallejo6 years ago

Have you added driver record in Drivers ?

Anton Tananaev6 years ago

You need to study JEXL documentation:

https://commons.apache.org/proper/commons-jexl/