[SR-Users] smsops module - status report?

Pafel pafels at gmail.com
Thu Aug 13 09:05:26 CEST 2020


Hello,
I am trying to generate sms status report using smsops module but without
success. I couldn't find any example on the net. Can somebody help me?

According to https://en.wikipedia.org/wiki/GSM_03.40 TP-MTI (tpdu(type) in
kamailio) should be "1 0" for status report. Delivery is "0 0" and submit
"0 1". According to the provided examples in smsops module:
tpdu(type) = 4 is delivery
tpdu(type) = 1 is submit
So what's the number for status? I could't find the mapping in the code.
Only this:
// Types of the PDU-Message
typedef enum _pdu_message_type {
DELIVER = 0x00,
SUBMIT = 0x01,
COMMAND = 0x02,
ANY = 0x03,
} pdu_message_type_t;

So any hint or example is appreciated.

Thanks,
Pavel Siderov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200813/f417bb51/attachment.htm>


More information about the sr-users mailing list