mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-08 04:45:31 +00:00
sip: origin: Reduce logspam from REGISTER keep-alives
This commit is contained in:
parent
bf8bc5db3c
commit
7094363894
1 changed files with 3 additions and 2 deletions
|
@ -467,9 +467,10 @@ sip_r_register (int status,
|
||||||
sip_t const *sip,
|
sip_t const *sip,
|
||||||
tagi_t tags[])
|
tagi_t tags[])
|
||||||
{
|
{
|
||||||
g_debug ("response to REGISTER: %03d %s", status, phrase);
|
|
||||||
|
|
||||||
if (status == 200) {
|
if (status == 200) {
|
||||||
|
if (origin->state == CALLS_ACCOUNT_STATE_ONLINE)
|
||||||
|
return;
|
||||||
|
|
||||||
g_debug ("REGISTER successful");
|
g_debug ("REGISTER successful");
|
||||||
change_state (origin,
|
change_state (origin,
|
||||||
CALLS_ACCOUNT_STATE_ONLINE,
|
CALLS_ACCOUNT_STATE_ONLINE,
|
||||||
|
|
Loading…
Reference in a new issue