For some reason, values 129 and 145 for phone type are scattered all around in oFono and not defined but for 145 in src/phonebook.c. I have added #defines in include/types.h