Ton & NPI settings

Ton & NPI settings SearchSearch
Author Message
Chris
New member
Username: Chrisc

Post Number: 3
Registered: 12-2008
Posted on Wednesday, December 10, 2008 - 11:21 am:   

Hi

Is there any way that we can pass the TON and NPI settings as parameters with the normal HTTP request to the NowSms gateway?

We have different TON and NPI settings for each bind for one of our SMSC's and they have also given us a limit to the amount of binds we can have.

Depending on the type of message involved (int number, shortcode, alphanumeric)we want to be able to provide NowSMS beforehand what the settings are before the message is sent. This way we can use the full potential of all the given binds without hampering perfomance.

Is there any way to do this?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 309
Registered: 08-2008
Posted on Wednesday, December 10, 2008 - 04:05 pm:   

Hi Chris,

There is no support for specifying the TON and NPI on a per message basis when submiting the message.

But the automatic (default) setting might do what you want.

If the sender is alpha, TON is set to 5 and NPI to 0.

If the sender is a short code, TON is set to 3, and NPI is set to 0.

If the sender starts with a "+", TON is set to 1, and NPI is set to 1.

Otherwise, TON is set to 0 and NPI is set to 1 (unless the sender is blank).

By default, a number is considered to be a short code if the length of the number is 5 digts or less. You can change this length setting by editing SMSGW.INI, and under the [SMSGW] header specifying MaxSMPPShortCodeLen=#, where # is the max length of a short code.

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 4
Registered: 12-2008
Posted on Thursday, December 11, 2008 - 11:35 am:   

Hi Des

We do understand the default values that is already set. However, the SMSC in question has different settings for all possible scenarios.

We also know that we can setup seperate binds to accomodate all the scenarios, but this will have a huge impact on our message send performance as certain messages can only go to a specific bind.

What we'd like to achieve, is for every bind that is available to us, we can send any sender id (shortcode, +, alpha) to any bind, and the bind will use the correct TON and NPI settings in question to send the message.

Is this at all possible?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 317
Registered: 08-2008
Posted on Thursday, December 11, 2008 - 03:15 pm:   

Hi Chris,

There are no settings to allow this. But if we better understand what values you need to set, perhaps we can come up with an alternative.

Can you explain what settings are needed in your setup?

--
Des
NowSMS Support