From 0755110ccc893c831d54855fa1b39a3ca5004e74 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 26 May 2009 18:09:07 -0500 Subject: [PATCH] Add plus sign for ATD when dialing international --- drivers/atmodem/voicecall.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 2be98313..6b2dc8ae 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -454,7 +454,10 @@ static void at_dial(struct ofono_modem *modem, if (!cbd) goto error; - sprintf(buf, "ATD%s", ph->number); + if (ph->type == 145) + sprintf(buf, "ATD+%s", ph->number); + else + sprintf(buf, "ATD%s", ph->number); switch (clir) { case OFONO_CLIR_OPTION_INVOCATION: