1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-28 14:49:30 +00:00

sip: origin: Reduce logspam from REGISTER keep-alives

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-06-17 08:14:39 +02:00
parent bf8bc5db3c
commit 7094363894

View file

@ -467,9 +467,10 @@ sip_r_register (int status,
sip_t const *sip,
tagi_t tags[])
{
g_debug ("response to REGISTER: %03d %s", status, phrase);
if (status == 200) {
if (origin->state == CALLS_ACCOUNT_STATE_ONLINE)
return;
g_debug ("REGISTER successful");
change_state (origin,
CALLS_ACCOUNT_STATE_ONLINE,