mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
sip: Use app name in the user agent
This commit is contained in:
parent
1836c7c915
commit
c33fd53829
1 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define G_LOG_DOMAIN "CallsSipOrigin"
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "calls-sip-origin.h"
|
#include "calls-sip-origin.h"
|
||||||
|
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
|
@ -443,7 +446,7 @@ setup_nua (CallsSipOrigin *self)
|
||||||
nua = nua_create (self->ctx->root,
|
nua = nua_create (self->ctx->root,
|
||||||
sip_callback,
|
sip_callback,
|
||||||
self,
|
self,
|
||||||
NUTAG_USER_AGENT ("sofia-test/0.0.1"),
|
NUTAG_USER_AGENT (APP_DATA_NAME),
|
||||||
NUTAG_URL (sip_url),
|
NUTAG_URL (sip_url),
|
||||||
TAG_IF (use_sips, NUTAG_SIPS_URL (sips_url)),
|
TAG_IF (use_sips, NUTAG_SIPS_URL (sips_url)),
|
||||||
NUTAG_M_USERNAME (self->user),
|
NUTAG_M_USERNAME (self->user),
|
||||||
|
|
Loading…
Reference in a new issue