2-Way parameter for shortcode? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 19, 2005 ⬆ |
◄ ► |
Author | Message | |||
Tony Thinh New member Username: Vietlegnd Post Number: 1 Registered: 07-2005 |
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 |
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 |
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 |
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 |