Change source, dest TON and NPI when submitting sms using HTTP URL

Change source, dest TON and NPI when submitting sms using HTTP URL SearchSearch
Author Message
KKW
New member
Username: Kkw

Post Number: 3
Registered: 01-2009
Posted on Tuesday, February 03, 2009 - 09:04 am:   

Hi,

when submitting sms using HTTP URL, any parameter to change the source, dest TON and NPI ?

thx
kk
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 413
Registered: 08-2008
Posted on Tuesday, February 03, 2009 - 05:57 pm:   

Hi kk,

No, there is not.

If you use the default TON & NPI settings in NowSMS (instead of configuring them explicitly), then NowSMS will adapt the TON & NPI based upon the source and destination addresses on a per message basis.

That default behaviour is described here:

http://blog.nowsms.com/2009/01/ton-and-npi-settings-for-smpp-and.html

Perhaps we should look into adding some per message URL override parameters in the future. I would be curious to hear what the specific requirements for changing these values you have in your environment.

--
Des
NowSMS Support
KKW
New member
Username: Kkw

Post Number: 4
Registered: 01-2009
Posted on Wednesday, February 11, 2009 - 11:09 am:   

Des,

thx for yr reply, this specific requirments is requested by one of mobile operator we have connected.

kk
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 455
Registered: 08-2008
Posted on Wednesday, February 11, 2009 - 04:40 pm:   

Hi kk,

But can you give me an example?

They may have a requirement for your using specific TON and NPI values ... but I'd like to see an example of what values they specifically want you to use ... in order to confirm that the standard NowSMS is not enough.

If I can get a good example, then this can help me convince engineering that an update is needed to address this issue.

--
Des
NowSMS Support
KKW
New member
Username: Kkw

Post Number: 6
Registered: 01-2009
Posted on Thursday, February 12, 2009 - 04:56 am:   

Hi Des,

operator side require to using different TON and NPI values for local and international destination.

kk
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 459
Registered: 08-2008
Posted on Thursday, February 12, 2009 - 02:37 pm:   

Hi kk,

That is normal.

The default settings handle that.

When submitting to NowSMS, if the phone number starts with "+", then NowSMS will set the TON and NPI for international (TON=1, NPI=1).

If there is no "+", then NowSMS will set TON=0, NPI=1. (Technically, 0 is unknown, but this is what most operators want ... or at least will support for national numbers.)

--
Des
NowSMS Support