Changing the ESM class which is set default as 0 for long messages

Changing the ESM class which is set default as 0 for long messages SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Changing the ESM class which is set default as 0 for long messages « Previous || Next »
Author Message
Aditya Chopra
New member
Username: Adifreaks86

Post Number: 1
Registered: 08-2020
Posted on Tuesday, August 18, 2020 - 04:09 pm:   

Changing the ESM class which is set default as 0 for long messages

I am trying to send a long message as multi-part but ESM class is going as 0x00 i.e. 0 instead of 0x40 i.e. 64.

How to set ESM class as 64 for multipart message >160 characters while 0 for short message <160 characters.

How can i override the esm class being sent as 0
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6168
Registered: 08-2008
Posted on Tuesday, August 18, 2020 - 07:10 pm:   

Hi,

esm_class 64, or bit mask 0x40 is not specific to long messages. It is used to indicate that user data header (UDH) is present in the message data, and is also known as the UDHI flag (UDH Indicator). When UDHI is set, it indicates that the start of the message data is in UDH format.

When you submit a long message via NowSMS, the UDH would be generated automatically, and in a default configuration, the UDHI (esm_class 64) would be set automatically.

There are two configuration options that would change this behavior:

1) “use TLV parameters for port numbers and segmentation” - When this is set, segmentation is encoded in TLV, and UDH is cleared. The UDHI flag is not set in esm_class because there is no UDH in the SMPP packet.

2.) “WDP adaptation” - When this is set, NowSMS recombines the long message and submits as a single message. No UDH involved. ‘’

Does this explain what you are seeing?


Des
NowSMS Support
Aditya Chopra
New member
Username: Adifreaks86

Post Number: 2
Registered: 08-2020
Posted on Wednesday, August 19, 2020 - 05:18 am:   

Thank you this solves my problem.

Now messages are going correctly with these settings.

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

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