Skip to content

Instantly share code, notes, and snippets.

@atkawa7
atkawa7 / KannelDLR.md
Created April 17, 2021 11:27 — forked from grantpullen/KannelDLR.md
Kannel DLR information and how it maps to SMPP return values.

SMSPP Delviery Reports and Kannel

This info page relates to the DLR values which are returned by kannel when requesting DLR. Some SMPP related information is also listed for reference.

dlr-mask

This [send-sms][1] parameter is used to request for delivery reports with the state of the sent message. This requires the [dlr-url][1] on sendsms-user group or use the dlr-url CGI variable to be set. The value is a bit mask composed of:

Value Description
@atkawa7
atkawa7 / ReadXml.java
Created December 10, 2020 16:58 — forked from Lormenyo/ReadXml.java
This is the main file for marshalling and unmarshalling the XML file.
package com.jaxb;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;