1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-06 03:25:31 +00:00

sip: Use app name in the user agent

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-03-03 10:19:08 +01:00
parent 1836c7c915
commit c33fd53829

View file

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