But I guess to receive delivery reports, then I should bind to the SMSC as a receiver right?
Currently, I have a trasmitter sending SMS...and I have another app acting as a receiver...so I expect the delivery reports to be sent to the reciver, but I am not receiving any...even if I set the "registered delivery" flag to "on"...
What should be the proper configuration so that delivery reports of SMS sent by the transmitter can be properly received by a separate reciever?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, either a receiver or a transceiver should be used to get the delivery reports. Not sure why your SMSC isn't delivering the reports - are you sure your receiver is bound with the correct address range?
oran
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I already set submitsm.setRegistered(1);.
But I don't know how can I know it is delivered or not.
The message it already sent.
After submitting sms, I wrote like that
SMPPPacket p = myConnection.readNextPacket();
In p, commondId is 21 and commandStatus is 0.
For delivered or not, How can I know it?
Please reply my question, please.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you checking what the type of the packet is when you readNextPacket? You get a SubmitSMResp in response to a SubmitSM but this will not indicate if the SMS has been delivered or not, only that the SMSC has accepted it for delivery.
A delivery report is a completely separate inbound message initiated to your application from the SMSC, and sent to you via a DeliverSM packet. The contents of the packet will be particularly formed indicating it is a delivery report. Note also that support for delivery receipts can also be controlled at the SMSC side, so even if you request one you might not get one if your SMSC chooses to diable them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I already got delivery report in simulator. But not okay in real SMPP server.
I want to know that issue is because of my application side or SMSC side.
Please give me any suggestion.
Thanks for your help.
Myint
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I receive a delivery report from the SMSC regarding a particular message that I submitted?
Usually you turn on "registered delivery" in the submit_sm packet. There is a flag in that packet.
oran
Thanks for the response!
But I guess to receive delivery reports, then I should bind to the SMSC as a receiver right?
Currently, I have a trasmitter sending SMS...and I have another app acting as a receiver...so I expect the delivery reports to be sent to the reciver, but I am not receiving any...even if I set the "registered delivery" flag to "on"...
What should be the proper configuration so that delivery reports of SMS sent by the transmitter can be properly received by a separate reciever?
Thanks!
Yes, either a receiver or a transceiver should be used to get the delivery reports. Not sure why your SMSC isn't delivering the reports - are you sure your receiver is bound with the correct address range?
oran
How do you turn on "registered delivery" in the submit_sm packet?
submitsm.setRegistered(1);
Hello Oran,
I already set submitsm.setRegistered(1);.
But I don't know how can I know it is delivered or not.
The message it already sent.
After submitting sms, I wrote like that
SMPPPacket p = myConnection.readNextPacket();
In p, commondId is 21 and commandStatus is 0.
For delivered or not, How can I know it?
Please reply my question, please.
Are you checking what the type of the packet is when you
readNextPacket? You get a SubmitSMResp in response to a SubmitSM but this will not indicate if the SMS has been delivered or not, only that the SMSC has accepted it for delivery.A delivery report is a completely separate inbound message initiated to your application from the SMSC, and sent to you via a DeliverSM packet. The contents of the packet will be particularly formed indicating it is a delivery report. Note also that support for delivery receipts can also be controlled at the SMSC side, so even if you request one you might not get one if your SMSC chooses to diable them.
Hello Oran,
I already got delivery report in simulator. But not okay in real SMPP server.
I want to know that issue is because of my application side or SMSC side.
Please give me any suggestion.
Thanks for your help.
Myint
Hello Oran,
Thanks for your api and reply.
Now I can get delivery report by using AsyncReceiver2.
Myint