<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: [SMPP] Sending long SMS through SMPP</title>
	<atom:link href="http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/</link>
	<description>From Programmer, For Programmers</description>
	<lastBuildDate>Mon, 09 Jan 2012 04:02:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: MONICA</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-50802</link>
		<dc:creator>MONICA</dc:creator>
		<pubDate>Tue, 08 Nov 2011 14:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-50802</guid>
		<description>Hi,

Can you help me please, i&#039;m facing the same problem.
Did you find the cause of this exception.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can you help me please, i&#8217;m facing the same problem.<br />
Did you find the cause of this exception.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-49432</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-49432</guid>
		<description>Also find the Log details :

 main: Session.send(Request) trying to create pdu from unprocessed buffer (1)
07:28:57       main: Session.send(Request) PDU.setData() parsing header 00000019800000090000000000000001 (5)
07:28:57       main: Session.send(Request) PDU.setData() parsing body 62726d000210000134 (5)
07:28:57       main: Session.send(Request) have 5 bytes left. (5)
07:28:57       main: Session.send(Request) received complete pdu(bindresp: (pdu: 25 80000009 0 1) brm 52)  (1)
07:28:57       main: Session.send(Request) there is 0 bytes left in unprocessed buffer (1)
07:28:57       main: Session.send(Request) ReceiverBase.receivePDUFromConnection finished (3)
07:28:57       main: Session.send(Request) Got pdu (bindresp: (pdu: 25 80000009 0 1) brm 52)  (1)
07:28:57       main: Session.send(Request) Got response(?) pdu (bindresp: (pdu: 25 80000009 0 1) brm 52)  (4)
07:28:57       main: Session.send(Request) checking response if it&#039;s what we expected. (4)
07:28:57       main: Session.send(Request) exited</description>
		<content:encoded><![CDATA[<p>Also find the Log details :</p>
<p> main: Session.send(Request) trying to create pdu from unprocessed buffer (1)<br />
07:28:57       main: Session.send(Request) PDU.setData() parsing header 00000019800000090000000000000001 (5)<br />
07:28:57       main: Session.send(Request) PDU.setData() parsing body 62726d000210000134 (5)<br />
07:28:57       main: Session.send(Request) have 5 bytes left. (5)<br />
07:28:57       main: Session.send(Request) received complete pdu(bindresp: (pdu: 25 80000009 0 1) brm 52)  (1)<br />
07:28:57       main: Session.send(Request) there is 0 bytes left in unprocessed buffer (1)<br />
07:28:57       main: Session.send(Request) ReceiverBase.receivePDUFromConnection finished (3)<br />
07:28:57       main: Session.send(Request) Got pdu (bindresp: (pdu: 25 80000009 0 1) brm 52)  (1)<br />
07:28:57       main: Session.send(Request) Got response(?) pdu (bindresp: (pdu: 25 80000009 0 1) brm 52)  (4)<br />
07:28:57       main: Session.send(Request) checking response if it&#8217;s what we expected. (4)<br />
07:28:57       main: Session.send(Request) exited</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-49430</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 24 Oct 2011 13:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-49430</guid>
		<description>Hi,

I have used Logica SMPP code with a client page. I am getting an error :
Exception: com.logica.smpp.pdu.InvalidPDUException
PDU debug string: (submit_resp: (pdu: 16 80000004 439 2)  ) 
Underlying exception: com.logica.smpp.util.NotEnoughDataInByteBufferException: Not enough data in byte buffer. Expected 1, available: 0.

Did anyone came across it. Or anyone with a solution . Pls Suggest !!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have used Logica SMPP code with a client page. I am getting an error :<br />
Exception: com.logica.smpp.pdu.InvalidPDUException<br />
PDU debug string: (submit_resp: (pdu: 16 80000004 439 2)  )<br />
Underlying exception: com.logica.smpp.util.NotEnoughDataInByteBufferException: Not enough data in byte buffer. Expected 1, available: 0.</p>
<p>Did anyone came across it. Or anyone with a solution . Pls Suggest !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-46573</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 22 Sep 2011 07:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-46573</guid>
		<description>I have 2 messages:
- &quot;This is a message 001&quot; with the PDU in normal format: 0000004B0000000400000000000000020001013139303035373135393200010130313233363734353737380000000300000000000015546869732069732061206D65737361676520303031
- &quot;This is a message 002&quot; with the PDU in normal format: 0000004B0000000400000000000000020001013139303035373135393200010130313233363734353737380000000300000000000015546869732069732061206D65737361676520303032

---&gt; How to add the sar_msg_ref_num,sar_total_segments,sar_segment_seqnum into these PDUs?</description>
		<content:encoded><![CDATA[<p>I have 2 messages:<br />
- &#8220;This is a message 001&#8243; with the PDU in normal format: 0000004B0000000400000000000000020001013139303035373135393200010130313233363734353737380000000300000000000015546869732069732061206D65737361676520303031<br />
- &#8220;This is a message 002&#8243; with the PDU in normal format: 0000004B0000000400000000000000020001013139303035373135393200010130313233363734353737380000000300000000000015546869732069732061206D65737361676520303032</p>
<p>&#8212;&gt; How to add the sar_msg_ref_num,sar_total_segments,sar_segment_seqnum into these PDUs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-46572</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 22 Sep 2011 07:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-46572</guid>
		<description>Hi,
How to add the sar_msg_ref_num into PDU?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
How to add the sar_msg_ref_num into PDU?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ho Viet Hong</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-36304</link>
		<dc:creator>Ho Viet Hong</dc:creator>
		<pubDate>Mon, 30 May 2011 03:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-36304</guid>
		<description>You can show you how long the SMS through SMPP using C #</description>
		<content:encoded><![CDATA[<p>You can show you how long the SMS through SMPP using C #</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nihanth</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-30303</link>
		<dc:creator>Nihanth</dc:creator>
		<pubDate>Fri, 25 Mar 2011 06:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-30303</guid>
		<description>Hi,
 I have some problems regarding sms sending. Can some one please give me an idea on this regards.

 When sending encoding the message for sending concatenated sms in GSM7-bit encoding, do we have to do the packing of bytes?? 

 In the SMPP specification it is said that data_coding value 0 means SMSC default alphabet. Does this refers to GSM7, GSM7packed or does it depends on the SMSC??

Thanks and regards,
Nihanth.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
 I have some problems regarding sms sending. Can some one please give me an idea on this regards.</p>
<p> When sending encoding the message for sending concatenated sms in GSM7-bit encoding, do we have to do the packing of bytes?? </p>
<p> In the SMPP specification it is said that data_coding value 0 means SMSC default alphabet. Does this refers to GSM7, GSM7packed or does it depends on the SMSC??</p>
<p>Thanks and regards,<br />
Nihanth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dharmendra Singh</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-29226</link>
		<dc:creator>Dharmendra Singh</dc:creator>
		<pubDate>Wed, 09 Mar 2011 09:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-29226</guid>
		<description>Hi,

Can anyone send the sample java code to send Long messages using Logica SMPP API&#039;s version 1.3.

Thanks in advance.

Dharmendra Singh</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can anyone send the sample java code to send Long messages using Logica SMPP API&#8217;s version 1.3.</p>
<p>Thanks in advance.</p>
<p>Dharmendra Singh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamine OUADJAOUT</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-28681</link>
		<dc:creator>Lamine OUADJAOUT</dc:creator>
		<pubDate>Tue, 01 Mar 2011 19:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-28681</guid>
		<description>for long unicode UCS2 SMS I tested with logica today it&#039;s working :D

this is the code:

Message =&quot;لحمدُ لله ربِّ العالمين، والصلاةُ والسلامُ على مَنْ أرسله اللهُ رحمةً للعالمين، وعلى آله وصَحْبِهِ وإخوانِه إلى يوم الدِّين&quot;;
                                  String[] splittedMsg = Main.SplitByWidth(Message, 63);

                                  int totalSegments = splittedMsg.length;

                                  //iteerating on splittedMsg array. Only Sequence Number and short message text will change each time
                                  for (int i = 0; i &lt; totalSegments; i++) {
                                    SubmitSM msg = new  SubmitSM();
                                    msg.setSourceAddr(SourceAddr);
                                    msg.setEsmClass((byte)Data.SM_UDH_GSM);  //Set UDHI Flag Data.SM_UDH_GSM=0x40
                                    msg.setDataCoding((byte) 0x08);
                                    ByteBuffer ed = new ByteBuffer();
                                    ed.appendByte((byte) 6); // UDH Length
                                    ed.appendByte((byte) 0x08); // IE Identifier
                                    ed.appendByte((byte) 4); // IE Data Length
                                    ed.appendByte((byte) 00) ; //Reference Number 1st Octet
                                    ed.appendByte((byte) 00) ; //Reference Number 2nd Octet
                                    ed.appendByte((byte) totalSegments) ; //Number of pieces
                                    ed.appendByte((byte) (i+1)) ; //Sequence number
                                    //This encoding comes in Logica Open SMPP. Refer to its docs for more detail
                                    ed.appendString(splittedMsg[i], Data.ENC_UTF16_BE);
                                    msg.setShortMessageData(ed);
                                    System.out.println(splittedMsg[i]);
                                    DestAddr.setAddress(&quot;213661133673&quot;);// 213661686742 0661686746 0661698177 0661686742 0661502966
                                    msg.setDestAddr(DestAddr);
                                    resp = session.submit(msg);

                            }</description>
		<content:encoded><![CDATA[<p>for long unicode UCS2 SMS I tested with logica today it&#8217;s working <img src='http://www.ashishpaliwal.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>this is the code:</p>
<p>Message =&#8221;لحمدُ لله ربِّ العالمين، والصلاةُ والسلامُ على مَنْ أرسله اللهُ رحمةً للعالمين، وعلى آله وصَحْبِهِ وإخوانِه إلى يوم الدِّين&#8221;;<br />
                                  String[] splittedMsg = Main.SplitByWidth(Message, 63);</p>
<p>                                  int totalSegments = splittedMsg.length;</p>
<p>                                  //iteerating on splittedMsg array. Only Sequence Number and short message text will change each time<br />
                                  for (int i = 0; i &lt; totalSegments; i++) {<br />
                                    SubmitSM msg = new  SubmitSM();<br />
                                    msg.setSourceAddr(SourceAddr);<br />
                                    msg.setEsmClass((byte)Data.SM_UDH_GSM);  //Set UDHI Flag Data.SM_UDH_GSM=0&#215;40<br />
                                    msg.setDataCoding((byte) 0&#215;08);<br />
                                    ByteBuffer ed = new ByteBuffer();<br />
                                    ed.appendByte((byte) 6); // UDH Length<br />
                                    ed.appendByte((byte) 0&#215;08); // IE Identifier<br />
                                    ed.appendByte((byte) 4); // IE Data Length<br />
                                    ed.appendByte((byte) 00) ; //Reference Number 1st Octet<br />
                                    ed.appendByte((byte) 00) ; //Reference Number 2nd Octet<br />
                                    ed.appendByte((byte) totalSegments) ; //Number of pieces<br />
                                    ed.appendByte((byte) (i+1)) ; //Sequence number<br />
                                    //This encoding comes in Logica Open SMPP. Refer to its docs for more detail<br />
                                    ed.appendString(splittedMsg[i], Data.ENC_UTF16_BE);<br />
                                    msg.setShortMessageData(ed);<br />
                                    System.out.println(splittedMsg[i]);<br />
                                    DestAddr.setAddress(&quot;213661133673&quot;);// 213661686742 0661686746 0661698177 0661686742 0661502966<br />
                                    msg.setDestAddr(DestAddr);<br />
                                    resp = session.submit(msg);</p>
<p>                            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rikaelrick</title>
		<link>http://www.ashishpaliwal.com/blog/2009/01/smpp-sending-long-sms-through-smpp/comment-page-1/#comment-26695</link>
		<dc:creator>Rikaelrick</dc:creator>
		<pubDate>Fri, 28 Jan 2011 14:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=243#comment-26695</guid>
		<description>Hello, i have a question. 

What is the library (and version of it) you use in this example? It looks like Java SMPP Library by Logica, but in version that I found (The Java SMPP Library version 1.3) I dont see the method setShortMessageData( ByteBuffer byteBuffer ) in class SubmitSM.

Did you add it to the library by yourself? 
If not, can you put correct link to the library you use?</description>
		<content:encoded><![CDATA[<p>Hello, i have a question. </p>
<p>What is the library (and version of it) you use in this example? It looks like Java SMPP Library by Logica, but in version that I found (The Java SMPP Library version 1.3) I dont see the method setShortMessageData( ByteBuffer byteBuffer ) in class SubmitSM.</p>
<p>Did you add it to the library by yourself?<br />
If not, can you put correct link to the library you use?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

