Specifying "SMSCRoute" parameter via SMPP client? | ![]() |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 22, 2009 ⬆ |
◄ ► |
Author | Message | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 202 Registered: 08-2008 |
The following e-mail came into our support mailbox. I want to post it here as background information for a new feature in NowSMS that we are testing.
| |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 203 Registered: 08-2008 |
While this is likely to cause some confusion as people try to determine if this can apply to their configuration ... we thought this was a very good idea. A capability to support this has been added to the 2008.11.05 release of NowSMS, which is currently available as a test version at http://www.nowsms.com/download/nowsms200811.zip. How does it work? As the above posting explains, this is relevant when NowSMS is used as a hub, with outbound SMSC connections to multiple providers. In such a configuration, when you are using HTTP to interface with NowSMS, there is an "SMSCRoute" parameter that can be used to specify explicit routing for SMS messages. If an SMS message gets routed to a 2-way command via HTTP, there is an @@SMSCROUTE@@ variable that can be included in the 2-way command to tell the command which SMSC connection the message was received from. Similarly, when an SMS message is submitted via HTTP, a URL parameter of "&SMSCRoute=" can be specified to force the message to be routed outbound via a specific SMSC connection. This SMSCRoute parameter/value can be the name of a defined SMSC (e.g., "Bluetooth Modem" or "SMPP - a.b.c.d:xyz"). Or, rather than using the SMSC name, it can be a route name that is defined as associated with an SMSC. To define a route name for an SMSC, it is necessary to manually edit SMSGW.INI, and under the appropriate section header (e.g., [Modem - Bluetooth Modem] or [SMPP - a.b.c.d:xyz]), add RouteName=xxxxx. It is possible for multiple SMSCs to share the same route name, meaning that if a message is submitted with "&SMSCRoute=xxxxx", it will be routed outbound over the first available SMSC that is configured with RouteName=xxxxx. But, as the above message points out, what if the clients are connecting to NowSMS via SMPP instead of HTTP? In the 2008.11.05 release of NowSMS (currently available as a test version at http://www.nowsms.com/download/nowsms200811.zip), we have added support for using an SMPP TLV parameter to convey the "SMSCRoute" value. In this version, under an [SMPP] section header of SMSGW.INI, it is possible to add SMSCRouteTLV=####, where #### is the SMPP tag number (in hexadecimal) to be used for this TLV parameter. This TLV parameter is only supported for sending/receiving SMS messages to an SMPP client that is connected to the NowSMS server (defined on the "SMSC Users" list). This TLV parameter is NOT included in messages routed to external SMSC connections. It is used to choose which external SMSC connection is used for routing. If you need to include TLV parameters for messages routed to external SMSC connections, use the SMPPOptions settings, which are described in more detail at the following link: http://blog.nowsms.com/search/label/SMPPOptions. When NowSMS routes a message to an SMPP client, this TLV parameter will contain the route information for the SMSC route from which the message was received (either the SMSC Host Name and port, or the RouteName= parameter configured in SMSGW.INI for the SMSC). Similarly, the SMPP client can specify this parameter when submitting a message to request a specific outbound route for routing the message. The SMSCRoute TLV parameter is encoded as a C-Octet string (null terminated string). -- Des NowSMS Support | |||
Frank Danielson New member Username: Fdanielson Post Number: 2 Registered: 02-2006 |
We're currently running v2006.10.31. Can I simply replace the executable with this new version? | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 209 Registered: 08-2008 |
I'd suggest backing up EXE and DLL files. Then run the installer from the ZIP (the only EXE file in the ZIP). The installer will update the EXE and DLL files. |