calls-record: Introduce the protocol property

This is in preparation for supporting multiple providers (which are handling
different protocols/URI schemes).

This commit also changes the underlying database schema.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-04-12 11:44:30 +02:00
parent 53f69b06dd
commit 6d8c227b24
2 changed files with 25 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
#define RECORD_STORE_FILENAME "records.db"
#define RECORD_STORE_VERSION 1
#define RECORD_STORE_VERSION 2
typedef enum
@@ -490,6 +490,7 @@ record_call (CallsRecordStore *self,
"repository", self->repository,
"target", calls_call_get_number (call),
"inbound", calls_call_get_inbound (call),
"protocol", calls_call_get_protocol (call),
"start", start,
NULL);