<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello, <br>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? </div><div><br></div><div>According to <a href="https://en.wikipedia.org/wiki/GSM_03.40" target="_blank">https://en.wikipedia.org/wiki/GSM_03.40</a> 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:<br>tpdu(type) = 4 is delivery<br>tpdu(type) = 1 is submit<br>So what's the number for status? I could't find the mapping in the code. Only this:<br>// Types of the PDU-Message<br>typedef enum _pdu_message_type {<br>DELIVER = 0x00,<br>SUBMIT = 0x01,<br>COMMAND = 0x02,<br>ANY = 0x03,<br>} pdu_message_type_t;<br><br></div><div>So any hint or example is appreciated.<br><br>Thanks,<br>Pavel Siderov</div></div></div></div>