[sr-dev] git:master:276ccc31: Merge pull request #802 from giavac/master

GitHub noreply at github.com
Wed Sep 28 22:58:08 CEST 2016


Module: kamailio
Branch: master
Commit: 276ccc3149dc2eee546e0ad1db770c5269cace20
URL: https://github.com/kamailio/kamailio/commit/276ccc3149dc2eee546e0ad1db770c5269cace20

Author: Alexandr Dubovikov <alexandr.dubovikov at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2016-09-28T22:58:02+02:00

Merge pull request #802 from giavac/master

sipcapture: remove workaround of correlation_id

---

Modified: modules/sipcapture/sipcapture.c

---

Diff:  https://github.com/kamailio/kamailio/commit/276ccc3149dc2eee546e0ad1db770c5269cace20.diff
Patch: https://github.com/kamailio/kamailio/commit/276ccc3149dc2eee546e0ad1db770c5269cace20.patch

---

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;




More information about the sr-dev mailing list