--- drivers/huaweimodem/voicecall.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/huaweimodem/voicecall.c b/drivers/huaweimodem/voicecall.c index 0c0aaa1..598a26e 100644 --- a/drivers/huaweimodem/voicecall.c +++ b/drivers/huaweimodem/voicecall.c @@ -37,6 +37,7 @@ #include "gatchat.h" #include "gatresult.h" +#include "common.h" #include "huaweimodem.h" @@ -120,7 +121,7 @@ static void huawei_dial(struct ofono_voicecall *vc, { char buf[256]; - if (ph->type == 145) + if (ph->type == CALLED_NUMBER_TYPE_INTERNATIONAL) snprintf(buf, sizeof(buf), "ATD+%s", ph->number); else snprintf(buf, sizeof(buf), "ATD%s", ph->number); -- 1.5.6.5 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono