From 04605efac753dfc089c03e9d6efed2b05805ecfd Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sat, 12 Feb 2022 14:37:28 +0100 Subject: [PATCH] plugins: Implement call-type property --- plugins/dummy/calls-dummy-call.c | 1 + plugins/mm/calls-mm-call.c | 1 + plugins/ofono/calls-ofono-call.c | 1 + plugins/sip/calls-sip-call.c | 1 + 4 files changed, 4 insertions(+) diff --git a/plugins/dummy/calls-dummy-call.c b/plugins/dummy/calls-dummy-call.c index 38db95c..1cfb064 100644 --- a/plugins/dummy/calls-dummy-call.c +++ b/plugins/dummy/calls-dummy-call.c @@ -105,6 +105,7 @@ calls_dummy_call_new (const gchar *id, return g_object_new (CALLS_TYPE_DUMMY_CALL, "id", id, "inbound", inbound, + "call-type", CALLS_CALL_TYPE_CELLULAR, NULL); } diff --git a/plugins/mm/calls-mm-call.c b/plugins/mm/calls-mm-call.c index 2091f2b..b055cf6 100644 --- a/plugins/mm/calls-mm-call.c +++ b/plugins/mm/calls-mm-call.c @@ -366,6 +366,7 @@ calls_mm_call_new (MMCall *mm_call) return g_object_new (CALLS_TYPE_MM_CALL, "mm-call", mm_call, "inbound", inbound, + "call-type", CALLS_CALL_TYPE_CELLULAR, NULL); } diff --git a/plugins/ofono/calls-ofono-call.c b/plugins/ofono/calls-ofono-call.c index 7ae8922..3fd78b3 100644 --- a/plugins/ofono/calls-ofono-call.c +++ b/plugins/ofono/calls-ofono-call.c @@ -328,6 +328,7 @@ calls_ofono_call_new (GDBOVoiceCall *voice_call, "name", name, "inbound", inbound, "state", state, + "call-type", CALLS_CALL_TYPE_CELLULAR, NULL); } diff --git a/plugins/sip/calls-sip-call.c b/plugins/sip/calls-sip-call.c index 9740e03..8f5d041 100644 --- a/plugins/sip/calls-sip-call.c +++ b/plugins/sip/calls-sip-call.c @@ -382,6 +382,7 @@ calls_sip_call_new (const gchar *id, "inbound", inbound, "own-ip", own_ip, "nua-handle", handle, + "call-type", CALLS_CALL_TYPE_SIP_VOICE, NULL); }