Try this for multipart SMS

Example is for a 2 parts picture
--------------------------------
udh=%0B%05%04%15%8A%00%00%00%03%02%02%01  <-- the first SMS udh
udh=%0B%05%04%15%8A%00%00%00%03%02%02%02  <-- the second SMS udh

Example is for a 3 parts picture
--------------------------------
udh=%0B%05%04%15%8A%00%00%00%03%02%03%01  <-- the first SMS udh
udh=%0B%05%04%15%8A%00%00%00%03%02%03%02  <-- the second SMS udh
udh=%0B%05%04%15%8A%00%00%00%03%02%03%03  <-- the third SMS udh

Hope this helps.

-----Original Message-----
From: Tan Ai Leen [mailto:[EMAIL PROTECTED] 
Sent: 08 April 2004 14:21
To: Pedro B.
Cc: [EMAIL PROTECTED]
Subject: Re: Picture Message Header

Hi Pedro,

Thanks for replying.

There are 2 fields that are relevant to sending of pict messages, am I 
correct?
The udh and the text. The picture message is working for other splitting 
method. I wrote a script that splits the pict hex. The only difference 
between doing the splitting and using kannel is the udh, which is 0B05 
instead of 0605.... But when sending a 0B05 udh, I got udh malformed 
reply from kannel.

The text which is the hex data for pic message and the udh should both 
be urlencoded? I believe so. The ringtone and log works this work. Is 
there any thing special  to set in the config files?

Regards,
Ai Leen
Pedro B. wrote:

> This udh looks perfect to me, its identical to the one i use with 
> success to send pict messages.
> Seems to me your problem is not in the udh itself, but on some other 
> field.
>
>
> Pedro Borracha [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> www.telelinksms.pt <http://www.telelinksms.pt>
>
>
>
> Tan Ai Leen wrote:
>
>> Hi,
>>
>> I just started using Kannel and needed some help with sending picture 
>> message. I look throught the mail archive and found this header to use.
>> //$udh = '%06%05%04%15%8A%00%00';
>> Try a number of variations liek 0B05... but can't get any thing to work.
>> But the phone is unable to display the picture message.
>> Can anyone send me a valid udh that works for picture messages for 
>> nokia handset? Or suggest a working method?
>>
>> Thanks,
>> Ai Leen
>>
>>
>
>
>


Reply via email to