go-smpp
go-smpp copied to clipboard
Submitting to multiple recipients and returned message ID
From the SMSC I'm connecting to (not sure which SMSC) when submitting to multiple recipients Response Message contains a single ID, but when delivery report is received it has different message IDs for each recipient.
Is there a way to retrieve message ID for each recipient?
Hmm you'll have to do some troubleshooting. I haven't touched this code in a while.
According to the spec ( as far as I understand ) this is not possible, as only a single ID is returned in the response.
So if returned message ID is important ( for DLR etc. ) only option is to avoid batch message sends and send them one by one.
@fiorix I do not think #74 is a dup of this issue, it talks specifically to long/multi-part messages. @faxal please correct me if I am wrong, but you are talking about sending one message to many recipients via DstList in the ShortMessage struct.
@McSwitch That is correct. What I am asking may not be possible from what I have gathered.