2 SMPP Connections, Same Shortcode

2 SMPP Connections, Same Shortcode SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 02, 2006 » 2 SMPP Connections, Same Shortcode « Previous || Next »
Author Message
alya
New member
Username: Alya

Post Number: 6
Registered: 12-2003
Posted on Friday, May 05, 2006 - 10:56 pm:   

Hi. Bryce.
I need to connect nowsms with 2 operator (via smpp) and they should use same shortcode when we reply/send sms.
operator A : sender = 8181
operator B : sender = 8181
I'm confuse how to send sms with right parameter
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5901
Registered: 10-2002
Posted on Monday, May 08, 2006 - 07:04 pm:   

Hi alya,

Let me first talk about how you can submit a message to NowSMS and explicitly specify which SMSC connection should be used to send the message.

An HTTP parameter setting exists that can be used to explicitly route a message via a particular SMSC.

When a message is submitted via HTTP, the HTTP interface supports a parameter of "&SMSCRoute=xxxxx", where the value of this setting 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 one or more SMSCs. 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 via HTTP with the "&SMSCRoute=xxxxx" parameter, it will be routed outbound over the first available SMSC that is configured with the RouteName=xxxxx setting.

Now let's talk about 2-way SMS considerations.

You can include an @@SMSCROUTE@@ replaceable parameter in your 2-way URL, and this will indicate which SMSC the message was received from (e.g., "Bluetooth Modem" or "SMPP - a.b.c.d:xyz" ... or the "RouteName=" value if you defined a route name in the SMSGW.INI as described above).

When you reply back to a message in a 2-way command, you would need to generate your reply using the "redirect" technique and include "&SMSCRoute=" in the redirect URL. (General redirect response technique described here: http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm)

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics