Browse code

Merge 43a5b08154741eb89ab3fda87a734f6ff2e5851a into 1d00cf66f8006b082c0e0258371f4da5015b2ac2

Jake Greene authored on 31/03/2021 06:46:19 • GitHub committed on 31/03/2021 06:46:19
Showing 1 changed files
... ...
@@ -188,6 +188,8 @@ str* build_dialoginfo(char *state, str *entity, str *peer, str *callid,
188 188
 			LM_ERR("while adding child\n");
189 189
 			goto error;
190 190
 		}
191
+		/* Testing(POC) - Add a display attribute to the remote/identity tag */
192
+		xmlNewProp(tag_node, BAD_CAST "display", BAD_CAST "RemoteCallerName");	
191 193
 		tag_node = xmlNewChild(remote_node, NULL, BAD_CAST "target", NULL);
192 194
 		if( tag_node ==NULL)
193 195
 		{
... ...
@@ -229,6 +231,8 @@ str* build_dialoginfo(char *state, str *entity, str *peer, str *callid,
229 231
 			LM_ERR("while adding child\n");
230 232
 			goto error;
231 233
 		}
234
+		/* Testing(POC) - Add a display attribute to the local/identity tag */
235
+		xmlNewProp(tag_node, BAD_CAST "display", BAD_CAST "localCallerName");
232 236
 		if (localtarget && localtarget->s) {
233 237
 			memcpy(buf, localtarget->s, localtarget->len);
234 238
 			buf[localtarget->len]= '\0';