sip: provider: Add API to remove origins
This commit is contained in:
committed by
Evangelos Ribeiro Tzaras
parent
1a4b501653
commit
1749dcec60
@@ -1380,6 +1380,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self,
|
||||
const char *password,
|
||||
const char *display_name,
|
||||
const char *transport_protocol,
|
||||
gint port,
|
||||
gboolean auto_connect)
|
||||
{
|
||||
g_return_if_fail (CALLS_IS_SIP_ORIGIN (self));
|
||||
@@ -1415,6 +1416,8 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self,
|
||||
else
|
||||
self->transport_protocol = g_strdup ("UDP");
|
||||
|
||||
self->port = port;
|
||||
|
||||
/* Propagate changes to nua stack */
|
||||
update_nua (self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user