SMS expiration period | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 13, 2018 ⬆ |
◄ ► |
Author | Message | |||
Stavros Tseriotis New member Username: Tuccero9 Post Number: 11 Registered: 08-2016 |
Hello, I have Now SMS/MMS Gateway v2013.09.26 and i have two SMSC (SMPP over Tcp/IP) connections. One of them is connected to my Service Provider and the other to a GSM Modem. I would like to add an expiration time for each SMS so that they expire after 5 minutes. Users are receiving this SMS messages to connect to another application so if they receive the message after the desired time (5 minutes), the SMS is no longer valid - therefore useless. Is there a way to configure this so i will be sure that users will not receive messages that are not valid for their purpose? Thank you | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5745 Registered: 08-2008 |
Hi, If submitting via HTTP, you can add &Validity=5M as a URL parameter. (https://www.nowsms.com/doc/submitting-sms-messages/url-parameters) Alternatively, to set a validity period of 5 minutes for all messages, add Validity=5M under the [SMPP - server:port] section of SMSGW.INI. (https://www.nowsms.com/doc/advanced-configuration-settings/ini-file-settings) Note that this sets a validity/expiration for the message at the SMSC only. It means that if the SMSC cannot deliver the message after 5 minutes, it should be discarded. There is no way to set an expiration that is transmitted with the message itself. That said, there is a 10-year old thread here where one of my colleagues describes using the replacement type attribute to achieve this: https://support.nowsms.com/discus/messages/1/13536.html Technically, it makes sense, but 10 years ago was pre-iPhone and pre-Android days...and I'm not 100% sure, but because of the way they show threaded message conversations, I suspect neither platform supports the attribute that Bryce discusses in that thread. -- Des NowSMS Support | |||
Stavros Tseriotis New member Username: Tuccero9 Post Number: 12 Registered: 08-2016 |
Hello Des, Thank you for your useful links. This is exactly what i want to do. To instruct SMSC to send this SMS only for 5 minutes. if it cannot deliver it during this period then it should discard it. I think i will try to test the solution of the http syntax first. As i have several users on my SMPP connections, if i modify the SMSGW.INI file it will be applied to all users. In my case i want the SMS validity period to be applied only for specific SMS users not for all SMS that are send through this connection. I think the HTTP solution should do it. Thank you again very much | |||
Ashi Dubey New member Username: Ashidubey Post Number: 1 Registered: 10-2016 |
get the best bulk SMS Gateway for sending sms. |