fiorix / go-smpp

SMPP 3.4 Protocol for the Go programming language
MIT License
218 stars 135 forks source link

Submitting to multiple recipients and returned message ID #72

Open mfzl opened 6 years ago

mfzl commented 6 years ago

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?

fiorix commented 6 years ago

Hmm you'll have to do some troubleshooting. I haven't touched this code in a while.

mfzl commented 6 years ago

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.

McSwitch commented 6 years ago

@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.

mfzl commented 6 years ago

@McSwitch That is correct. What I am asking may not be possible from what I have gathered.