SMPP

SMPP SearchSearch
Author Message
Steve
Unregistered guest
Posted on Wednesday, March 10, 2004 - 10:35 am:   


When connecting to a network operator through SMPP/TCP does nowsms use 2 sockets RECEIVE/TRANSMIT or just a transeiver or is it configurable?

Steve
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2052
Registered: 10-2002
Posted on Wednesday, March 10, 2004 - 01:33 pm:   

Hi Steve,

The default configuration is for NowSMS to use two sockets. It binds once as a transmitter, and once as a receiver.

Starting with v5.01 (the current download version), it is possible to configure NowSMS to use a single connection, binding as a "transceiver".

To configure NowSMS to bind as a "transceiver" currently requires that you manually edit the SMSGW.INI file, and under the [SMPP - ip.address:port] section, add ReceiveSingleConnection=Yes.

-bn
steve
Unregistered guest
Posted on Thursday, March 11, 2004 - 08:00 am:   

Thanks Bryce

I was wondering if ReceiveSingleConnection=Yes and any other SMPP related settings are documented and where i could get them.


Thanks

Steve
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2073
Registered: 10-2002
Posted on Thursday, March 11, 2004 - 05:57 pm:   

Steve,

That setting is currently only documented in the "readme.txt" file that accompanies the release.

Other SMPP related parameter settings that could be of interest but which are not settable via the user interface (this is probably not a complete list, but these are the ones I could quickly find information about):

TON/NPI Settings:

Additional parameters supported for setting TON and NPI values. The following parameters can now 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

Message Encoding Settings:

These settings can be defined in SMSGW.INI, under the section header that defines an SMPP connection:

The setting LongSMSAlt=Yes enables alternate encoding logic for submitting long text messages. If you are connecting to an SMPP based SMSC, and receive garbage messages when sending long text messages, enable this setting.

The setting GSMPack=Yes indicates that text messages need to be packed into 7-bit encoding for sending to the SMSC. (Known to be required for Vodafone Ireland SMSC, and Interwave SMSCs.)

-bn