From 75cbc30dc06a417ab014795c6cf08e31fbabe7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 20 Mar 2022 18:39:41 +0100 Subject: [PATCH] sip: Implement empty emegency call property This allows the tests to pass. --- plugins/provider/sip/calls-sip-origin.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/provider/sip/calls-sip-origin.c b/plugins/provider/sip/calls-sip-origin.c index 65d687a..09ee825 100644 --- a/plugins/provider/sip/calls-sip-origin.c +++ b/plugins/provider/sip/calls-sip-origin.c @@ -61,6 +61,7 @@ enum { PROP_0, PROP_NAME, PROP_ID, + PROP_EMERGENCY_NUMBERS, PROP_ACC_HOST, PROP_ACC_USER, PROP_ACC_PASSWORD, @@ -1401,6 +1402,10 @@ calls_sip_origin_get_property (GObject *object, g_value_set_string (value, self->id); break; + case PROP_EMERGENCY_NUMBERS: + g_value_set_boxed (value, NULL); + break; + case PROP_ACC_HOST: g_value_set_string (value, self->host); break; @@ -1648,6 +1653,7 @@ calls_sip_origin_class_init (CallsSipOriginClass *klass) IMPLEMENTS (PROP_COUNTRY_CODE, "country-code"); IMPLEMENTS (PROP_ACC_STATE, "account-state"); IMPLEMENTS (PROP_ACC_ADDRESS, "address"); + IMPLEMENTS (PROP_EMERGENCY_NUMBERS, "emergency-numbers"); #undef IMPLEMENTS }