TON and NPI default value

TON and NPI default value SearchSearch
Author Message
mohammed
Posted on Thursday, August 12, 2010 - 12:14 pm:   

I have now SMS ver 2006 and when I create SMPP connection the default value of TON and NPI not change
The GSM operators need it to be = 1 for both but when I do that not change and tell me that still reach them 0
So do you have update or something to fix this issue

Thank you
Alexandre
Frequent Contributor
Username: Alexd

Post Number: 105
Registered: 01-2008
Posted on Thursday, August 12, 2010 - 03:20 pm:   

Use new version :-)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2414
Registered: 08-2008
Posted on Thursday, August 12, 2010 - 05:02 pm:   

Hi,

Did you go into the "Advanced Settings" for the SMPP connection and set the "Source TON", "Source NPI", "Dest TON", and "Dest NPI" values to the desired values?

If you did not, NowSMS only uses a TON value of 1 when the phone number starts with a "+" to indicate an international phone number. (Hint: You can also configure a default sender address in the SMPP connection settings, make sure it starts with a "+".)

If you want to force the TON and NPI values without relying on this automatic detection, then you can do so in the "Advanced Settings" for the SMPP connection.

There is more discussion of TON and NPI settings here: http://blog.nowsms.com/2009/01/ton-and-npi-settings-for-smpp-and.html

--
Des
NowSMS Support
mohammed
New member
Username: Mta

Post Number: 2
Registered: 07-2006
Posted on Sunday, August 15, 2010 - 08:25 am:   

i go to Advanced Settings and i chae it from there but even that the GSM operator tell me that he still see that i am sending 0
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2437
Registered: 08-2008
Posted on Monday, August 16, 2010 - 10:36 pm:   

Exit NowSMS, and go back into the configuration to verify that the TON and NPI values you set are saved. (It can be confusing, but it is necessary to press OK twice, then Apply to save these settings.)

If the problem persists ...

Enable the SMSDEBUG.LOG (checkbox on the "Serial #" page).

Restart the NowSMS service.

Send another message.

The SMSDEBUG.LOG setting will cause NowSMS to generate an SMSDEBUG.LOG and SMPPDEBUG.LOG. E-mail these files plus SMSGW.INI to nowsms@nowsms.com with "Atttention: Des" in the subject line. I will look at these files to confirm which TON and NPI values are being sent, and if there is something else in the configuration that needs to be changed.

Please post a note here when you send those files as that will remind me to check the mailbox for those files.

--
Des
NowSMS Support
mohammed
New member
Username: Mta

Post Number: 3
Registered: 07-2006
Posted on Wednesday, September 08, 2010 - 02:55 pm:   

I doo all same but when I try to connect it tell me bind failed so the configuration it not save in log or in debug what do you suggest
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2489
Registered: 08-2008
Posted on Wednesday, September 08, 2010 - 09:50 pm:   

I am at a disadvantage answering your question, because I cannot see your log files or configuration details. I can only make educated guesses.

This is the first time that you are telling me that the bind is failing.

What exactly is the error message that you are seeing? An error that indicates that the bind is failing when you attempt a connection?

If that is what is happening, then this is referring to the "Bind TON" and "Bind NPI" values, which few providers actually use. (They generally use the per message TON and NPI settings that I mentioned earlier in this thread.)

There was a problem where NowSMS 2006 could not properly send a non-default "Bind TON" or "Bind NPI" value when defining a new connection. That problem was fixed beginning with mid-2008 versions.


--
Des
NowSMS Support
mohammed
New member
Username: Mta

Post Number: 4
Registered: 07-2006
Posted on Saturday, October 02, 2010 - 03:09 pm:   

hi again
i upgrade now SMS ot become 2010 and i diod same but same error still
error : bind failed ESME_RBINDFAIL
i used bind ton and npi =1
GSM oprator send me that
and i try it using other sms gatway and working fine

but i want it work in NOWSMS becuse it better

thank you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2544
Registered: 08-2008
Posted on Monday, October 04, 2010 - 09:56 pm:   

Hi,

It does appear that this problem has come back. It only affects the connection test that is performed when the SMSC is first defined to NowSMS.

Once the connection has been defined, the Bind TON and NPI values are sent as expected.

A problem occurs if you are using a provider that requires these settings. The connection test fails, because these parameters are not sent in the initial connection test, and the the SMSC can never get defined.

I've tested a work-around for this problem.

Before you press OK to save the new SMSC definition, manually edit the SMSGW.INI file. If there is already a section [SMPP] in this file, add the following settings beneath it:

BindTON=1
BindNPI=1

(If there is no [SMPP] section, add it on a blank line and add these settings below it.)

After you save SMSGW.INI, wait 10 seconds before pressing OK to test the connection.

A fix that does not require this work-around will be posted in the next 24 to 48 hours.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2549
Registered: 08-2008
Posted on Tuesday, October 05, 2010 - 06:02 pm:   

An update that addresses this problem of Bind TON and NPI not being sent in the connection test when initially defining a new connection has been addressed in the following update:

http://www.nowsms.com/download/nowsms20101004.zip

--
Des
NowSMS Support