Some information was lost while the configuration was moved between the servers using the standard backup/restore process. I was able to manually restore some missing data by exporting/importing the corresponding tables from/to the database.
However I’m stuck with a part of Follow Me configuration - the Fixed CID Value is lost for all the extensions and I cannot even find the known values in the database. I thought that the data I need are stored in findmefollow table, but I was not able to see the known numbers in the dump I made with
OK, managed to extract the numbers from the old database with sqlite3 astdb.sqlite3 .dump | grep AMPUSER.*fixedcid
then restored numbers using asterisk -rx "database put AMPUSER XXX/followme/fixedcid yyyyyy"