---
 drivers/ifxmodem/voicecall.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c
index f673624..b8ccbb2 100644
--- a/drivers/ifxmodem/voicecall.c
+++ b/drivers/ifxmodem/voicecall.c
@@ -37,6 +37,7 @@
 
 #include "gatchat.h"
 #include "gatresult.h"
+#include "common.h"
 
 #include "ifxmodem.h"
 
@@ -310,7 +311,7 @@ static void ifx_dial(struct ofono_voicecall *vc,
 
        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
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to