瀏覽代碼

sipcapture: remove workaround of correlation_id

- Compatible with Asterisk >= 10
Giacomo Vacca 9 年之前
父節點
當前提交
6cb0bec7d2
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      modules/sipcapture/sipcapture.c

+ 0 - 2
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;