SMS-IN Directory based on SMSC connection

SMS-IN Directory based on SMSC connection SearchSearch
Author Message
Julio da Silva
New member
Username: Omniscout

Post Number: 1
Registered: 04-2006
Posted on Saturday, April 22, 2006 - 03:40 am:   

Hi
I need to setup different recieve directories for each of the SMPP connections.

Example. I have 2 SMPP connections, one for the production environment that all recieved SMS messages go into the "SMS-IN" directory.

The Second SMPP connection I wand to have the SMS recieved Messages go into "SMS-INTEST" directory.

I have read and re-read the documentation and cannot find in there how to route this. Is this even possible to do?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5829
Registered: 10-2002
Posted on Monday, April 24, 2006 - 10:51 pm:   

Hi,

With the file based interface, it is not possible to specify different directories for the receive SMS-IN messages.

But I do have an idea that might give you a good work-around. First some explanation, then the work-around.

The received messages in the "SMS-IN" directory will have a "ModemName=" parameter that identifies the SMSC connection from which the message was received. (It looks something like this: ModemName=SMPP - 192.168.1.10:8801)

If you were using 2-way commands, you can have different commands processed based upon the "Received Phone Number" field ("PhoneNumber=" in the SMS-IN file). So assuming that the test environment always used a particular recipient value (or values), you could have different 2-way commands executed based upon the receiver's phone number.

That said, let me get to the work-around idea. This requires NowSMS 2006. Under "Properties" for the SMSC connection, there is a "Route SMS to local user" option. To use this option, you need to define a user account under "SMS Users", and enable SMPP login for the account ... even though with this work-around you won't actually be logging in to the account with SMPP. If you select an account here, then all received SMS messages for that SMSC connection will go to USERS\accountname\Q. They will be in a similar format to the SMS-IN files, except the section header will be [SMS] instead of [SMS-IN], and the file extension will be ".req".

-bn