Module: kamailio
Branch: master
Commit: 45d7500ace163660047e241df9a7b178638e3329
URL:
https://github.com/kamailio/kamailio/commit/45d7500ace163660047e241df9a7b17…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-05-12T18:49:06+02:00
registrar: proper attribute name for contact record xavp
---
Modified: src/modules/registrar/regpv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/45d7500ace163660047e241df9a7b17…
Patch:
https://github.com/kamailio/kamailio/commit/45d7500ace163660047e241df9a7b17…
---
diff --git a/src/modules/registrar/regpv.c b/src/modules/registrar/regpv.c
index dca26fa30e..5cf0eb6d0f 100644
--- a/src/modules/registrar/regpv.c
+++ b/src/modules/registrar/regpv.c
@@ -937,7 +937,7 @@ int ki_lookup_xavp(sip_msg_t* msg, str *utname, str* uri,
memset(&nxval, 0, sizeof(sr_xval_t));
nxval.type = SR_XTYPE_STR;
nxval.v.s = ptr->received;
- STR_STATIC_SET(fxname, "socket");
+ STR_STATIC_SET(fxname, "dsturi");
if(xavp_add_value(&fxname, &nxval, &cxavp)==NULL) {
LM_ERR("failed to add xavp %.*s field\n", fxname.len, fxname.s);
goto error;