mirror of git://git.sysmocom.de/ofono
Add plus sign for ATD when dialing international
This commit is contained in:
parent
53c55abd44
commit
0755110ccc
|
@ -454,7 +454,10 @@ static void at_dial(struct ofono_modem *modem,
|
||||||
if (!cbd)
|
if (!cbd)
|
||||||
goto error;
|
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) {
|
switch (clir) {
|
||||||
case OFONO_CLIR_OPTION_INVOCATION:
|
case OFONO_CLIR_OPTION_INVOCATION:
|
||||||
|
|
Loading…
Reference in New Issue