Module: kamailio
Branch: master
Commit: 6cb0bec7d2491ed3365dc237fc1d8608af246c3a
URL:
https://github.com/kamailio/kamailio/commit/6cb0bec7d2491ed3365dc237fc1d860…
Author: Giacomo Vacca <giacomo.vacca(a)gmail.com>
Committer: Giacomo Vacca <giacomo.vacca(a)gmail.com>
Date: 2016-09-28T14:49:42+02:00
sipcapture: remove workaround of correlation_id
- Compatible with Asterisk >= 10
---
Modified: modules/sipcapture/sipcapture.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6cb0bec7d2491ed3365dc237fc1d860…
Patch:
https://github.com/kamailio/kamailio/commit/6cb0bec7d2491ed3365dc237fc1d860…
---
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index 466b7d7..6988e45 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;