Add plus sign for ATD when dialing international

This commit is contained in:
Denis Kenzior 2009-05-26 18:09:07 -05:00
parent 53c55abd44
commit 0755110ccc
1 changed files with 4 additions and 1 deletions

View File

@ -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: