Probably isn't, but it's a fix for the "eSpeakCaller says the number even if the name is defined" - bug. btw, I already tried to replace the lines: if line.startswith("TEL"): nr = line.split(":")[1] if nr != None: if nr == number: return fname with: if line.startswith("TEL"): nr = line.split(":")[1] my_num = number.lstrip('0') if nr != None: if nr.endswith(my_num) return fname that seems to correct the "040" vs +35840 problem for me at least.