Skip to content

Commit

Permalink
sipcapture: remove workaround of correlation_id
Browse files Browse the repository at this point in the history
- Compatible with Asterisk >= 10
  • Loading branch information
giavac committed Sep 28, 2016
1 parent cedae42 commit 6cb0bec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/sipcapture/sipcapture.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6cb0bec

Please sign in to comment.