This is a proposal for the "long phone number" task (80 digits max length). It changes OFONO_MAX_PHONE_NUMBER_LENGTH and splits common:valid_phone_number_format(), to make sure long numbers are handled appropriately for functions that need manage shorter numbers, like numbers written to the SIM, or sms SCA.
Rafael Ignacio Zurita (3): types: change OFONO_MAX_PHONE_NUMBER_LENGTH value to 80 common: split valid_phone_number_format and adapt atoms smart-messaging: Adapt to use new number format validation function include/types.h | 2 +- plugins/smart-messaging.c | 4 ++-- src/call-forwarding.c | 4 ++++ src/common.c | 20 ++++++++++++++++++-- src/common.h | 2 ++ src/message-waiting.c | 14 ++++++++++++++ src/sim.c | 2 +- src/sms.c | 5 +++-- 8 files changed, 45 insertions(+), 8 deletions(-) -- 1.7.2.3 _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
