I have a problem sending concatenated messages to my SMSC, here, I will do my best to describe the problem.
When sending concatenated messages, my SMSC waits to receive all the segments of the message and then processes it to the provider and sends back the response, this means that when using the JSMPP java lib, whenever I receive a long message (more that 160 chars for GSM7) I will split the message into segments and submit each segment using the session.submitShortMessage
method.
The problem is that this call is synchronous and waits for the SMSC to respond with submit_sm_resp
. Therefor I need to use some sort of async mode to submit the messages.
I have no idea on how to do this with the current implementation of the library.
Do you know any way of doing this?
Thanks in advance