Receipts only in SMS-IN folder

Receipts only in SMS-IN folder SearchSearch
Author Message
Janis
New member
Username: Teroj

Post Number: 1
Registered: 10-2013
Posted on Monday, October 28, 2013 - 08:43 pm:   

Hello,
Is possible to configure nowsms to:
1) I would like to process receipts manually and want that receipts stay only in SMS-IN folder and don't route to SMPP users q folder.

2) When receive receipt in SMS-IN folder nowsms replaced received receipt id with previously sent sms id. I want to leave original received receipt as it comes from provider.

I enabled 2-way sms.
I noticed if delete RECV.FLG from users folder then receipts don't go into users folder as I need. But maybe in smsgw.ini is setting for it?

I'm testing later nowsms version.
liudas
New member
Username: Bogiukas

Post Number: 3
Registered: 08-2011
Posted on Tuesday, November 05, 2013 - 07:35 pm:   

Hello,

can help anybody from support answer to this request?

liudas
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4724
Registered: 08-2008
Posted on Tuesday, November 05, 2013 - 09:07 pm:   

Hi Liudas,

Sorry for the delay in response. For some reason I did not receive a notification about your post.

I'm going to answer your questions out of sequence because your last point is significant.


quote:

I noticed if delete RECV.FLG from users folder then receipts don't go into users folder as I need. But maybe in smsgw.ini is setting for it?




This is interesting because indeed the existence of this file is checked for, and if the file does not exist, no messages are receipts are delivered to the user account.

It is not a configuration setting exactly ... but it appears that there are situations where this file is created when it should not be.

Every time the NowSMS service is restarted, user accounts are checked and RECV.FLG is created or deleted based upon account settings. This appears to be working correctly ... I expect that if you restart the service, these settings will correct themselves.

What is wrong is that the configuration program is creating RECV.FLG every time a user account is added or edited. This should only happen if "Accept received messages for this user" is enabled ... however it is happening every time a user is added or edited.

We will correct this with an interim release update this week. In the mean time, restarting the service after adding/editing users will reset the properties correctly.


quote:

1) I would like to process receipts manually and want that receipts stay only in SMS-IN folder and don't route to SMPP users q folder.




In addition to the above discussion, please note that there are additional ways to support both your processing of delivery receipts, and the SMPP client also receiving delivery receipts.

a.) There is a setting to copy either all messages or only delivery receipts that are being routed to a user account so that they are also routed to the 2-way command processor. To enable this add one of the following settings to the [SMSGW] section of SMSGW.INI:

DuplicateUserMessagesFor2Way=Yes
DuplicateUserReceiptsFor2Way=Yes

b.) Accounting callbacks. The Type=SMSIN callback will report all delivery receipts. (See http://www.nowsms.com/doc/advanced-configuration-settings/sms-accounting-callbac ks)


quote:

2) When receive receipt in SMS-IN folder nowsms replaced received receipt id with previously sent sms id. I want to leave original received receipt as it comes from provider.




Note that the accounting callbacks referenced above will report both IDs.

This translation of message ID is done because the provider assigned ID is not known to the SMPP client that submits the message. This way the client can know what message a delivery receipt refers to.

In most scenarios it is very important for clients that this replacement occurs. If accounting callbacks are not an option, it might be possible to disable these translations by disabling all message ID tracking.

To disable this tracking and translation, add both of the following settings to the [SMSGW] section of SMSGW.INI:

TrackSMPPReceipts=No
TrackSMPPReceiptsAlways=No

--
Des
NowSMS Support