Fritz!Box TR-064 - Save the number of the last call

Sorry my question was imprecise.

The result of the rule should give me the following Info:

Der Anruf von 1234567890 (“Caller Name from fritzbox phonebook”) wurde als Letzter Anrufer gespeichert.

With the actually solution I get:

Der Anruf von 1234567890 (1234567890) wurde als Letzter Anrufer gespeichert.

logInfo("RuleLastCall", "Der Anruf von " + callerNumber + " (" + Anrufer + ")" + " wurde als Letzter Anrufer gespeichert.")

val callerNumber and var Anrufer give me the same information (the caller number)

The solution from Max and Michael should give also the Name of the caller if saved at the intern phonebook of the fritzbox. The item “{fritzboxtr064=“callmonitor_ringing:resolveName”}” will give these information with an expression where you can extract the caller name.
I hope you understand my problem now.

Greeting Johannes