RestComm / smscgateway

RestComm SMS Gateway (SMSC) to send/receive SMS from/to Operators Network (GSM)
http://www.restcomm.com/
GNU Affero General Public License v3.0
125 stars 112 forks source link

Split message cache #262

Open vetss opened 6 years ago

vetss commented 6 years ago

We need to add cache for incoming already splitted messages. This cache will contain correlation between a message segement reference_number + source_address + dest_address and a SMSC GW's messageId of a first found message segment. This value will be then logged into a CDR. This functionality demands extra processing and must be optional and turned off by default.

vetss commented 6 years ago

Hello @StanislawLeja

The initial fix was done by @StanislawLeja in the PR https://github.com/RestComm/smscgateway/pull/251.

I have added the PR + my suggested fix into (and SMSSC GW latest code) https://github.com/vetss/smscgateway/commits/smsc_44_Split_message_cache

My comments for a previous solution:

What is till missed: 1) I have not tested, we need to make this step at a live server 2) the functionality must be optional and turned off by default, we need to add CLI / GUI for it We may use of CLI templeate for enabling (if no objections)