TON & NPI Settings

TON & NPI Settings SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 21, 2007 » TON & NPI Settings « Previous || Next »
Author Message
DJ Khan
New member
Username: Dkhanmam

Post Number: 7
Registered: 01-2007
Posted on Wednesday, February 07, 2007 - 10:35 pm:   

Hi:

I have an SMPP application bound to nowsms over SMPP 3.4

In my current setting, I do not have SMPP uplink to my operator. I am using MultiTech GSM modem to send & receive SMS messages.

I need to change terminating NPI from ISDN E.164/E.163 to private.
Basically, when subscriber sends SMS to my modem, the SMPP application where the message is being routed to, is seeing international format. I would like to change it to private.

I followed a few threads about modifying SMSGW.INI:

...
[SMPP]
SourceNPI=9
SourceTON=1
DestNPI=9
DestTON=1
...

But it's not working - I am still seeing international format.
What are the possible values for these settings ?

Can you please help ?


Another related question:
In my current setup, is it possible to route incoming SMS from single GSM modem to more than one nowsms SMPP account ? In the GUI there's no way to select more than 1 account.

Thank you,
DJ
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 170
Registered: 12-2006
Posted on Wednesday, February 07, 2007 - 11:02 pm:   

Hi DJ,

Those settings that you describe should change the TON and NPI values that your SMPP application sees. But it won't apply any other conversions to the source or destination numbers, it only sets the values for the TON and NPI parameters.

\quote(In my current setup, is it possible to route incoming SMS from single GSM modem to more than one nowsms SMPP account ? In the GUI there's no way to select more than 1 account.}

I assume that you mean that you want all received messages to get routed to both accounts. There is no facility for doing this.

The only idea that I have is somewhat confusing and difficult.

You could have the received messages routed to a 2-way command. That 2-way command would then need to resubmit the message back to NowSMS ... twice ... once for each account that should get a copy of the message. Because you need to submit the message twice, you can't use the redirect technique from the command, you need to issue new HTTP connections from your script to NowSMS. When you submit back to NowSMS via HTTP, you can use the &LocalUser=username parameter in your URL request to tell NowSMS to route the message into a queue for a particular application. There is some more explanation about this parameter at the following link http://support.nowsms.com/discus/messages/1/17827.html

But I will say in advance, this is not an easy solution.

--
Malcolm
Now Wireless Support
DJ Khan
New member
Username: Dkhanmam

Post Number: 8
Registered: 01-2007
Posted on Saturday, February 10, 2007 - 01:40 pm:   

After I restarted SMSC service correct TON and NPI settings took effect.

Thank you for suggestions about re-routing - I will consider those.

DJ

Login Login / Register Logout Logout Search Last 30 Days Topics Topics