From ab9fedc6ef3bde5855b2776acfae59aaae3e787a Mon Sep 17 00:00:00 2001 From: Alfonso Sanchez-Beato Date: Tue, 13 Oct 2015 18:07:51 +0200 Subject: include: Add definitions for phone number types --- include/types.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/types.h b/include/types.h index 9a7dfd95..2c64b200 100644 --- a/include/types.h +++ b/include/types.h @@ -73,6 +73,12 @@ struct ofono_error { #define OFONO_MAX_PHONE_NUMBER_LENGTH 80 #define OFONO_MAX_CALLER_NAME_LENGTH 80 +/* Number types, 3GPP TS 24.008 subclause 10.5.4.7, octect 3 */ +/* Unknown, ISDN numbering plan */ +#define OFONO_NUMBER_TYPE_UNKNOWN 129 +/* International, ISDN numbering plan */ +#define OFONO_NUMBER_TYPE_INTERNATIONAL 145 + struct ofono_phone_number { char number[OFONO_MAX_PHONE_NUMBER_LENGTH + 1]; int type; -- cgit v1.2.3