SMPP submit multi failed

From Kolmisoft Wiki
Jump to navigationJump to search

This is the error code that is coming back from the SMS service provider.

Unfortunately, this type of error code doesn't give us much to go on. Usually the easiest thing to do is ask your service provider why they are rejecting the messages that you are submitting.

Usually it is one of the following issues:

1.) They have your account configured so that you can only submit messages from a certain sender address (called source address in the SMPP environment).

For example, you might have to submit messages only as being from a particular phone number, or from a particular text string.

In this case, the "Sender Address" field setting when you define the SMPP connection in NowSMS should be set to the appropriate value. And you would probably also want to uncheck "Allow Sender Address Override" so that this particular sender address is always used by NowSMS.

2.) The next issue has to do with TON and NPI settings. These are parameters specific to SMPP environments ... and some providers are very picky about these settings.

By default, NowSMS uses TON=1 if your are sending to a phone number that starts with a "+" (indicating it is in international format). And NowSMS uses TON=0 in all other conditions.

It is possible to explicitly set TON and NPI settings as follows (either manually edit the SMSGW.INI file, or in NowSMS v5.5, there is an "Advanced Settings" button in the SMPP server configuration:

The following parameters can be specified in SMSGW.INI, under either a section header titled [SMPP] (to apply for all SMPP SMSC connections), or under the individual section header for a particular SMPP SMSC connection (e.g., [SMPP - ip.address:port] section): SourceTON= SourceNPI= DestTON= DestNPI= BindTON= BindNPI=

If these values are not set, the default behaviour is as follows: SourceTON = 1 when the sender address for a submitted message is in international format (first character is "+"), SourceTON = 0 when the sender address is not in international format (first character is not "+"), SourceTON = 5 when the sender address is alphanumeric. SourceNPI = 0 when the sender address is blank or alphanumeric format. SourceNPI = 1 in all other conditions. DestTON = 1 when the recipient address for a message is in international format (first character is "+"), DestTON = 0 when the recipient address is not in international format (first character is not "+"). DestNPI = 1 BindTON = 0 BindNPI = 0

=

So the big question is ... what settings did your service provider ask you to use.

Source: http://support.nowsms.com/discus/messages/1/4309.html