Headers for long sms

Headers for long sms SearchSearch
Author Message
Antonis
New member
Username: Gowo2008

Post Number: 3
Registered: 04-2008
Posted on Thursday, January 22, 2009 - 07:26 am:   

Hi again,

Could you please explain how can i produce the headers for sending long sms. For example i have the follwing sms:

sms1.1 = "blablablablavlabla"
sms1.2 = "blablablablabla"

So when sending the sms using the ASCII character set i will use the method to send long sms like

smpp_send(sms1.1)
smpp_send(sms1.2)

How can i define the headers infront of each message so that the SMSC will understand that it will be proccesed as a single message and not two different ones!

Once again thank you for your valuable help!!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 380
Registered: 08-2008
Posted on Thursday, January 22, 2009 - 06:52 pm:   

Hi,

This is the product support forum for NowSMS. So I would ask in the future that if you have questions that do not pertain to NowSMS, please post them in one of the areas that are not marked "Product Support Only".

The short answer is that you need to set concatenation headers in the user data header (UDH).

The concatenation headers are defined in ETSI GSM 03.40. It basically looks like this:

050003xxyyzz

xx - reference number (match all parts)
yy - number of message parts
zz - sequence number (starts at 1)

--
Des
NowSMS Support
Salman
New member
Username: Salman_1214yahoocom

Post Number: 1
Registered: 03-2009
Posted on Thursday, March 12, 2009 - 12:08 pm:   

Hi
How can I send long sms using NowSMS web interface
I am able to send sms less than 160 chracters but can not send long messages
and in sms out log following message appears
2009-03-12 15:59:21,SAR-03004014285-96-2-1.req,127.0.0.1,03004014285,OK -- SMPP - 10.50.37.200:5005,Binary=1;UDH=00;Data=A8E8F41C949E83E8E539BDA1A0A2D373507A0EA29 7E7F486828A4ECF41E939885E9ED31B0A2A3A3D07A5E7207A794E6F28A8E8F41C949E83E8E539BDA 1A0A2D373507A0EA297E7F486828A4ECF41E939885E9ED31B0A2A3A3D07A5E7207A794E6F28A8E8F 41C949E83E8E539BDA1A0A2D373507A0EA297E7F486828A4ECF41E939885E9ED31B1454747A0E4AC F41F4F29CDE5050D1E939283D07D1CB733A
2009-03-12 15:59:21,SAR-03004014285-96-2-2.req,127.0.0.1,03004014285,OK -- SMPP - 10.50.37.200:5005
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 579
Registered: 08-2008
Posted on Thursday, March 12, 2009 - 01:09 pm:   

Hi,

That is normal encoding for a segmented long text message. It is difficult to read from the logs, but the message will be sent out correctly.

Note ... however, that there are different encoding expectations of different SMS service providers. NowSMS has a number of advanced settings to set the encoding that works with your provider.

The following article discusses long SMS, and explains the configuration options that you should try changing.

http://blog.nowsms.com/2007/06/long-sms-text-messages-and-160.html

If this doesn't answer your question, please reply back and I'll try to explain further.

--
Des
NowSMS Support
Salman
New member
Username: Salman_1214yahoocom

Post Number: 2
Registered: 03-2009
Posted on Friday, March 13, 2009 - 08:05 am:   

Hi

I have checked and unchecked the enable 7bit encoding for long messages but i am still unable to recieve any sms I can send long messages using my mobile as GSM modem but can not send when I connect over SMPP to ths SMSC
Salman
New member
Username: Salman_1214yahoocom

Post Number: 3
Registered: 03-2009
Posted on Friday, March 13, 2009 - 08:12 am:   

Hi

When I check the enable text messages with 7-bit packet encoding I recieve a garbage message

but when I uncheck it i can recieve messages properly

And for long messages in both casses I recieve nothing
no error in log
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 589
Registered: 08-2008
Posted on Friday, March 13, 2009 - 12:13 pm:   

Hi,

You may need to ask your service provider for guidance as to how to send long messages through their system.

However, before you do this, please try the settings again ... verifying that they are getting saved properly, and that the NowSMS service gets restarted in between your tests.

Trying with the "use 7-bit packed encoding for long messages" CHECKED and NOT CHECKED should be attempted.

Also, try using the parameter setting "Use TLV parameters for port numbers and segmentation", as some providers use this.

--
Des
NowSMS Support