sip: Origin needs account credentials

Credentials can be set through a config file. The config file is parsed
by CallsSipProvider in order to add origins for each SIP account.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-02-09 11:32:27 +01:00
parent 71e7a33626
commit 7971fb5afb
4 changed files with 222 additions and 7 deletions

View File

@@ -36,6 +36,11 @@ G_DECLARE_FINAL_TYPE (CallsSipProvider, calls_sip_provider, CALLS, SIP_PROVIDER,
CallsSipProvider *calls_sip_provider_new ();
void calls_sip_provider_add_origin (CallsSipProvider *self,
const gchar *name);
const gchar *name,
const gchar *user,
const gchar *password,
const gchar *host,
const gchar *protocol,
gboolean direct_connection);
G_END_DECLS