TLV and SMSC Route Code | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through December 23, 2009 ⬆ |
◄ ► |
Author | Message | |||
Anto Justus New member Username: Antojust Post Number: 1 Registered: 12-2009 |
Des, Bryce: I have the Optional Parameter TLV 0x1400(Octet string) where do i set this value in the smsgw.ini Also can you help me how to smsc route code for outbound sms message from http url? Thanks | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1581 Registered: 08-2008 |
Hi Anto, Here's an article that does a pretty good job of explaining this type of configuration: http://blog.nowsms.com/2009/03/premium-rate-sms-oppc-with-verisign-and.html And here's another: http://blog.nowsms.com/2008/10/mblox-and-nowsms.html Basically, you define the parameter by creating an [SMPPOptions] section in SMSGW.INI. You can then specify a value for the parameter when submitting via HTTP ... and/or you can define a default value for this parameter in SMSGW.INI using the DefaultSMPPOptions setting. Note that there are two types of strings in SMPP environments ... octet string and C Octet String. Because of the similar names, providers aren't always good at telling you which format they want. C Octet String is null terminated while Octet String is not. All of the examples in the above referenced articles are Octet String. To specify C Octet String instead, use "CString" as the type instead of "String". (It doesn't apply to your configuration, but for people with similar questions who are searching this thread in the future, I'll also mention that there is an additional "HexString" type that NowSMS supports for parameters with multibyte binary values ... http://support.nowsms.com/discus/messages/1/24206.html) For routing an outbound SMS message via a specific route when submitting via HTTP, see: http://blog.nowsms.com/2008/07/routing-sms-messages-to-specifc-smsc.html If you have any questions after looking over the above links, please reply back. -- Des NowSMS Support |