Problem with name resolving (Fritzbox Binding TR064)

i configured the binding with OH2 on a Raspi 3B with Fritzbox 7390. The resolved is shown somewhere in the LOG, but at the end the Item does not contain it. Any idea?


Call fboxIncomingCall "Incoming call: [%1$s to %2$s]" {fritzboxtr064="callmonitor_ringing" }
Call fboxIncomingCallResolved "Incoming call: [%1$s to %2$s]" {fritzboxtr064="callmonitor_ringing:resolveName" }
Switch fboxRinging "Phone ringing [%s]" {fritzboxtr064="callmonitor_ringing" }


rule "Telefonanruf eingehend"
  Item fboxRinging changed to ON
  logInfo("rules", "Telefonanruf eingehend")
  val incCall = fboxIncomingCall.state as StringListType
  val callerNumber = incCall.getValue(1)
  val incCallResolved = fboxIncomingCallResolved.state as StringListType
  val callerName = incCallResolved.getValue(1)
  logInfo("rules", "Nummer: {}", callerNumber)
  logInfo("rules", "Name: {}", callerName)
  logInfo("rules", "Resolved: {}", incCallResolved)


2018-08-13 11:55:08.878 [INFO ] [tzboxtr064.internal.PhonebookManager] - Trying to resolve number 0175xxxx170 to name comparing 7 characters
2018-08-13 11:55:08.887 [INFO ] [tzboxtr064.internal.PhonebookManager] - found name match Christian yyyyyyyy in phonebook by comparing 071xxxx 571 94+ with 071xxxx
2018-08-13 11:55:08.913 [vent.ItemStateChangedEvent] - fboxIncomingCall changed from to 55xxxx,0175xxxx170
2018-08-13 11:55:08.921 [vent.ItemStateChangedEvent] - fboxIncomingCallResolved changed from to 55xxxx,Name not found for 0175xxxx170
2018-08-13 11:55:08.932 [vent.ItemStateChangedEvent] - fboxRinging changed from OFF to ON

2018-08-13 11:55:09.163 [INFO ] [eclipse.smarthome.model.script.rules] - Telefonanruf eingehend
2018-08-13 11:55:09.173 [INFO ] [eclipse.smarthome.model.script.rules] - Nummer: 0175xxxx170
2018-08-13 11:55:09.176 [INFO ] [eclipse.smarthome.model.script.rules] - Name: Name not found for 0175xxxx170
2018-08-13 11:55:09.180 [INFO ] [eclipse.smarthome.model.script.rules] - Resolved: 55xxxx,Name not found for 0175xxxx170

Idk, this is how i did it

Ok, what i understand is: you use the binding to detect the call itself. For resolving the name you call google address book directly?
what pre requisites do i have to ensure? Items? where to put your .JS file? and what about the file

Thanks a lot

ok, after reading your file in more detail, it is clear that i mixed up the different things…

this might be of more use to you: