sip: origin: Debug print public IP as seen by the registrar

This commit is contained in:
Evangelos Ribeiro Tzaras
2022-04-22 11:11:18 +02:00
parent db503e84cf
commit f44b4c7ef8

View File

@@ -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) {