What values to set for NPI and Ton numbers?

What values to set for NPI and Ton numbers? SearchSearch
Author Message
Deepak Angeswar
New member
Username: Angeshwar

Post Number: 9
Registered: 09-2006
Posted on Friday, November 03, 2006 - 03:24 pm:   

hello,

could someone clearly explain what is the real purpose of npi and ton parameters in SMPP protocol?

i am receiving SMS from a GSM modem and i need to serialize/store the SMS in a SMPP server.

i am able to extract the following data from the SMS,

1) actual message (8-bit binary)
2) source address
3) destination address

And now i am trying to construct an instance of DeliverSM

How/what values will I need to set for ton/npi parameters?

Its mentioned in the SMPP protocol specification-
The addr_ton, addr_npi and addr_range parameters may be used by the ESME to provide an identification of the SME address(es) that
the ESME serves.

what values do i set her?