Re: UDH for sending Logo

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <p05111707b9125a42dd32@[193.53.0.55]>
>Hi Andreas,
>
>As your guide about using PHP script at smsrelay.com for sending
>logoand ringtone, I'd success in send ding some kind of SM such
>Ringtone, CLI with UDH data that initialized in the script.
>However, I could not to send logo with UHD initialized in the script.

What do you get on the phone? No message?


>In the script, UDH for Logos is:
>
>     $udh = "\x06\x05\x04\x15\x82\x15\x82";

Try maybe "\x06\x05\x04\x15\x82\x00\x00";
however it shouldn't really matter.


>
>     $data = $data . chr( $mcc10
>     $data = $data . chr(     15
>     $data = $data . chr( $mnc1 *

is this just a copy & paste error or why is there no ending on those lines?

>Whith other SMPP client,I've captured PDU of logo message (devide to
>tow SMs) as:
>
>The first part:
>
>UDH:   "%0b%05%04%15%82%00%00%00%03%36%02%01"
>Data:
>"0%54%f2%10%0a%00%48%0e%01%46%20%00%00%00%00%00%00%00%ef%70%00%00%00%00%00%00%00%ff%f7%8f%71%bf%7c%f1%c7%3c%ff%f3%06%31%19%32%cb%6d%98%80%13%06%31%18%32%cb%6d%98%9a%93%06%31%18%32%cb%6d%98%8b%93%06%1a%18%32%cb%6d%98%9b%93%06%1a%1e%3c%f3%6d%98%5f%a3%06%1a%1c%34%c3%6d%98%5f%23%06%0c%18%34%c3%6d%98%26%43%06%0c%18%34%c3%6d%98%2a%43%26%0c%19%32%c3%6d%99%10%87%ef%0c%3f%73%e1%c7%3f%0f%00"

As you can see here, the UDH is having port 1582, concatenation into two parts
The Data starts with "0" which is %30 (version) then your %54%F2%10 
is your encoded mnc and mcc operator codes and %0a is a linefeed. The 
rest is you picture.


>And the second part:
>UDH:  "%0b%05%04%15%82%00%00%00%03%36%02%02"
>Data: "%00%00%00%00%00%00%00"
>
>Then, when I tried to send 2 sms using url of the script with UDH and
>Text (data) as above, the mobile had received Logos.

Not surprising.

>Why that ? What UDH is suitatble for Kannel ? And Is there any
>parameter of in the Kannel's config file that effect to concatenation ?

Yes. you have to enable the feature that kannel can automatically 
split the message. max-messages = 10 should do the trick.


-- 

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.