2-Way parameter for shortcode?

2-Way parameter for shortcode? SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » 2-Way parameter for shortcode? « Previous || Next »
Author Message
Tony Thinh
New member
Username: Vietlegnd

Post Number: 1
Registered: 07-2005
Posted on Thursday, July 28, 2005 - 11:24 pm:   

I noticed that in your document you do not have a parameter to pass the shortcode. Is there a way that I can send the shortcode to my servlet through 2-Way. We currently have @@SENDER@@, for the sender, but do you have any parameters for the shortcode?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4718
Registered: 10-2002
Posted on Friday, July 29, 2005 - 03:28 pm:   

Hi Tony,

@@RECIP@@ contains the recipient address (which should be the short code for a message sent to a short code).

-bn
Tony Thinh
New member
Username: Vietlegnd

Post Number: 4
Registered: 07-2005
Posted on Friday, August 05, 2005 - 08:50 pm:   

thanks Bryce,

I was wondering, I would like to start sending Premium SMS, and to do so I need the carrier of the User. I was told that simple wire passes the carrier to now SMS when a User sends a request to our shortcode. Is there a way using 2-Way to send the carrier to the servlet we are using?

Thanks in advance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4917
Registered: 10-2002
Posted on Thursday, September 15, 2005 - 08:35 pm:   

Hi Tony,

I've had a hard time keeping up with message postings during the summer, and missed this one.

I'm not sure how SimpleWire handles this, but if they use SMPP TLV parameters, it may be possible to do this somewhat easily.

Do you have any documentation for how SimpleWire passes this information?

mBlox does it with SMPP TLV, and there are details about how we support it in the following thread:

http://support.nowsms.com/discus/messages/1/9114.html

Basically, you need to know the hex value codes for the extension parameters that they use. And through the [SMPPOptions] section of SMSGW.INI, you can associate HTTP variable names with these extension parameters.

If the parameters are present in a received message, they get passed to your 2-way application. Similarly, you can include these parameters when you submit a message.

I don't have any docs on SimpleWire, but if you can forward some information, I'll see what we can figure out.

-bn

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