summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 5fe8a0a9..b8f4aab2 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -975,6 +975,9 @@ static DBusMessage *manager_dial(DBusConnection *conn,
if (!vc->driver->dial)
return __ofono_error_not_implemented(msg);
+ if (voicecalls_have_incoming(vc))
+ return __ofono_error_failed(msg);
+
/* We can't have two dialing/alerting calls, reject outright */
if (voicecalls_num_connecting(vc) > 0)
return __ofono_error_failed(msg);