How can I send SMS with userdefined Teleservice ID?

How can I send SMS with userdefined Teleservice ID? SearchSearch
Author Message
Stone
New member
Username: Stone

Post Number: 9
Registered: 01-2010
Posted on Monday, March 21, 2011 - 08:30 pm:   

Hi I am trying to send a SMS to the device with customized teleservice ID? How can I do that?
Is there a setting I can add in the config file for send SMS or send Binary?
Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3029
Registered: 08-2008
Posted on Tuesday, March 22, 2011 - 12:49 am:   

Hi Stone,

Teleservice ID is a CDMA specific concept. Usually the only way you can set this is via an SMPP connection, where the SMPP server maps the SMPP service_type value to a CDMA telesevice ID. The only issue is that service_type is a text string value and teleservice ID is numeric, so the SMSC usually has a table of value mappings in a CDMA environment.

From a NowSMS perspective, you can set a default service_type value by editing SMSGW.INI and adding ServiceType=xxx under the SMSC specific section of the file (e.g., [SMPP - server:port]). You can override the default by including &ServiceType=xxx in the URL request.

You need to check with your SMSC provider to verify the values that they support. It is possible that they might use TLV parameters as an alternate approach, but that is implementation specific. If you tell us the TLV parameter format they use for this, we can explain how to configure.

--
Des
NowSMS Support
Stone
New member
Username: Stone

Post Number: 10
Registered: 01-2010
Posted on Wednesday, March 23, 2011 - 11:51 pm:   

Thanks. The SMSC is actually an Agilent 8960. Is there a way to add this Service Type to Teleservice ID mapping in the Agilent?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3036
Registered: 08-2008
Posted on Thursday, March 24, 2011 - 01:40 am:   

You'd have to check the Agilent docs to see what HTTP parms they accept.

From a NowSMS perspective, service type is probably the best parameter to use, and map that to their teleservice parameter. See our HTTP docs (http://www.nowsms.com/doc/configuring-smsc-connections/http-smsc), and include @@ServiceType@@ in the URL template where appropriate.

To then be able to specify this parameter, edit the HTML form (Program Files\NowSMS\HTML directory) and add an input field for a parameter named ServiceType.

--
Des
NowSMS Support