From 6cb0bec7d2491ed3365dc237fc1d8608af246c3a Mon Sep 17 00:00:00 2001 From: Giacomo Vacca Date: Wed, 28 Sep 2016 14:49:42 +0200 Subject: [PATCH] sipcapture: remove workaround of correlation_id - Compatible with Asterisk >= 10 --- modules/sipcapture/sipcapture.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 466b7d7d466..6988e45102c 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -2348,7 +2348,6 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re if(correlation_id) { corrtmp.s = correlation_id; corrtmp.len = strlen(correlation_id); - if(!strncmp(log_table, "rtcp_capture",12)) corrtmp.len--; } db_keys[0] = &date_column; @@ -2523,7 +2522,6 @@ static int report_capture(struct sip_msg *msg, str *_table, str* _corr, str *_d else if(correlation_id) { corrtmp.s = correlation_id; corrtmp.len = strlen(correlation_id); - if(!strncmp(_table->s, "rtcp_capture",12)) corrtmp.len--; } db_keys[0] = &date_column;