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,6 +454,9 @@ static void at_dial(struct ofono_modem *modem,
if (!cbd)
goto error;
if (ph->type == 145)
sprintf(buf, "ATD+%s", ph->number);
else
sprintf(buf, "ATD%s", ph->number);
switch (clir) {