From c33fd538297ad5f0efc11d05e11a78a095bdf5ec Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 3 Mar 2021 10:19:08 +0100 Subject: [PATCH] sip: Use app name in the user agent --- plugins/sip/calls-sip-origin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 635fcff..c711d23 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -22,6 +22,9 @@ * */ +#define G_LOG_DOMAIN "CallsSipOrigin" + +#include "config.h" #include "calls-sip-origin.h" #include "calls-message-source.h" @@ -443,7 +446,7 @@ setup_nua (CallsSipOrigin *self) nua = nua_create (self->ctx->root, sip_callback, self, - NUTAG_USER_AGENT ("sofia-test/0.0.1"), + NUTAG_USER_AGENT (APP_DATA_NAME), NUTAG_URL (sip_url), TAG_IF (use_sips, NUTAG_SIPS_URL (sips_url)), NUTAG_M_USERNAME (self->user),