@buehmann:
It's a pleasure for me to talk to you!
About the sed: I'm able to get the name using this command
Code:
wget -q -O - http://www.pronto.it/?q=0123456789 | sed -n '/class="cognome/{s/<[^>]*>//g;s/^[ \t\r\n\f\0\v\b$/]*//p }'
If you want to try yourself, you can search for Mario Rossi (typical italian name) and use one of those numbers.
So I build this config file:
Code:
_reverse_pronto_url() {
local number="0${1#${LKZ_PREFIX}39}"
URL="http://www.pronto.it/?q=$(urlencode "$number")"
}
_reverse_pronto_request() {
local URL=
_reverse_pronto_url "$@"
wget_callmonitor "$URL" -q -O -
}
_reverse_pronto_extract() {
sed -n -e '
/class="cognome/{
s/<[^>]*>//g;s/^[ \t\r\n\f\0\v\b$/]*//
'"$REVERSE_SANITIZE"'
'"$REVERSE_OK"'
}
/Non ho trovato/{
'"$REVERSE_NA"'
}
'
}
You can also use this command
Code:
wget -q -O - http://www.pronto.it/?q=0123456789 | sed -n '/class="via/{s/<[^>]*>//g;s/^[ \t\r\n\f\0\v\b$/]*//p }'
for fetching the address of the caller, but I haven't added yet to the config file.
Some time ago I tried to do exactly this (not in the Listeners; but programmatically adding entries to AVM's phonebook was my goal). The public interfaces to the phonebook are very poor; that is why I tried to use the web interface. It worked in test cases, but was very slow and not robust enough to consider inclusion into Callmonitor.
Even if it's an unstable method, can you tell me how to do it? 
Last question: do you think it would be possible to understand how the name is sent by the fritzbox to the telephone and emulate it? I know, maybe it's just fantasy...
Thanks for the help!