summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index c89b2beb..8a73de27 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1887,3 +1887,14 @@ void *ofono_voicecall_get_data(struct ofono_voicecall *vc)
{
return vc->driver_data;
}
+
+int ofono_voicecall_get_next_callid(struct ofono_voicecall *vc)
+{
+ struct ofono_modem *modem;
+ if (vc == NULL || vc->atom == NULL)
+ return 0;
+
+ modem = __ofono_atom_get_modem(vc->atom);
+
+ return __ofono_modem_callid_next(modem);
+}