Submit_sm or submit_multi failed

Submit_sm or submit_multi failed SearchSearch
Author Message
Rafael Vasquez
New member
Username: Rvasquez

Post Number: 6
Registered: 04-2004
Posted on Tuesday, May 11, 2004 - 07:57 pm:   

Hello,

I have a problem with the smsnow gateway, the error message it: submit_sm or submit_multi failed
The aplication send the mms but I canot to recieve.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2574
Registered: 10-2002
Posted on Wednesday, May 12, 2004 - 07:49 pm:   

Hi Rafael,

It sounds like you are using a connection to an SMPP-based service provider.

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.

If the above makes no sense to you, what settings did your SMPP service provider tell you to use? If you give us all of those settings, minus the username and password, then we should be able to tell you how to configure the connection.

-bn