Hi Paavo, On 03/09/2011 01:27 AM, Paavo Leinonen wrote: > Line position index must be updated the number field is empty. Otherwise > we will read same field again in subsequent calls. > --- > > Hi, > > While testing SIM Phonebook we noticed that Email addresses stored to SIM PB > were not properly parsed by oFono. Root cause for this was > g_at_result_iter_next_number which did not update iterator's line_pos > attribute when number was missing. As a result, wrong fields were > read when parsing email field (among others). This is actually on purpose, we do not want to consume the field if the parsing failed. For fields that might have omitted entries I suggest you use g_at_result_iter_next_number_default. Regards, -Denis