Re: concatenated msg prob

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <p05101404b8c06b8e110e@[200.226.144.55]>
>hi,
>
>I am trying to send an operator logo (3 concatenated msg) via the 
>sendsms?user=..... url for SMPP v3.3........
>
>I have tried sending the binary (with udh and text) without 
>splitting as well as after splitting it into three parts. Both the 
>times i have received jus the one third of the logo on my mobile... 
>somehow the 2nd and 3rd message doesnt get merged with the first.... 
>is this a bug in kannel fot smpp 3.3 ?
>
>Case I : Sending the whole msg to the kannel (assuming that kannel 
>will split by itself)
>
><http://127.0.0.1:13013/cgi-bin/sendsms?user=test&pass=test&to=9198450XXXXX&dcs=%f5>http://127.0.0.1:13013/cgi-bin/sendsms?user=test&pass=test&to=9198450XXXXX&dcs=%f5
>
>&udh=%0B%05%04%15%8A%00%00%00%03%02%01%01
>
>&text=%30%00%00%02%4C%61%02%01%00%00%48%1C%01%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FE%FF%FF%FF%FC%7F%FF%FF%7F%FF%FF%DF%FF%EE%3F%FB%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FE%3F%7F%FF%FF%FF%FF%FF%FF%FC%7B%FF%FF%FF%BF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%CC%7F%FF%FF%DF%FF%F1%C7%FF%B5%7F%FF%FF%FF%FF%F4%D3%FF%79%7F%FF%FF%FF%FF%F6%DB%FE%FD%3E%FF%FF%FF%F8%E6%DB%FD%FF%5D%4F%FF%FF%FA%4E%D9%FB%FF%5B%AF%FF%FF%FB%5E%9D%F7%FF%D7%EF%FF%FF%FB%4E%3D%EF%FF%CF%EF%FF%FF%FB%2F%3D%DD%75%FF%F7%FF%FF%F3%AE%39%BD%75%FD%7B%FF%FF%F7%A4%93%BF%FF%FF%FD%FF%FF%F3%B5%D7%BD%75%FD%7E%FF%FF%F9%35%D7%BD%75%FD%7F%00%00%01%74%17%BF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF
>


your UDH is wrong because it contains a splitting header (%03%02%01%01).
set it to %06%05%04%15%8A%15%8A and it probably will work.


>Case II : Sending the msg into three concatenated msg with 
>apporpriate UDH to the kannel
>
>
>&udh=%0B%05%04%15%8A%00%00%00%03%02%01%01
>
>&text=%30%00%00%02%4C%61%02%01%00%00%48%1C%01%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FE%FF%FF%FF%FC%7F%FF%FF%7F%FF%FF%DF%FF%EE%3F%FB%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FF%1F%FF%FF%FF%FF%FF%FF%FF%FE%3F%7F%FF%FF%FF%FF%FF%FF%FC%7B%FF%FF%FF%BF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%CC%7F%FF%FF%DF%FF%F1%C7%FF%B5
>
>
>
>&udh=%0B%05%04%15%8A%00%00%00%03%02%03%02
>
>&text=%7F%FF%FF%FF%FF%F4%D3%FF%79%7F%FF%FF%FF%FF%F6%DB%FE%FD%3E%FF%FF%FF%F8%E6%DB%FD%FF%5D%4F%FF%FF%FA%4E%D9%FB%FF%5B%AF%FF%FF%FB%5E%9D%F7%FF%D7%EF%FF%FF%FB%4E%3D%EF%FF%CF%EF%FF%FF%FB%2F%3D%DD%75%FF%F7%FF%FF%F3%AE%39%BD%75%FD%7B%FF%FF%F7%A4%93%BF%FF%FF%FD%FF%FF%F3%B5%D7%BD%75%FD%7E%FF%FF%F9%35%D7%BD%75%FD%7F%00%00%01%74%17%BF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF
>
>
>
>&udh=%0B%05%04%15%8A%00%00%00%03%02%03%03
>
>&text=%FF%FF%FF%FF%FF%FF%FF%FF%FF
>
>

that should work but watch out for the sizes!


-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [email protected]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.