Skip to content

Commit

Permalink
Fixing double cdr records after message drop/reject by mproc in TxHtt…
Browse files Browse the repository at this point in the history
…p as per zendesk ticket #34782
  • Loading branch information
olenara committed Oct 23, 2017
1 parent 59039f8 commit 35a0bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public void sendMessage(HttpServletRequestEvent event, HttpSendMessageIncomingDa
HttpUtils.sendErrorResponseWithContent(logger, event.getResponse(), HttpServletResponse.SC_OK, message,
ResponseFormatter.format(outgoingData, incomingData.getFormat()), incomingData.getFormat());
timestampB = System.currentTimeMillis();
if (smscPropertiesManagement.isGenerateRejectionCdr()) {
if (smscPropertiesManagement.isGenerateRejectionCdr() && !e1.isMessageRejectCdrCreated()) {
generateCDR(event.getRequest(), CdrGenerator.CDR_SUBMIT_FAILED_HTTP, message, true);
}
} catch (IOException e) {
Expand Down

0 comments on commit 35a0bc7

Please sign in to comment.