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

diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c
index ad505ff..709a869 100644
--- a/drivers/stemodem/voicecall.c
+++ b/drivers/stemodem/voicecall.c
@@ -192,7 +192,7 @@ static void ste_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