Browse code

siptrace: use msg_send_buffer() to skip send callbacks for uri duplicate

- GH #3042

Daniel-Constantin Mierla authored on 02/03/2022 08:28:24
Showing 1 changed files
... ...
@@ -349,7 +349,7 @@ int trace_send_duplicate(char *buf, int len, dest_info_t *dst2)
349 349
 		}
350 350
 	}
351 351
 
352
-	if(msg_send(pdst, buf, len) < 0) {
352
+	if(msg_send_buffer(pdst, buf, len, 1) < 0) {
353 353
 		LM_ERR("cannot send duplicate message\n");
354 354
 		goto error;
355 355
 	}