Browse code

registrar: proper attribute name for contact record xavp

Daniel-Constantin Mierla authored on 12/05/2022 16:49:06
Showing 1 changed files
... ...
@@ -937,7 +937,7 @@ int ki_lookup_xavp(sip_msg_t* msg, str *utname, str* uri,
937 937
 			memset(&nxval, 0, sizeof(sr_xval_t));
938 938
 			nxval.type = SR_XTYPE_STR;
939 939
 			nxval.v.s = ptr->received;
940
-			STR_STATIC_SET(fxname, "socket");
940
+			STR_STATIC_SET(fxname, "dsturi");
941 941
 			if(xavp_add_value(&fxname, &nxval, &cxavp)==NULL) {
942 942
 				LM_ERR("failed to add xavp %.*s field\n", fxname.len, fxname.s);
943 943
 				goto error;