--- smsc_smpp.c.orig    2006-05-15 10:07:53.000000000 -0600
+++ smsc_smpp.c 2006-05-15 10:07:28.000000000 -0600
@@ -1286,6 +1286,8 @@
          * The DLR trigger URL is indicated by msg->sms.dlr_url.
          */
         dlrmsg->sms.msgdata = octstr_duplicate(respstr);
+        //Remove null terminated characters in the middle of msgdata
+        charset_gsm_to_latin1(dlrmsg->sms.msgdata);
         dlrmsg->sms.sms_type = report_mo;
     } else {
         error(0,"SMPP[%s]: got DLR but could not find message or was not interested "
