From f44b4c7ef84ef8e5ae8742caa051a626c66b583a Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 22 Apr 2022 11:11:18 +0200 Subject: [PATCH] sip: origin: Debug print public IP as seen by the registrar --- plugins/sip/calls-sip-origin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index c79d86a..de65cea 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -451,6 +451,7 @@ sip_r_register (int status, if (sip->sip_contact && sip->sip_contact->m_url && sip->sip_contact->m_url->url_host) { g_free (origin->own_ip); origin->own_ip = g_strdup (sip->sip_contact->m_url->url_host); + g_debug ("Own IP as reported by the registrar: %s", origin->own_ip); } } else if (status == 401 || status == 407) {