How to process SMS-IN folder

How to process SMS-IN folder SearchSearch
Author Message
Raffi Krikorian
New member
Username: Rkrikorian

Post Number: 11
Registered: 06-2008
Posted on Wednesday, June 02, 2010 - 09:54 pm:   

I have *.SMS files in the SMS-IN folder. I've now properly defined my settings in 2-Way tab to properly handle those files. How can I re-queue those incoming files so that they get processed based on the settings in the Received SMS Command Table?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2193
Registered: 08-2008
Posted on Wednesday, June 02, 2010 - 10:41 pm:   

Rename them to be *.IN files, and they will be re-queued for the 2-way command(s).

--
Des
NowSMS Support
Alexandre
Frequent Contributor
Username: Alexd

Post Number: 73
Registered: 01-2008
Posted on Thursday, June 03, 2010 - 09:58 am:   

At me the similar situation, at me is switched off function 2-way and I have noticed that in folder SMS IN accumulates much *.SMS files (reports on delivery) if their quantity exceeds 400 000, work NowSMS becomes much more slowly.
I so understand without function in gear 2-way, NowSMS does not delete them. But I cannot include function 2-Way as for some users at me function "Route received messages to user via SMPP" is included, I understand that it is impossible to use these two functions simultaneously? Whether there is any decision that NowSMS cleared folder SMS IN if entering number is not adjusted in 2-Way?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2199
Registered: 08-2008
Posted on Thursday, June 03, 2010 - 04:26 pm:   

Hi Alexandre,

"Route received messages to user via SMPP" takes precedence over any defined 2-way commands.

So if a message gets routed via SMPP, it skips the 2-way commands.

NowSMS deletes messages from SMS-IN when it processes them, so any 2-way command will do. You might want to just log them at least ... there is an old example at http://support.nowsms.com/discus/messages/1/333.html that is a good starting point.

--
Des
NowSMS Support
Alexandre
Frequent Contributor
Username: Alexd

Post Number: 77
Registered: 01-2008
Posted on Thursday, June 03, 2010 - 08:40 pm:   

How I have understood, if function 2-Way is switched off that NowSMS does not delete *.SMS files from SMS IN?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2206
Registered: 08-2008
Posted on Friday, June 04, 2010 - 03:50 am:   

Correct. If it is off, *.SMS files are not deleted (some customers run automated processes against them).
Fahad Ahmed
New member
Username: Fahad

Post Number: 10
Registered: 06-2010
Posted on Friday, June 04, 2010 - 08:54 am:   

hi all

how can I create my own .ini file

is it a way to send back message against the user Prefix
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2208
Registered: 08-2008
Posted on Friday, June 04, 2010 - 02:06 pm:   

An .ini file is a file that contains configuration settings. You do not need to create one.

The link above in this thread has a simple example of a 2-way command written in VBScript.

http://support.nowsms.com/discus/messages/1/4520.html has PHP examples.