From 6f05649c59ae8c63879044402680d5786737d02e Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 22 Nov 2010 10:30:50 +0000 Subject: [PATCH] Removed unnecessary log messages. --- cdr.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cdr.c b/cdr.c index 7ed67fd..36dd477 100644 --- a/cdr.c +++ b/cdr.c @@ -222,9 +222,6 @@ static int cdr_parse_dstleg(char *dstleg, cdr_entry_t *cdr) int len; len = strlen(dstleg); - - //syslog(LOG_INFO, "Call-Id '%s' has dstleg '%s' with length %d", cdr->call_id, dstleg, len); - tmp2 = dstleg; tmp1 = strchr(tmp2, MED_SEP); @@ -277,8 +274,6 @@ static int cdr_parse_dstleg(char *dstleg, cdr_entry_t *cdr) g_strlcpy(cdr->destination_user_in, tmp2, sizeof(cdr->destination_user_in)); tmp2 = ++tmp1; - //syslog(LOG_INFO, "Call-Id '%s' tmp calc: len=%d, rest=%d, tmp2='%s'", cdr->call_id, len, tmp2 - dstleg + 1, tmp2); - if(len < tmp2 - dstleg + 1) { syslog(LOG_WARNING, "Call-Id '%s' has no separated incoming destination domain", cdr->call_id); @@ -286,8 +281,6 @@ static int cdr_parse_dstleg(char *dstleg, cdr_entry_t *cdr) } g_strlcpy(cdr->destination_domain_in, tmp2, sizeof(cdr->destination_domain_in)); - syslog(LOG_INFO, "Call-Id '%s' dst_domain_in='%s'", cdr->call_id, cdr->destination_domain_in); - return 0; }