---
drivers/hfpmodem/voicecall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index d4d370e..9481545 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -366,7 +366,7 @@ static void hfp_dial(struct ofono_voicecall *vc,
goto error;
cbd->user = vc;
- 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
[email protected]
http://lists.ofono.org/listinfo/ofono